Creates a new Twilio provider integration with automatic SIP trunk configuration. Validates credentials with Twilio, creates a SIP trunk, sets up credential lists, and generates SIP credentials for call routing. All credentials are encrypted before storage.
/available-numbers endpoint to see phone numbers in your Twilio account/import-numbers endpointTwilio provider configuration including Account SID and Auth Token
Request DTO for creating a new Twilio provider integration. Contains required Twilio API credentials and optional configuration settings for the SIP trunk setup.
Twilio Account SID for API authentication. Must be exactly 34 characters starting with 'AC' followed by 32 lowercase hexadecimal characters. Found in the Twilio Console dashboard. Format: AC[a-f0-9]{32} (e.g., ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx).
1Twilio Auth Token for API authentication. Must be exactly 32 lowercase hexadecimal characters. Found in the Twilio Console dashboard under Account Settings. Format: [a-f0-9]{32}.
1Display name for the provider integration. Used to identify the provider in the UI and API responses.
1 - 100Twilio region for SIP trunk configuration. Affects call routing latency and regional compliance. If not specified, defaults to the closest available region. Common values: us1, us2, ie1, de1, au1, jp1, br1, sg1.
Whether to enable call transfer support. When enabled, allows warm and cold transfers during calls. Requires proper Twilio account configuration and sufficient permissions. Defaults to false.
Twilio provider created successfully with SIP trunk configured
Response DTO for Twilio provider integrations. Contains Twilio-specific configuration details including account identifier, SIP trunk configuration, and regional settings. AuthToken is intentionally excluded from responses for security.
Display name for the provider integration. Used to identify the provider in the UI and API responses.
Type of VoIP provider. Always returns Twilio for this DTO.
twilio Twilio Account SID. A unique identifier for the Twilio account associated with this provider. Format: AC[a-f0-9]{32} (e.g., ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx).
1Unique identifier for the provider integration.
Current verification status of the provider credentials. Indicates the health and validity of the integration. Supported values: pending, verified, warning, failed.
pending, verified, warning, failed Timestamp when the provider credentials were last verified. Null if verification has never been performed.
Total number of phone numbers currently imported and managed through this provider integration.
Detailed results of the last verification. Contains individual check results with status, messages, and timestamps. Null if verification has never been performed.
Twilio SIP Trunk SID. The unique identifier for the SIP trunk created in Twilio for this provider. Format: TK[a-f0-9]{32} (e.g., TKxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx).
SIP trunk termination URI configured for this provider. Used for routing outbound calls through Twilio.
Format: sip:
Twilio region where the SIP trunk is configured. Affects call routing latency and regional compliance. Common values: us1, us2, ie1, de1, au1, jp1, br1, sg1.
Whether the provider supports call transfers. When enabled, allows warm and cold transfers during calls. Requires proper Twilio account configuration and sufficient permissions.