Skip to main content
WEBHOOK

Headers

webhook-id
string
required

The event's id, the same on every retry

webhook-timestamp
string
required

When Artil signed the delivery, in Unix seconds

webhook-signature
string
required

v1, followed by the base64 HMAC-SHA256 of the id, timestamp and body under the webhook's secret, as Standard Webhooks describes

Body

application/json
eventId
string
required

The event's id, sent as webhook-id and kept on every retry

name
string
required
Allowed value: "message.received"
timestamp
string<date-time>
required

When the event happened

data
object
required
cursor
string
required

Where delivery stands after this event

Response

Artil removes the webhook