POST
/
import-number
curl --request POST \
  --url https://app.phonely.ai/api/import-number \
  --header 'Content-Type: application/json' \
  --header 'X-Authorization: <api-key>' \
  --data '{
  "uid": "<string>",
  "agentId": "<string>",
  "source": "<string>",
  "twilioAccountSid": "<string>",
  "twilioAuthToken": "<string>",
  "phoneNumber": "<string>",
  "countryCode": "<string>"
}'
{
  "message": "<string>"
}

Authorizations

X-Authorization
string
header
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.