Skip to main content
POST
/
v2
/
twilio
/
post
/
callerids
Telnyx Buy Caller ID
curl --request POST \
  --url https://app.closerx.ai/api/v2/twilio/post/callerids/ \
  --header 'Company-Name: <company-name>' \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "phone_number": "<string>",
  "friendly_name": "TEST"
}
'
{
  "success": true,
  "message": "Caller ID saved successfully"
}

Authorizations

api_key
string
header
required

Headers

Company-Name
string
required

Schema name for multi-tenancy

Body

application/json
phone_number
string
required

The phone number to be used as caller ID.

friendly_name
string
required

A custom name or label for the number.

Example:

"TEST"

Response

Caller ID saved successfully

success
boolean
Example:

true

message
string
Example:

"Caller ID saved successfully"

data
object