Skip to main content
POST
Assign Number To Agent

Authorizations

Authorization
string
header
required

Your API key. Send in the Authorization header as: Bearer

Body

application/json

Request body for POST /telephony/numbers/assign. Assign a number to an agent for inbound or outbound.

number_id
string
required

Phone number UUID (from GET /telephony/numbers)

agent_id
string
required

Agent UUID

assignment_type
enum<string>
required

Whether the number handles inbound or outbound calls

Available options:
inbound,
outbound

Response

Successful Response

data
PublicNumberAssignmentData · object
required
meta
ResponseMeta · object
required

Metadata included in every API response.