POST
/
phone_numbers
/
purchase

Body

application/json
number
string
required

The number as returned by the phone number search endpoint.

Response

200 - application/json
agentId
string | null
required

The ID of the linked agent, if the phone number is linked to one.

id
string
required
number
string
required

The number in e.164 format.