Phone Numbers

Manage phone number assignments

List phone numbers

get

Retrieve a list of phone number assignments

Authorizations
X-API-KeystringRequired

API key for authentication

Query parameters
pageintegerOptionalDefault: 1
limitintegerOptionalDefault: 50
statusstring · enumOptionalPossible values:
Responses
chevron-right
200

Successful response

application/json
get
/numbers
200

Successful response

Assign phone number

post

Create a phone number assignment

Authorizations
X-API-KeystringRequired

API key for authentication

Body
phoneNumberstringRequired

Phone number to assign

friendlyNamestringOptional

Display name

agentIdstringRequired

Agent to assign to

Responses
post
/numbers
201

Phone number assigned successfully

Get phone number

get

Retrieve a specific phone number assignment

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired
Responses
chevron-right
200

Successful response

application/json
get
/numbers/{id}
200

Successful response

Update phone number

put

Update a phone number assignment

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired
Body
friendlyNamestringOptional
agentIdstringOptional
statusstring · enumOptionalPossible values:
Responses
chevron-right
200

Phone number updated successfully

application/json
put
/numbers/{id}
200

Phone number updated successfully

Delete phone number

delete

Delete a phone number assignment

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired
Responses
chevron-right
200

Phone number deleted successfully

No content

delete
/numbers/{id}
200

Phone number deleted successfully

No content

Get agent phone numbers

get

Get all phone numbers assigned to an agent

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired

Agent ID

Responses
chevron-right
200

Successful response

application/json
get
/agents/{id}/numbers
200

Successful response

Last updated