Prove the signed-in person's email with their ID token
Synq's access tokens for this API carry no email. Right after sign-in the dashboard sends the ID token Synq gave it, for the same person and to one of the dashboard's clients; its verified email is recorded on the account, which an invite needs.
/v1/me/id-tokenSynq's access tokens for this API carry no email. Right after sign-in the dashboard sends the ID token Synq gave it, for the same person and to one of the dashboard's clients; its verified email is recorded on the account, which an invite needs.
Authorization
synq A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/me/id-token" \ -H "Content-Type: application/json" \ -d '{ "idToken": "string" }'{ "account": { "id": "account_01j3sa8pvcfp79z85hrb9y9xd6", "email": "[email protected]", "emailVerified": true, "displayName": "Acme" }}