> Documentation index: https://docs.zernio.com/llms.txt. Every page is also Markdown: add .md to its URL.

# Inbox

Messenger direct messages, the welcome screen, the persistent menu, comments, Page reviews and inbox webhooks.

Facebook supports DMs, comments and Page reviews.

## Direct messages

| Feature | Supported |
|---------|-----------|
| List conversations | <Yes /> |
| Fetch messages | <Yes /> |
| Send text messages | <Yes /> |
| Send attachments | <Yes /> (images, videos, audio, files) |
| Quick replies | <Yes /> (up to 13, Meta quick_replies) |
| Buttons | <Yes /> (up to 3; with `message`, sent as Meta's button template, text up to 640 characters) |
| Carousels | <Yes /> (generic template, up to 10 elements; `imageAspectRatio: "square"` for 1:1 card images, default 1.91:1) |
| React to a message | <Yes /> (any emoji) via [Add message reaction](/messages/add-message-reaction) and [Remove message reaction](/messages/remove-message-reaction) |
| Message tags | <Yes /> (`HUMAN_AGENT`, up to 7 days after the last message; added automatically to replies sent from the Zernio dashboard Inbox) |
| Archive and unarchive | <Yes /> |
| Message requests | <Yes /> (list and accept) |
| Handover (thread control) | <Yes /> |

Reactions a customer adds or removes arrive on the [`reaction.received`](/webhooks/inbox/reaction-received) webhook.

Pages connected before August 2026 need their webhook subscription refreshed before inbound reactions arrive. Sending is unaffected.

**Outside the 24-hour window.** Send `messagingType: "MESSAGE_TAG"` with `messageTag: "HUMAN_AGENT"`. It works up to 7 days after the person's last message, for replies typed by a person only.

Meta does not allow it on automated messages, so workflows and [broadcasts](/broadcasts/create-broadcast) reject it.

Meta retired the other tags (`CONFIRMED_EVENT_UPDATE`, `POST_PURCHASE_UPDATE`, `ACCOUNT_UPDATE`) on April 27, 2026, so they fail.

**Buttons.** `buttons` with `message` go out as one button-template bubble: the text and up to 3 buttons under it.

The text must be 640 characters or less when buttons are attached. A longer `message` answers `400` `Text must be 640 characters or less when buttons are attached`.

This replaced the earlier shape, a one-card template whose title was the text cut at 80 characters.

### Message requests

DMs from people the Page has not accepted wait in Meta's Message Requests folder.

`GET /v1/inbox/conversations?folder=requests` lists them live from Meta (first page only), each item with `folder: "requests"`.

Meta has no accept call. Replying moves a thread into the inbox, which is what [Accept a message request](/messages/accept-conversation-request) does with your `accountId` and `message`.

When Meta will not list the folder for the one account asked, the list answers `400` `PLATFORM_LIMITATION`.

### Handover with another app

Meta's conversation routing lets another app on the Page, such as Page Inbox, own a thread. While it does:

- Inbound messages arrive on `message.received` with `metadata.standby: true`.
- No Zernio automation answers them.
- A send answers `409` with code `not_thread_owner`. `details.ownerAppId` names the owner when Meta reports it.

[Change who answers a conversation](/messages/set-conversation-thread-control) moves the thread with one of these actions:

- `pass`, with `targetAppId` (Page Inbox is `263902037430900`)
- `take`: Meta accepts it only when the Page has a default app set in its conversation routing settings and has allowed Zernio to take control of conversations (Page settings > Page setup > Advanced messaging). Otherwise it answers code `27`.
- `request`
- `release`: the thread goes idle, and the Page's default app answers next.

A send refused with `not_thread_owner` already tries `take` once and resends.

[`conversation.control_changed`](/webhooks/inbox/conversation-control-changed) fires when Meta tells Zernio that a thread was passed to it or taken from it, with `control.ownerAppId` naming the new owner. It does not fire for your own thread-control calls or for `release`.

## Welcome screen: greeting, Get Started and ice breakers

The Messenger welcome screen has three settings, each with `GET`, `PUT` and `DELETE`:

| Setting | Endpoint | Limits |
|---|---|---|
| Greeting text | [`/v1/accounts/{accountId}/messenger-greeting`](/account-settings/set-messenger-greeting) | One entry per locale, one with locale `default`; text up to 160 characters. Meta fills `{{user_first_name}}`, `{{user_last_name}}` and `{{user_full_name}}`. |
| Get Started button | [`/v1/accounts/{accountId}/messenger-get-started`](/account-settings/set-messenger-get-started) | One `payload`. Required before a persistent menu shows. |
| Ice breakers | [`/v1/accounts/{accountId}/messenger-ice-breakers`](/account-settings/set-messenger-ice-breakers) | Up to 4 questions per locale (80 characters each), one locale `default`. |

A `PUT` replaces every locale already set.

A Get Started or ice breaker tap sends a postback that arrives as `message.received` with `metadata.postbackPayload`.

A payload of `zernio:workflow:<workflowId>` starts that workflow. The workflow must be active on this account and profile.

```json
{
  "ice_breakers": [
    {
      "locale": "default",
      "call_to_actions": [
        { "question": "Book a table", "payload": "zernio:workflow:5190ac0343606395fce014b0" }
      ]
    }
  ]
}
```

## Persistent menu

The persistent menu shown in Messenger conversations takes at most 3 top-level items and 5 nested items.

Manage it with `GET`, `PUT` and `DELETE /v1/accounts/{accountId}/messenger-menu` ([Account settings](/account-settings/get-messenger-menu)).

Meta only shows it on a Page that has a Get Started button.

A postback item whose payload is `zernio:workflow:<workflowId>` starts that workflow when tapped.

## Comments

| Feature | Supported |
|---------|-----------|
| List comments on posts | <Yes /> |
| Reply to comments | <Yes /> |
| Delete comments | <Yes /> |
| Like comments | <Yes /> |
| Read comment media (sticker, GIF, photo, share, video) | <Yes /> (`attachment` on each comment and reply, with `type`, `imageUrl` and `url`; expiring Meta CDN links) |
| Hide and unhide comments | <Yes /> |
| Send a private reply (DM after a comment) | <Yes /> (text plus up to 13 quick replies or 1 to 3 inline buttons, 7-day window, one per comment) |

### Comment-to-DM automations

Keyword-triggered auto-DMs, created with [Create comment automation](/comment-automations/create-comment-automation).

A `template` sends a product card instead of the plain `dmMessage`. The card has:

- an image
- a title
- a subtitle for the description or price
- up to 3 `url` or `postback` buttons

Up to 10 elements render as a carousel.

Phone buttons are not supported inside a card. The card and `dmMessage` plus `buttons` are mutually exclusive.

`imageAspectRatio: "square"` renders the card images at 1:1 instead of Messenger's default 1.91:1. It is Facebook only: Instagram rejects it with a `400`.

The [Instagram page](/platforms/instagram/inbox#comment-to-dm-automations) has the full field shape. `audience` rules and the `live_comment`, `story_reply` and `story_mention` triggers are Instagram only.

Comments arrive by webhook. Every 10 minutes, Zernio also reads the latest comments and runs any the webhook missed.

`actions.likeComment` and `actions.hideComment` like or hide the matched comment.

[ManyChat-style automations](/guides/manychat-patterns#comment-to-dm-with-buttons) covers `repeatPolicy`, `publicReplyPolicy` and the other behaviour fields.

## Reviews

| Feature | Supported |
|---------|-----------|
| List reviews | <Yes /> |
| Reply to reviews | <Yes /> |
| Webhooks | <Yes /> (`review.new`, `review.updated`, `review.deleted`) |

A review carries its whole comment thread in `replies`: each top-level comment, oldest first, followed by its answers. It holds the Page's replies and the reviewer's answers, each with `parentId` and `fromPage`.

`reply` stays the Page's first top-level comment. Any comment added, edited or removed on a review fires `review.updated`.

## Webhooks

Messenger emits every message lifecycle event except unsend:

| Event | When it fires |
|-------|---------------|
| `message.received` | New incoming DM |
| `message.sent` | Outgoing DM is sent |
| `message.edited` | The sender edits a sent message (up to 5 edits per Meta) |
| `message.delivered` | An outgoing DM is delivered |
| `message.read` | The recipient reads an outgoing DM |

Messenger does not expose an incoming-message unsend, so `message.deleted` never fires for Facebook.

Messages are stored locally. Live messages arrive through webhooks, and on connect Zernio replays the DM history the account already has on Meta.

The [webhooks page](/webhooks) has the payloads.

The replay covers conversations that began before the account was connected. It takes up to 500 conversations per account and the newest 500 messages per conversation.

It runs in the background, so it can take a while to appear. It fires no webhooks; read it from [List inbox conversations](/messages/list-inbox-conversations).

Replayed messages arrive already read, so they never affect unread counts.