/oauth/authorize

GET {{url}}/oauth/authorize?client_id={{client_id}}&response_type=code&scopes=email&login_hint=test@gmail.com&redirect_uri=http://localhost:4567&state

Request Params

KeyDatatypeRequiredDescription
client_idstringThe client_id of your Nylas developer application
response_typestringcode or token depending on if client side or server side
scopesstring
login_hintstring
redirect_uristring
statenulloptional

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring