POST request to your registered webhook URL whenever an event occurs. Each payload includes an event_type field so you can route events accordingly.
Subscribers registered as type
all receive every event. Those registered for a specific type (e.g. message_received) only receive that one.Platforms
Webhooks cover WhatsApp (messages and calls), Instagram messages, Messenger messages and Web chat conversations. Subscription and ticket events have their own pages: Subscription webhooks and Ticket Events. When registering a webhook in the FlowIQ dashboard (or withplatform on Create Webhook), select the platform you want to listen to. Each platform fires its own set of events described below.
To authenticate deliveries to your server or verify that they came from FlowIQ, see Delivery.

WhatsApp Events
message_received
Fired when a user sends you a WhatsApp message.
whatsapp_idis the contact’s phone number with country code (e.g.27834321234)media_type/media_url/file_nameare populated for image, video, audio, and document messageslocation_datais{ latitude, longitude, name, address }for location messagesreply_context_idis thewamidof the message being replied totapped_replyis set when the customer taps a list row, a reply button or a template quick-reply button:{ type, id, title, description }.typeislist_reply,button_replyortemplate_button;idis the row or buttonidyou sent with Send Interactive List or Send Interactive Buttons (for a template button, its payload);messageholds the visible title.nullfor every other message.reaction/reacted_to_message_idare only present whenmessage_typeisreaction.reactionis the emoji (e.g.👍) andreacted_to_message_idis thewamidof the message that was reacted to
tapped_reply.id, not on the title: two rows can share a title, and reply_context_id tells you which list it came from.
message_sent (WhatsApp)
Fired when Meta confirms your outbound message was sent (lightweight receipt).
sent_message
Also fired on sent, but with the full message record so you have the message content.
message_delivered
message_read
message_failed
Fired for failed, undelivered, and warning statuses.
call
Fired for WhatsApp calls on your number (WhatsApp Business Calling): a call rings, is answered, declined or ends, a call you started changes state, or a customer answers your request for call permission. FlowIQ sends it after it has matched the caller to a contact. Use it with the Calling API to answer calls from your own server.
call.directionisinbound(the customer called) oroutbound(you called); times are ISO 8601answered_byon a ringing incoming call says who will pick up:api(your server; set with Update Calling Settings),flowiq_aiorinboxcontact.idis the FlowIQ contact; FlowIQ creates one for a first-time callerpermission={ "response": "accept" | "reject", "is_permanent", "expires_at", "response_source", "from", "message_id", "timestamp" }objectandentryare WhatsApp’s own payload, unchanged; see WhatsApp’s Calling webhooks for every fieldphone_number_idis your WhatsApp number’s phone number ID
Instagram Events
Register withplatform: "instagram" on Create Webhook. Events describe Instagram activity stored in the FlowIQ inbox, including staff, API, automated and native-app messages when recorded there.
Instagram does not emit
call. Delivery, read and failure information depends on what the connection reports and what FlowIQ records. A successful send alone does not imply delivery. Subscription changes apply to future events; history is not replayed.
Identifiers
Incoming message
message_received includes the content and media fields. Comment and story identifiers are populated when available. Text messages have message_type: "text" and null media fields.
Outgoing content and status
sent_message uses the same content fields as the incoming example, with an outgoing sender_type and its own event_id. message_sent, message_delivered, message_read and message_failed carry status instead of the message and media fields. They refer to the same message IDs. For example:
Customer reactions
A customer reaction is delivered asmessage_received with message_type: "reaction". Its message IDs identify the target message, and its event_id includes the reaction timestamp, actor, action and emoji. Reactions made by the connected business account do not generate incoming customer events.
Messenger Events
Register withplatform: "messenger" on Create Webhook. Events describe Facebook Messenger activity stored in the FlowIQ inbox, including staff, API, automated and native-app messages when recorded there, whichever way your Page is connected.
Messenger does not emit
call or reaction events. Delivery, read and failure information depends on what the connection reports and what FlowIQ records. A successful send alone does not imply delivery. Subscription changes apply to future events; history is not replayed.
Identifiers
Incoming message
message_received includes the content and media fields. Text messages have message_type: "text" and null media fields; attachments carry media_type (image, video, audio or file) and media_url.
Outgoing content and status
sent_message uses the same content fields as the incoming example, with an outgoing sender_type and its own event_id. message_sent, message_delivered, message_read and message_failed carry status instead of the message and media fields. They refer to the same message IDs. For example:
Web Events
Web webhooks fire for conversations that happen through the FlowIQ web chat widget. Register them by selecting Web as the platform when adding a webhook in the FlowIQ dashboard.
message_received
Fired when a web visitor sends a message (sender_type: "user-web").
sent_message
Fired when a human agent or AI bot sends a web message (sender_type: "human-web" or "bot-web").
sender_typewill be"human-web"for messages sent by a support agent, or"bot-web"for AI-generated replies.media_type/media_url/media_file_nameare populated when the message contains a file or image.more_datacontains any additional structured data attached to the message.
Delivery
Each event is sent as a singlePOST with a JSON body. Register webhooks with Create Webhook or in the FlowIQ dashboard.
Headers
Non-ASCII characters (emoji, accented letters) are sent as JSON
\uXXXX escapes, so the body is plain ASCII. Any JSON parser turns them back into the original characters. Every body carries event_type and event_id.
Verifying signatures
If you set asecret, compute an HMAC-SHA256 of the raw request body with that secret and compare it to the X-Flowiq-Signature header. Use the bytes exactly as received: parsing and re-serialising the JSON changes them and the signature won’t match.
Delivery behaviour
- Every event is recorded before the first attempt and kept in the delivery log, so an event is never lost because your server was down.
- FlowIQ waits up to 10 seconds for your server. Any
2xxcounts as delivered; anything else, a timeout or a connection error counts as a failed attempt. Respond with a2xxquickly and do slow work in the background. - Failed attempts are retried with growing gaps: 2 s, 6 s, 1 min, 5 min, 30 min, 2 h, 6 h, 24 h (8 attempts in all, about 33 hours). After the last one the delivery is
deadand stays in the log for 30 days; you can retry it by hand. The first three attempts of acallevent run within 10 seconds, because a call rings for under a minute. - Retries resend the identical body with the same
event_id. Deduplicate onevent_id(orX-Flowiq-Event-Id), since a slow2xxfrom you can be retried. - If the configured authentication can’t be built (for example your OAuth token endpoint is down), the attempt fails like any other and is retried; nothing is sent without credentials.
- Events can arrive out of order. Use
timestampand the platform message ID to reconcile. For Instagram, group updates bymessage_idorinstagram_message_id. - Webhook URLs must be
https://.
Delivery log
Every delivery, with each attempt’s result, is readable through the API and can be sent again:
Delivered rows are kept for 7 days, dead ones for 30.

