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

KeyDatatypeRequiredDescription
id_tokenstringID token
access_tokenstringAccess token

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

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"}}