Token
GET
https://api.notion.com/v1/oauth/token
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.notion.com/v1/oauth/token?code=&grant_type=&redirect_uri='
Response Response Example
200 - Success
{
"access_token": "e202e8c9-0990-40af-855f-ff8f872b1ec6c",
"bot_id": "b3414d659-1224-5ty7-6ffr-cc9d8773drt601288f",
"duplicated_template_id": null,
"owner": {
"workspace": true
},
"workspace_icon": "https://website.domain/images/image.png",
"workspace_id": "j565j4d7x3-2882-61bs-564a-jj9d9ui-c36hxfr7x",
"workspace_name": "Ada's Notion Workspace"
}
Request
Query Params
code
string
required
grant_type
string
required
redirect_uri
string
required
Responses
Modified at 2023-04-28 08:49:28