message.submitted
The channel provider accepted an outbound message for sending.
Sent to webhooks subscribed to message.submitted. data.object is the ConversationEvent in the webhook's api_version, with the include values the webhook lists for conversation_event.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The event ID, shared by the deliveries of this event to every webhook.
uuidAlways event.
The event type.
The API version of the webhook, which data.object is rendered in.
When the event occurred.
date-timeThe object the event is about, in the webhook API version.
Response Body
Example Requests
/message.submittedmessage.submission_failed Webhook
The channel provider rejected an outbound message. details.error holds the reason when it is known. Sent to webhooks subscribed to `message.submission_failed`. `data.object` is the ConversationEvent in the webhook's `api_version`, with the include values the webhook lists for `conversation_event`.
Create Webhook POST
Creates a webhook. `credentials` optionally sets how deliveries authenticate with the receiver, as `PUT /v1/webhooks/{id}/credentials` does. The `signing_secret` that signs its deliveries is never part of the webhook: read it with `GET /v1/webhooks/{id}/signing-secret`.