Update Notion Integration

Update a Notion integration

post
/v1/integration/notion/{notionIntegrationId}/update

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

notionIntegrationIdstring* Required

The ID of the Notion integration

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/{notionIntegrationId}/update" \

-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 updated successfully