Skip to main content
POST
Attach Numbers to Trunk
Map one or more numbers to this trunk - the Leg-A (BYO carrier) path. The bridge is auto-resolved and hidden. The response returns the trunk-level origin endpoint: the shared SBC ingress your carrier sends inbound calls to, the mapped numbers, and the accepted source IPs.
Prerequisites: API Token + Org-Handle. See Authentication.

Headers

Path parameters

Request body

Origin endpoint

Partial success

201 if at least one number maps, else 400 (also when every eligible number fails). Each data.numbers entry reports ok/error independently. Ineligible ids (unknown, inactive, already assigned, or another organization’s) are skipped with no entry; if none is eligible, the 400 (No valid unassigned numbers found.) has an empty data.
cURL

Authorizations

Authorization
string
header
required

Format: Token

Headers

Org-Handle
string
required

Organization domain handle

Example:

"unpod.tv"

Path Parameters

id
integer
required
Example:

21

Body

application/json
number_ids
integer[]
required
Example:
bridge_slug
string

Optional explicit bridge; auto-resolved when omitted.

region
string
Example:

"IN"

Response

Numbers mapped to trunk; origin endpoint returned