Routing roles
Updated: Nov 5, 2026
Copy for LLM
The business configures which responder is the primary for each entry point, who the escalation partner is, and who gets standby visibility. Use the Routing Roles API to read which of those roles your business holds on a WhatsApp Business phone number, so your integration can decide which traffic to expect and which thread control actions are available to you.
Note: The Routing Roles API reports your own roles only. Conversation Routing does not expose other partners’ identities or roles. This is also why handover webhooks name only the previous and new owner roles, not the apps or businesses behind them.
What the API reports
The response reflects the business’s current routing configuration for the phone number. It does not report who owns any particular thread. Ownership changes with every pass, take, release, and idle timeout, and you still track it yourself. See Tracking ownership.
Roles belong to the business that owns your app, not to the app. Every app owned by the same business gets the same result, as long as its access token has the
whatsapp_business_messaging or whatsapp_business_management permission for the WhatsApp Business account. See Permissions.The platform resolves routing per phone number, and a business can override the account default for selected phone numbers. Your roles can therefore differ between phone numbers on the same WhatsApp account. Query each phone number you serve. See Routing configuration levels.
Request
GET https://graph.facebook.com/<API_VERSION>/<PHONE_NUMBER_ID>/routing_roles
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
<PHONE_NUMBER_ID> | string | Yes | The WhatsApp Business phone number ID. The phone number must have Conversation Routing enabled. |
The request takes no query or body parameters.
Permissions
Your access token needs either the
whatsapp_business_messaging or the whatsapp_business_management permission for the WhatsApp Business account that owns the phone number. Either permission returns the same response.Example request
curl 'https://graph.facebook.com/<API_VERSION>/<PHONE_NUMBER_ID>/routing_roles' \ -H 'Authorization: Bearer <ACCESS_TOKEN>'
Response
{ "roles": ["customer_service", "escalation"], "is_standby": false }
| Field | Type | Description |
|---|---|---|
roles | array of strings | The routing roles your business holds on this phone number. See Role values. The array is empty if your business holds no role. |
is_standby | boolean | true if the business has granted your business standby visibility in its routing configuration. |
Treat
roles as an unordered set. Both fields are always present.Role values
| Value | Meaning |
|---|---|
calls | You are the Call primary. You receive call webhooks and call permission replies, and you are the only responder that can take call actions. See Calling webhooks. |
ctwa | You are the primary for the Click to WhatsApp (CTWA) entry point. |
customer_service | You are the primary for the Service entry point. |
escalation | You are the designated escalation partner. You can take any thread. See Take. |
marketing | You are the primary for the Marketing Message Response entry point. |
utility | You are the primary for the Utility Response entry point. |
ctwa, customer_service, escalation, marketing, and utility match the role identifiers you see as previous_owner_role and new_owner_role on messaging_handovers webhooks.calls never appears on a handover webhook. Handling a call never makes you the thread owner.ai_agent is never returned. That role identifies a first-party AI responder, which a partner business cannot hold.Standby
is_standby is independent of roles. Your business can be a standby partner while it also holds roles, and it can be a standby partner with an empty roles array.is_standby reports the routing configuration only. It does not tell you whether your app is subscribed to the standby webhook field. To receive standby webhooks, you need both the business’s grant and the subscription. See Enabling standby.Empty roles
An empty
roles array is a successful response. It means routing is enabled on the phone number, but the business has not made your business the primary for any entry point or the escalation partner:{ "roles": [], "is_standby": true }
In this example, your business receives standby copies of activity on threads it does not own, but no inbound message is routed to it. A
pass cannot reach you either, because it targets a role and you hold none. To receive messages or own threads, ask the business to make your business the primary for an entry point or the escalation partner.If routing is not enabled on the phone number, the request returns an error rather than an empty array. See Errors.
When to call it
Routing configuration changes only when the business edits it in Meta Business Suite, or when onboarding or enabling a Business Agent updates it. See Get started. It does not change per conversation, so read it at these points:
- After you are onboarded to the WhatsApp account, to confirm the business configured the roles you expect.
- When your integration starts, and periodically after that, to catch configuration changes.
- When traffic stops matching your expectations, such as missing inbound messages or a rejected
passortake.
Do not call it before every message or thread control action. The endpoint is rate limited per phone number, and an additional limit applies to the total calls your app makes across all phone numbers. If you serve many phone numbers, spread your periodic checks out rather than querying every phone number at once. Use the
X-Business-Use-Case-Usage response header to monitor your usage.Errors
| Code | Message | Resolution |
|---|---|---|
100 | Conversation routing is not enabled for this phone number. | The phone number does not have Conversation Routing enabled, so no routing roles apply. All connected responders receive every inbound message. See Get started. |
100 | Unsupported get request. Object with ID '<PHONE_NUMBER_ID>' does not exist, cannot be loaded due to missing permissions, or does not support this operation. | Check that the phone number ID is correct, and that your access token has whatsapp_business_messaging or whatsapp_business_management permission for the WhatsApp Business account that owns it. |
If you exceed a rate limit, the request returns a throttling error. Try again later, or reduce how often you call the endpoint. See Throttling errors.
Include the
fbtrace_id from the error response when you contact support.See also
- Overview — key concepts and role identifiers.
- Entry points and routing — how each role maps to the inbound traffic you receive.
- Thread control — the actions each role can take.
- Standby partners — what
is_standbymeans for the webhooks you receive. - Troubleshooting — common routing problems.