Skip to content

Format a webhook event

POST
/webhook/format-event
curl --request POST \
--url https://example.com/webhook/format-event \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Webhook event formatted.

Media typeapplication/json

An asynchronous event delivered to a registered webhook.

object
type

The event sent to the webhook.

string
caseId

The consultation identifier associated with the event.

string
userId

The Abi user identifier associated with the event.

string
Example
{
"type": "questionResolved",
"caseId": "case12345",
"userId": "abi12345"
}