LRN Prefix Object
The LRN Prefix Object defines the routing prefixes used to determine how calls are directed through the network. Each prefix links to a specific Location Routing Number (LRN) and may include routing attributes, transformations, and trunk group associations that shape how traffic is handled.
This object also provides metadata such as partner ownership, callback configuration, and optional custom keys for advanced routing logic. It serves as the core configuration element for implementing prefix-based call routing, enabling flexible and efficient management of routing behavior across trunk groups.
Refer to How It Works: Prefix Routing to learn more about what prefixes are, what they are used for, and how you can work with them.
LRN Prefix Object Attributes
The fields listed in the table below will be returned in a JSON object when a successful request has been made.
| Attribute | Data Type | Description |
|---|---|---|
| attributes | object | The prefix attributes. |
| callback_url | string | The callback URL. |
| lrn_sid read only | string | The secure ID of the Location Routing Number assigned to this prefix. |
| name | string | The prefix name. The default value is N/A. |
| partner_sid | string | The secure ID of the partner associated with the prefix. |
| prefix | string | The prefix that will enable the routing logic. |
| prefix_sid read only | string | The prefix secure ID. |
| source_trunk_group_sid | string | The prefix source trunk group secure ID. |
| string_key_1 | string | A user-defined string key. |
| string_key_2 | string | A user-defined string key. |
| transformations | array | The prefix transformations. |
| trunk_group_sid | string | The trunk group secure ID. |
Sample LRN Prefix Object
{
"attributes": {},
"callback_url": null,
"lrn_prefix_sid": "cea69d91-8db6-27b5-a3b2-d6a4d8b62573",
"lrn_sid": null,
"name": "lrn_prefix_name",
"partner_sid": " e00430c3-a7d0-4666-ab5c-f7202448382f ",
"prefix": "1520",
"source_trunk_group_sid": null,
"string_key_1": "",
"string_key_2": "",
"transformations": [],
"trunk_group_sid": null,
}