Get an Apple Messages for Business routing rule
GET
/v1/amb/routing-rules/{routing_rule_id}
const result = await bird.amb.routingRules.get(
"arr_01krdgeqcxet5s7t44vh8rt9mg",
);
console.log(result);result = client.amb.routing_rules.get('arr_01krdgeqcxet5s7t44vh8rt9mg')
print(result)result, err := client.Amb.RoutingRules.Get(ctx, "arr_01krdgeqcxet5s7t44vh8rt9mg")
if err != nil {
log.Fatal(err)
}
fmt.Println(result)$bird->amb->routingRules->get('arr_01krdgeqcxet5s7t44vh8rt9mg');bird amb routing-rules get <routing-rule-id>curl -X GET "https://us1.platform.bird.com/v1/amb/routing-rules/{routing_rule_id}" \
-H "Authorization: Bearer $TOKEN"प्रतिक्रिया200
{
"created_at": "2026-05-20T09:14:52Z",
"updated_at": "2026-05-25T16:42:01Z",
"id": "arr_01krdgeqcxet5s7t44vh8rt9mg",
"business_id": "abz_01krdgeqcxet5s7t44vh8rt9mg",
"match_kind": "intent",
"match_intent_id": "order_status",
"match_group_id": "support",
"queue": "billing",
"precedence": 10,
"is_default": false
}
Returns one routing rule by ID.
पैरामीटर
routing_rule_id
string
Response Payload
created_at
string
आवश्यक
updated_at
string
आवश्यक
id
string
आवश्यक
Unique identifier for the routing rule.
business_id
string
आवश्यक
The Apple Messages for Business brand this rule belongs to.
match_kind
string
आवश्यक
What a routing rule matches against the entry point that started the conversation.
- intent matches on the entry point's intent alone: match_intent_id is set and match_group_id is null.
- group matches on the entry point's group alone: match_group_id is set and match_intent_id is null.
- both matches only when the entry point carries the given intent and the given group together, so match_intent_id and match_group_id are both set. There are two match fields rather than one because both needs to carry an intent and a group at once.
Possible values: intent, group, both
match_intent_id
nullable string
The entry point intent this rule matches, as sent in Apple's intentID. Set when match_kind is intent or both, null when it is group.
match_group_id
nullable string
The entry point group this rule matches, as sent in Apple's groupID. Set when match_kind is group or both, null when it is intent.
queue
string
आवश्यक
The queue a matching conversation is filed into. A queue is a label your console filters by rather than a resource you create ahead of time, so any value routes.
precedence
integer
आवश्यक
Evaluation order among this business's rules. The highest-precedence rule a conversation matches wins; rules tied on precedence are evaluated by their id.
is_default
boolean
आवश्यक
Whether this rule catches a conversation that matches nothing else. A business has at most one. A conversation created or reopened while none exists routes to an empty queue, which the console lists as unrouted.
संबंधित संसाधन
इस विषय के लिए डॉक्यूमेंटेशन, गाइड और उदाहरणों के साथ आगे बढ़ें। संसाधन अंग्रेज़ी में हैं।
कॉन्सेप्ट समझेंShould I use a Bird SDK or call the API directly?लर्निंग पाथ फ़ॉलो करेंBuild your first integrationइम्प्लीमेंटेशन गाइडSend your first email
इम्प्लीमेंटेशन ब्रीफ़ पाएँ