Token Info
GET {{baseUrl}}/v3/connect/tokeninfo?id_token={{id_token}}&access_token={{bearerToken}}
Get info about a specific token based on the identifier you include. Use either the ID Token or Access Token.
Note: Because Nylas uses the schema outlined in RFC 9068 to ensure that it is compatible with all OAuth libraries in all languages, the format for this endpoint is different from the other OAuth endpoints.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
id_token | string | ID token | |
access_token | string | Access token |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"request_id":"\u003cstring\u003e","data":{"iss":"\u003cstring\u003e","aud":"\u003cstring\u003e","sub":"\u003cstring\u003e","email":"\u003cstring\u003e","iat":"\u003cinteger\u003e","exp":"\u003cinteger\u003e"}}