This sample will show you to easily read grants with the Nylas Node.js SDK.
API_KEY="YOUR_API_KEY"
npm install
npm start
? Select an email: (Use arrow keys) ❯ [email protected] [email protected] [email protected]
============================================
Selected Email: {EMAIL}
ID: {ID}
Status: {STATUS}
Provider: {PROVIDER}
Created At: {CREATED_AT}
Scopes: {SCOPES}
============================================
? Do you want to continue? No Goodbye!