Trillet AI logo

Bring Your Own Number

Register your own external phone number with Twilio to use within your workspace.

POSThttps://api.trillet.ai/v1/api/twilio/register-external-number

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Request Body

phoneNumberstringrequired

The external phone number to register, in E.164 format (e.g., +11234567890).

providerstringrequired

The provider for the phone number. Currently, only "twilio" is supported.

credentialsobjectrequired

The credentials required for the provider.

Response Fields

statusstring

The status of the request, indicating success or failure.

messagestring

A message providing feedback about the registration process.

Example Response

{
  "status": "success",
  "message": "Phone number registered successfully"
}