Speaking Bots/POST

Bot ended

The bot has left the meeting; nothing follows this event.

Carries the final usage report, the briefing when one was requested and every escalation of the call with its answer. Unlike the others this one is awaited before the bot's process exits, so it is delivered even when the call ends abruptly.

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.ended: the bot has left; the last event for this bot.

POST/speaking_bot.ended