GET
https://api.us.nylas.com/v3/grants/{grantId}Get a grant
Gets a grant with the provided ID.
If the grant's grant_status is invalid, the grant has expired and needs to be re-authenticated. See Handling expired grants for best practices on detection and recovery.
Query parameters
If set to true, the response will include an array of email aliases associated with the grant.
Applicable only for Google and Microsoft grants. Not set by default.
For Microsoft, aliases are only available for Microsoft 365 / Exchange Online mailboxes. Free
Outlook.com (consumer) accounts have no aliases to expose, so the email_aliases field is
omitted from the response entirely.
Email aliases are only returned for the called API, not stored in the grant object permanently.