Authentication APIs
OAuth Token Info
Get info about a specific token based on the identifier you include. Use either the ID Token or Access Token.</br></br>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.
get/v3/connect/tokeninfo
Query parameters
id_tokenstring
ID token
access_tokenstring
Access token
Response
Returns Token info
Example response
{
"request_id": "5967ca40-a2d8-4ee0-a0e0-6f18ace39a90",
"data": {
"iss": "https://nylas.com",
"aud": "http://localhost:3030",
"sub": "daf84d88-f274-46cc-bbc9-aed7dac061c7",
"email": "user@example.com",
"iat": 1692094848,
"exp": 1692095173
}
}