I'm trying to use the createConversation endpoint of the Runtime API. When I run this snippet in the terminal:
Bash
curl --request POST \
--url
https://api.botpress.cloud/v1/chat/conversations/ \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $BAK" \
--header "x-bot-id: $BOT_ID" \
--data '{
"integrationName": "whatsapp",
"channel": "channel",
"tags": {
}
}'
I get the following output:
JSON
{"id":"36356d64b583d44e98442c37e64d4997","code":403,"type":"Forbidden","message":"Bot \"d343faf4-9e32-b046-6973a3633d24\" cannot create conversations for channel \"channel\" of integration \"intver_01JZTQH453N747KN3YSWQCE\""}
It seems like the channel is causing a blockage for a WhatsApp integration.