Skip to main content
POST
/
v1
/
phone-numbers
cURL
curl --request POST \
  --url https://9dc2c77e6dbf.ngrok-free.app/v1/phone-numbers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "phoneNumberId": "123e4567-e89b-12d3-a456-426614174001",
  "telnyxMessagingProfile": "1234567890abcdef"
}'
{
  "phoneNumberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "appId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "number": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations

Body

application/json
phoneNumberId
string<uuid>
required

UUID of the phone number to add to the app

Example:

"123e4567-e89b-12d3-a456-426614174001"

telnyxMessagingProfile
string
required

Telnyx messaging profile ID

Example:

"1234567890abcdef"

Response

Phone number added successfully

phoneNumberId
string<uuid>
required
appId
string<uuid>
required
number
string
required
createdAt
string
required
updatedAt
string
required
I