Get phone number

Retrieve Phone Number details by ID

Path parameters

phone_number_idstringRequired

The id of an agent. This is returned on agent creation.

Headers

xi-api-keystringRequired

Response

Successful Response

phone_numberstring

Phone number

providerenum

Phone provider

Allowed values:
labelstring

Label for the phone number

phone_number_idstring

The ID of the phone number

assigned_agentobjectOptional

The agent that is assigned to the phone number

Errors