List Apple Messages for Business routing rules
/v1/amb/routing-rulesconst result = await bird.amb.routingRules.list({
business_account_id: "abz_01krdgeqcxet5s7t44vh8rt9mg",
});
console.log(result);result = client.amb.routing_rules.list(business_account_id='abz_01krdgeqcxet5s7t44vh8rt9mg')
print(result)result, err := client.Amb.RoutingRules.List(ctx, bird.AmbRoutingRulesListParams{BusinessAccountID: "abz_01krdgeqcxet5s7t44vh8rt9mg"})
if err != nil {
log.Fatal(err)
}
fmt.Println(result)$rules = $bird->amb->routingRules->list(['business_account_id' => 'abz_01krdgeqcxet5s7t44vh8rt9mg']);
var_dump($rules->getData());bird amb routing-rules listcurl -X GET "https://us1.platform.bird.com/v1/amb/routing-rules" \
-H "Authorization: Bearer $TOKEN"{
"data": [
{
"created_at": "2026-05-20T09:14:52Z",
"updated_at": "2026-05-25T16:42:01Z",
"id": "arr_01krdgeqcxet5s7t44vh8rt9mg",
"business_account_id": "abz_01krdgeqcxet5s7t44vh8rt9mg",
"match_kind": "intent",
"match_intent_id": "order_status",
"match_group_id": "support",
"queue": "billing",
"precedence": 10,
"is_default": false
}
]
}
Returns the workspace's Apple Messages for Business routing rules, highest precedence first. Rules run when a conversation is created, when a closed conversation reopens, and when a customer writes to a resolved conversation, matching its group and intent to a queue. A message without a group or intent routes on the conversation's stored values. Later messages while the conversation is open in the inbox retain its queue.
Paramètres de requête
business_account_idstringKeep only routing rules belonging to this business. Omit to return rules across all businesses in the workspace.
Contenu de la réponse
dataThe workspace's routing rules, optionally filtered by business, highest precedence first and ties broken by id. Rules are evaluated within their business in this order. The set is returned in full; this list is not paginated.
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet.