Skip to main content

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.

tip

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.

AttributeData TypeDescription
attributesobjectThe prefix attributes.
callback_urlstringThe callback URL.
lrn_sid
read only
stringThe secure ID of the Location Routing Number assigned to this prefix.
namestringThe prefix name. The default value is N/A.
partner_sidstringThe secure ID of the partner associated with the prefix.
prefixstringThe prefix that will enable the routing logic.
prefix_sid
read only
stringThe prefix secure ID.
source_trunk_group_sidstringThe prefix source trunk group secure ID.
string_key_1stringA user-defined string key.
string_key_2stringA user-defined string key.
transformationsarrayThe prefix transformations.
trunk_group_sidstringThe 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,
}