Messenger· 5 min read

Messenger handover protocol is now Conversation Routing


Meta replaced the Handover Protocol with Conversation Routing. Meta’s page states it “no longer supports Handover Protocol for Messenger and all the businesses are migrated to Conversation Routing” (Conversation Routing, accessed 2026-11-02). The thread control calls you know still exist: pass, take, request and release. The main change is the default app. You pick a default app (or an inbox) in Meta Business Suite > Settings > Conversation routing, and that choice decides which calls work.

What carried over from the Handover Protocol

Meta calls Conversation Routing “backwards compatible with most of the Handover Protocol API and functionalities”. The page doesn’t list the exceptions, so test any Handover-era code against a Page before you trust it.

Routing sends each conversation to “the app that you have specified to respond in the conversation.” A thread is in one of two states. It is idle when there has been “no user-to-business message within the last 24 hours”, or after the owning app releases control. It is active while an app owns it and the conversation is live. “Only the default app can send a message when the thread is idle”, and only inside the messaging window that applies to that app. For messages outside 24 hours, see Messenger message tags.

Set a default app first

Without a default app, routing falls back to a looser mode. Meta lists what happens.

Without a default app Effect
Webhooks “All connected applications receive messaging webhooks.”
Replies “All applications can respond to the same user message without restrictions.”
Take Thread Control Blocked
Pass Thread Control Enabled, “allowing any application to pass thread control when it is idle”
Request Thread Control Enabled for any application, “but must be invoked to gain control”
Entry point routing Campaign routing only; link routing and social routing unavailable

In that mode your bot and the people in the Page inbox can both answer the same message. Meta asks you to coordinate them so the customer doesn’t get two replies. Setting a default app also unblocks take.

Meta’s checklist before you start includes a Meta ad account, the app IDs of your default app and your marketing app, and every app connected to the Page. The person who requests the Page token needs Admin access, the MANAGE task on a Classic Page, or Facebook access in the New Pages Experience. Full control in Business Settings also works. Meta recommends one webhook endpoint per app.

Subscribe every app to messages, messaging_referral, messaging_handover, messaging_postbacks and standby. The checklist spells the handover field in the singular, while the event reference page is named messaging_handovers. Use whichever name your App Dashboard’s webhook field list shows.

The thread control calls

Each call is a POST or GET on the Page, with the parameters below. The POST calls return { "success" : true }.

Call Endpoint Parameters
Pass POST /PAGE-ID/pass_thread_control recipient={id:PSID}, target_app_id, metadata
Take POST /PAGE-ID/take_thread_control recipient={id:PSID}, metadata
Request POST /PAGE-ID/request_thread_control recipient={id:PSID}, metadata
Release POST /PAGE-ID/release_thread_control recipient={id:PSID}, metadata
Extend POST /PAGE-ID/extend_thread_control recipient={id:PSID}, duration in seconds
Owner GET /PAGE-ID/thread_owner recipient=PSID

All of them also take access_token. Here is a pass to a human agent app, sent as form parameters.

curl -X POST "https://graph.facebook.com/$API_VERSION/$PAGE_ID/pass_thread_control" \
  -F "recipient={\"id\":\"$PSID\"}" \
  -F "target_app_id=$AGENT_APP_ID" \
  -F "metadata=customer asked for a person" \
  -F "access_token=$PAGE_ACCESS_TOKEN"

Take works when “a conversation is idle, or your app is the Primary Receiver”. Meta documents a request_thread_control webhook that carries requested_owner_app_id, the app asking for control. Meta’s guide doesn’t say whether apps other than the default app can request once a default app is set.

thread_owner answers with the owning app and when its control ends. The shape is Meta’s, with placeholder values.

{"data":[{"thread_owner":{"app_id": "APP_ID", "expiration": 1762041600}}]}

Pass control in the same call as a message

The Send API accepts a thread_control object, so the bot can say goodbye and hand over in one request. This is Meta’s sample body. Meta shows it on v12.0, so send it to the version your App Dashboard lists.

{
  "messaging_type": "RESPONSE",
  "thread_control": {
    "app_id": "<APPLICATION_ID>",
    "control_type": "pass"
  },
  "recipient": {
    "id": "<PSID>"
  },
  "message": {
    "text": "Let me transfer you to our live agent"
  }
}

Use "thread_control": {"control_type": "release"} to send a message and release the thread at once. The response is the usual {"recipient_id":"<PSID>","message_id":"MESSAGE-ID"}.

Expiry and extension

“When the default thread-control duration is 24 hours, thread control expires after 24 hours of inactivity.” You can extend it up to 7 days with extend_thread_control. Click-to-Messenger ads get a longer limit: “up to 7 days from the person’s first message after clicking the ad.” Meta recommends releasing control “as soon as the app is finished with its flow”, which returns the thread to idle.

The Page Inbox as a receiver

To hand a conversation to the people who answer in the Page inbox, pass control with target_app_id set to 263902037430900. Meta gives that ID for the Page Inbox. The inbox also takes control by itself when someone moves a message to the Main folder, or replies in a thread the inbox doesn’t own. Your bot learns about it from a webhook, covered next. Meta doesn’t say whether the same ID applies to Instagram conversations.

Webhooks: messaging_handovers and standby

Every change of owner arrives as a messaging_handovers event. Meta’s pass example (messaging_handovers, accessed 2026-11-02):

{
   "sender":{
      "id":"<PSID>"
   },
   "recipient":{
      "id":"<PAGE_ID>"
   },
   "timestamp":1458692752478,
   "pass_thread_control":{
      "previous_owner_app_id":"<previous_app_id or null (idle_mode)>",
      "new_owner_app_id":"123456789",
      "metadata":"Additional content that the caller wants to set"
   }
}

A take arrives with a take_thread_control object of the same shape, where previous_owner_app_id is null if the thread was idle. A request arrives as request_thread_control with requested_owner_app_id, the app asking for control. In Meta’s request example, sender and recipient look swapped compared with the pass example. Read the PSID from whichever side isn’t your Page ID. An app_roles event maps app IDs to roles such as primary_receiver.

When your app doesn’t own the thread, messages still reach it on the standby channel. Meta’s reference describes the callback as occurring “when a message has been sent to your page, but your application is not the current thread owner” (standby, accessed 2026-11-02). The events sit in entry[].standby[] instead of entry[].messaging[]. Log them for context and send nothing.

When Meta Business AI owns the thread

Meta’s own AI can be the owner. While it is, your app receives the user’s messages on standby, and Meta’s instruction is “Do not respond to standby messages.” Wait for a messaging_handovers event with pass_thread_control. A handoff from the Meta Business Agent can carry thread_control_metadata with a text and a handoff_reason such as purchase_intent, which tells the receiving app why.

The business can turn off the takeover setting. Untagged messages from your app then fail “with error code 10 and error subcode 2018300.” Apps that use the Human Agent tag can’t take control through the Send API either, unless the business allows it. The same split between bot and person, built on Chatwoot for WhatsApp, is in AI agent to human handoff with Chatwoot. For agencies running several Pages, multi-tenant webhook routing applies to the one-endpoint-per-app setup Meta recommends.

Z-API Omni team