Conversation created
Sent once a conversation is created. data is the conversation resource, never the receiver paths or the conversation's webhook secret.
Header Parameters
The event delivered.
t= the Unix time the attempt was signed, then v1= the hex HMAC-SHA256 of <t>.<body>, the body exactly as received, keyed with the whole signing secret, whsec_ prefix included, as UTF-8 bytes. Compare in constant time and reject a t more than 5 minutes from your clock. Each attempt, a retry or a replay, is signed anew. While a rotated-out secret still overlaps, the header carries one v1 per secret, the new one first: accept the delivery when any matches.
The delivery, the same on every attempt: use it to drop repeats. A replay (POST /webhooks/{id}/deliveries/{deliveryId}/replay) is a new delivery with its own ID. It is also the delivery's id in GET /webhooks/{id}/deliveries. Absent on the test (POST /webhooks/{id}/test).
Sparkle-Webhooks/1.0. Absent on the test (POST /webhooks/{id}/test).
Request Body
application/json
When the event happened, to the second
date-timeThe conversation as created
The event, the same on every retry and replay: use it to drop repeats
Whether the event belongs to the live environment: true when the conversation it is about is live, or the ping's subscription is
Always event
Value in
- "event"
The event type, which the Sparkle-Event header repeats
Value in
- "conversation.created"
Response Body
Example Requests
/conversation.created