Bring Your Own Number
Register your own external phone number with Twilio to use within your workspace.
POST
Headers
x-workspace-idstringrequiredWorkspace identifier for the API.
Request Body
phoneNumberstringrequiredThe external phone number to register, in E.164 format (e.g., +11234567890).
providerstringrequiredThe provider for the phone number. Currently, only "twilio" is supported.
credentialsobjectrequiredThe credentials required for the provider.
Response Fields
statusstringThe status of the request, indicating success or failure.
messagestringA message providing feedback about the registration process.
Example Response
{
"status": "success",
"message": "Phone number registered successfully"
}