Speaking Bots/POST

Bot utterance

The bot finished saying something.

One event per spoken turn, including the entry message and anything relayed from the owner. data.text is what went to text-to-speech.

Delivered as an HTTP POST to the bot's callback_url, with the event name in the x-speaking-bot-event header and, when the bot was created with a callback_secret, x-speaking-bot-signature: sha256=<hex>: the HMAC-SHA256 of the exact request body with that secret. Answer with any 2xx. Network errors and 5xx are retried three times (after 1, 3 and 9 seconds); a redirect counts as a failed delivery and is not followed.

Request Body

application/json

bot_id*string

The MeetingBaas bot ID returned by POST /bots

client_id*string

The server's internal ID for the bot

created_at*string

When the event was produced, ISO 8601 with offset

Formatdate-time
data*
event*string
event_id*string

Unique per delivery; use it to drop duplicates

Response Body

application/json

application/json

Example Requests

speaking_bot.utterance: the bot finished saying something.

POST/speaking_bot.utterance