Skip to main content
List your phone numbers, change their settings and see who can call from each one. To change what a number does with a call, use the Call flows API.
The API key acts as a company admin: it reads and changes every number in your account.

List and search numbers

List and search numbers returns your numbers, oldest first. Filter by country, numberType, capability and search; a number must match all of them. numberType takes the same values as number_type in the call webhooks. A shortened answer:
A number with callFlow.stepCount 0 routes nowhere. numberType may get new values, so handle one you do not know. Get a number returns one number in the same shape.

Change a number’s settings

Update a number changes internalName, userRecordingPause, mandatoryCallTagging and isVip. Only the fields you send change, from the next call.
The response is the whole number after the change. No webhook is sent. userRecordingPause and mandatoryCallTagging take company to follow the company setting, or on or off. On the AI Voice Agent plan, which has no human agents, they cannot change. internalName is up to 50 characters: emojis and control characters become spaces, repeated whitespace becomes one space and the ends are trimmed. A name that is empty after that is stored as "", and null clears it.

See who can call from a number

List the users of a number returns each user who can call from the number, and why.
Inactive users are not listed. isDefaultOutbound tells whether the number is the user’s default caller ID.

Errors

Every Numbers operation with a number id in its path answers 404 NUMBERS.NUMBER_NOT_FOUND for an id that is unknown or belongs to another company. When you contact support, quote requestId, which is the request’s X-Request-ID. Error codes covers the error shape, 401, 429 and 500.