Authentication and recipients
SendAuthorization: Bearer fiq_YOUR_API_KEY to https://api.flowiq.live. The key identifies your organization; no organization ID is needed.
Messages go to an existing Messenger contact: someone who has messaged your Facebook Page. Use either contact_id (the FlowIQ contact UUID) or messenger_id (the Page-scoped ID, as a string). A name, email address or phone number is not a Messenger recipient ID. Use Messenger Conversations to list contacts and obtain their IDs.
Messages and history
Text supports 1–2000 characters. Media requires a public HTTPS URL; send captions as separate text messages. Messenger permissions and the 24-hour messaging window still apply. WhatsApp templates, calls and broadcasts are not supported by these Messenger endpoints.
History comes from messages already stored in the FlowIQ inbox. Reading it does not mark messages as read or import earlier Messenger history. Only Messenger messages are returned, including when a contact also has a WhatsApp or Instagram conversation.
Webhooks
Use the existing webhook API withplatform: "messenger":
GET /get-webhooks?platform=messenger, and remove one using DELETE /set-webhooks with its id. See Create Webhook, List Webhooks and Delete Webhook.
