Skip to main content
POST
/
agency
/
twilio
/
purchase
Purchase a phone number
curl --request POST \
  --url https://api.cleartalk.ai/agency/twilio/purchase \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "phoneNumber": "<string>"
}
'

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
phoneNumber
string
required

Response

201

Phone number purchased successfully