curl --request POST \
--url https://api.botpress.cloud/v1/chat/integrations/configure \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-bot-id: <x-bot-id>' \
--data '
{
"identifier": "<string>",
"scheduleRegisterCall": "hourly",
"sandboxIdentifiers": {}
}
'{}An integration can call this endpoint to configure itself
curl --request POST \
--url https://api.botpress.cloud/v1/chat/integrations/configure \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-bot-id: <x-bot-id>' \
--data '
{
"identifier": "<string>",
"scheduleRegisterCall": "hourly",
"sandboxIdentifiers": {}
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Configuration of the integration
Unique identifier of the integration that was installed on the bot
200Recurring schedule on which register() will be called on the integration
hourly, daily, weekly, bi-weekly, monthly, bi-monthly, quarterly, yearly EXPERIMENTAL Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. This is an experimental feature meant to be used by specific integrations.
Configuration of the integration
The response is of type configureIntegrationResponse · object.
Was this page helpful?