Webhook payloads
The request Flownally sends to your webhook endpoint. Return any 2xx status after you
accept an event.
- Delivery is at least once. Deduplicate on the
webhook-idheader, which equals the payloadidand stays the same on every retry of an event. The body is identical on every retry. - Delivery order isn't guaranteed, even within one conversation. For
message.updated, keep the snapshot with the highestmessage.revision. - Each attempt times out after 15 seconds. Any 2xx response acknowledges the event. Redirects aren't followed.
- Timeouts, connection errors, 3xx, 408, 429 and 5xx responses are retried about 30 seconds, 5 minutes and 30 minutes after the first attempt, for 4 attempts in total. Retry times include up to 20% random jitter, and the last retry happens within 30 minutes of the first attempt.
- After a 429, a
Retry-Aftervalue in seconds makes the next attempt wait at least that long. If that is later than 30 minutes after the first attempt, the event isn't retried. - 410 and any other 4xx response stop retries for that event.
- An event that isn't delivered after its last attempt isn't sent again. Flownally never disables the endpoint automatically.
webhook-timestampandwebhook-signatureare generated again for each attempt.GET /webhooks/attemptslists delivery attempts from the last 7 days.- Events are delivered only while the webhook is enabled and verified. Changing
urlclearsverified; deliveries resume afterPOST /webhooks:verifysucceeds for the saved URL. Events from the time in between aren't delivered later.
Authorization
webhook-signatureheader · sent by FlownallyFlownally signs every delivery with your webhook signing key. Verify the signature before you trust the body. Verify webhook signaturesExternal receiver endpoint shape for webhook events.
Parameters
- Name
Webhook-Id- Type
- header · string
- required
Event identifier. Equals the payloadidand stays the same on every retry of the event. Deduplicate deliveries with this value.- Name
Webhook-Timestamp- Type
- header · integer
- required
Unix timestamp in seconds for this delivery attempt; it changes on each retry. Reject stale timestamps to prevent replay.- Name
Webhook-Signature- Type
- header · string
- required
Standard Webhooks signature header, generated for each attempt. Verify it againstwebhook-id,webhook-timestamp, and the exact raw request body.
Request body
Flownally sends a application/json body. The body is required.
Payload variants
- Name
contact.created- Type
- ContactCreatedWebhookEvent
- Name
contact.updated- Type
- ContactUpdatedWebhookEvent
- Name
contact.archived- Type
- ContactArchivedWebhookEvent
- Name
conversation.started- Type
- ConversationStartedWebhookEvent
A session started in a conversation. Sent once per session, when its first customer message or human agent's message arrives. Outbound automated messages (API, journey, campaign or desk) sent while the conversation has no active session start no session; they are delivered without one. A conversation can have many sessions over its lifetime.- Name
conversation.updated- Type
- ConversationUpdatedWebhookEvent
An open session's status or owner changed;changedFieldslists what changed, and changes that aren't visible in the payload (such as team access) send nothing. For example, a chatbot handing a session over to agents sends this event withchangedFields["status", "owner"]andsession.statuspending; Meta's AI agent taking the conversation sendschangedFields["owner"]andsession.ownerexternal. Starting and closing a session sendconversation.startedandconversation.closedinstead, sosession.statusis neverclosedhere.- Name
conversation.closed- Type
- ConversationClosedWebhookEvent
A session closed. Sent once for every session that closes. A closed session is never reopened; the next message starts a new session in the same conversation.- Name
message.created- Type
- MessageCreatedWebhookEvent
- Name
message.updated- Type
- MessageUpdatedWebhookEvent
- Name
webhook.test- Type
- WebhookTestEvent
Sent only byPOST /webhooks:verifyto confirm the endpoint. Respond with any2xxstatus. Carries no customer data.
Responses
- 2XXEvent accepted
Generated from the API spec.