Skip to main content
POST
/
v1
/
phone-numbers
Purchase a new phone number
curl --request POST \
  --url https://api.revdesk.com/v1/phone-numbers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number": "<string>",
  "area_code": "<string>",
  "team_id": 0,
  "name": "<string>"
}
'
{
  "data": {
    "phone_record_id": 123,
    "workflow_run_id": "<string>",
    "status_url": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.revdesk.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.

Body

application/json
phone_number
string
area_code
string
Pattern: ^\d{3}$
team_id
integer
Required range: -9007199254740991 <= x <= 9007199254740991
name
string
Maximum string length: 120

Response

Success

data
object
required