/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
Key | Datatype | Required | Description |
---|---|---|---|
client_id | string | The client_id of your Nylas developer application | |
response_type | string | code or token depending on if client side or server side | |
scopes | string | ||
login_hint | string | ||
redirect_uri | string | ||
state | null | optional |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |