Documentation Index
Fetch the complete documentation index at: https://orbit-docs.devotel.io/llms.txt
Use this file to discover all available pages before exploring further.
Messenger
Facebook Messenger lets your business reach the ~1B monthly Messenger users from the same unified Orbit Messaging API used for SMS, WhatsApp, and email. Outbound replies are delivered through the Pages messaging surface; inbound user messages, postbacks, and referrals are POSTed to your webhook in real time.Send a message
Response
Capabilities
- Text, media, files — text, image, video, audio, generic file attachments.
- Buttons —
postback,web_url, andphone_numberbutton types via the structured-message body. - Generic templates — single + multi-card carousels with title, subtitle, image, and up to 3 buttons per card.
- One-time notifications (OTN) — request and consume OTN tokens for a single follow-up outside the 24-hour window.
- Persistent menu + greeting text — managed via the channel settings UI in the dashboard or directly via Graph API.
- Webhook events —
message.received,messenger.postback,messenger.referral,messenger.optin, plusmessage.delivered,message.read,message.status_updated.
Onboarding flow
- From the dashboard, navigate to Channels → Messenger.
- Click Connect Page. Meta’s OAuth dialog requests
pages_messaging,pages_messaging_subscriptions,pages_show_list, andpages_read_engagement. - Select the Page(s) you want to attach. Orbit subscribes the Page to webhooks automatically.
- Customise the persistent menu and greeting text from Channels → Messenger → Settings.
Messaging windows
| Tag | Window | Allowed content |
|---|---|---|
| Standard 24h | Within 24h of the user’s last message | Any allowed content |
HUMAN_AGENT | 7 days | Replies from a human agent only |
MESSAGE_TAG (CONFIRMED_EVENT_UPDATE / POST_PURCHASE_UPDATE / ACCOUNT_UPDATE) | Anytime | Tagged transactional content only |
| One-time notification (OTN) | One message per token | Promotional and re-engagement content |
Common errors
| Code | HTTP | Cause | Fix |
|---|---|---|---|
MSGR_INVALID_PAGE_TOKEN | 401 | Page access token expired (Meta rotates ~every 60 days). | Reconnect from Channels → Messenger → Reconnect. |
MSGR_OUTSIDE_24H | 422 | Outbound message outside the standard 24h window without a tag. | Switch to a MESSAGE_TAG, HUMAN_AGENT window, or use a consumed OTN token. |
MSGR_PAGE_NOT_SUBSCRIBED | 409 | Webhook subscription dropped (rare; happens after page admin changes). | Click Re-subscribe on the channel detail page. |
MSGR_RECIPIENT_NOT_FOUND | 404 | The recipient PSID is invalid or the user has blocked the Page. | Verify the PSID source; remove from your audience if blocked. |
MSGR_RATE_LIMITED | 429 | Per-Page rate limit exceeded. | Honour Retry-After; batch via campaigns when possible. |