Create Notion Integration

Create Notion integration

post
/v1/integration/notion/create

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Request Body * Required

Request Body Schema: application/json

namestring

The associated name

descriptionstring

The associated description

metaobject

Meta data information

datasetIdstring

The ID of the dataset to sync into

tokenstring

The Notion API token

syncSchedulestring

The sync schedule

expiresInnumber

The time in milliseconds until records expire

curl -X POST "https://api.chatbotkit.com/v1/integration/notion/create" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

-H "Content-Type: application/json" \

--data-binary @- << EOF {
"name":"string",
"description":"string",
"meta":"object",
"datasetId":"string",
"token":"string",
"syncSchedule":"string",
"expiresIn":"number"
}
EOF
{
"id":"string"
}
The Notion integration was created successfully