Skip to main content
GET
Get a number

Authorizations

Authorization
string
header
required

HTTP Basic Authentication. Use your API Access Key ID as the username and your API Access Key Secret as the password. Generate keys in the CloudTalk Dashboard under Account -> Settings -> API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys).

Path Parameters

numberId
string
required

The number id, as List and search numbers returns it.

Example:

"1201"

Response

The number.

A phone number of your company. A number has no updatedAt: callFlow.updatedAt covers changes to its call flow.

id
string
required

Number id.

Example:

"1201"

number
string
required

The phone number in E.164.

Example:

"+12025550143"

internalName
string | null
required

Your label for the number, up to 50 characters. null when it has none, "" when it was set to text that was empty once cleaned up, and always null when your plan has no internal number names.

Maximum string length: 50
Example:

"Front desk"

numberType
string
required

The number type, with the same values as number_type in the call webhooks: fixed, mobile, toll_free, premium_rate, shared_cost, voip, personal_number, pager, uan, emergency, voicemail. New values may be added; handle unknown ones.

Example:

"fixed"

country
string
required

ISO 3166-1 alpha-2 country code.

Example:

"US"

capabilities
object
required

What the number can do. Read-only.

a2pStatus
enum<string> | null
required

US A2P 10DLC registration state. null when unknown. Read-only.

Available options:
notRequired,
unregistered,
inProgress,
registered,
capacityExceeded,
null
userRecordingPause
enum<string>
required

Whether users may pause the call recording: company follows the company setting, on and off override it for this number.

Available options:
company,
on,
off
mandatoryCallTagging
enum<string>
required

Whether users must tag calls on this number: company follows the company setting, on and off override it.

Available options:
company,
on,
off
isVip
boolean
required

Whether this is a VIP number for VIP queues.

callFlow
object
required

A summary of the number's call flow. Read and change the flow itself with Get a number's call flow and Replace a number's call flow.

businessHours
object
required

Whether business hours run before the number's call flow, as at call time: when business hours are in your plan, the number's own hours apply when it uses them, otherwise the company hours when they are on.

createdAt
string<date-time> | null
required

When the number joined your company, RFC 3339 UTC. null only when the stored date is not a valid date.