Skip to main content
GET
Return a list of phone numbers for a user.

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Query Parameters

voiceAgentId
string

The unique identifier of the voice agent id Optional UUID of the voice agent to filter associated Twilio numbers.

Example:

"d949f13f-40d2-4e48-ac86-b66633070603"

skip
integer
default:1

Page number, starting at 1. Default 1.

Required range: x >= 1
Example:

1

take
integer
default:10

Items per page, 1 to 30. Default 10.

Required range: 1 <= x <= 30
Example:

10

provider
enum<string>

The phone number provider type The type of the phone numbers provider to filter upon.

Available options:
TWILIO,
SIP,
MAQSAM,
HAMSA
Example:

"TWILIO"

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"Success"

data
object

data holds this page of numbers; page and totalPages describe the pagination.