cURL
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>" }
Import a Twilio phone number to an agent
Successful response
The response is of type object.
object