Skip to content
Skip to main content
GET
https://api.us.nylas.com/v3/connect/tokeninfo

OAuth Token Info

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.

ACCESS TOKENNYLAS API KEY

Parameters

Query parameters

id_tokenstring

ID token

access_tokenstring

Access token

Responses

Returns token info. If you pass the token in the Authorization header instead of a query parameter, Nylas returns the token info object directly, without the request_id and data wrapper.

request_idstring

ID of the request

Example: "5967ca40-a2d8-4ee0-a0e0-6f18ace39a90"
dataobject
GEThttps://api.us.nylas.com/v3/connect/tokeninfo

Find your API key in the Nylas Dashboard under API Keys in your application settings.

id_tokenstring

ID token

access_tokenstring

Access token