Import a phone number from a provider (Twilio or LiveKit SIP).
Phone number in E.164 format (e.g., +12345678900).
Provider type: twilio or sip.
Whether the number supports inbound calls.
Whether the number supports outbound calls.
Twilio Specific Parameters
Twilio Account SID (required if provider is twilio).
Twilio Auth Token (required if provider is twilio).
SIP Specific Parameters (LiveKit)
SIP username for authentication.
SIP password for authentication.
SIP server address (required for outbound).
Room name pattern for inbound calls.
Optional PIN for inbound calls.
SIP media encryption mode (disable, allow, require).
Response
Indicates if the import was successful.
The created phone number object.
{
"phone_number": "+15551234567",
"provider": "twilio",
"sid": "AC...",
"token": "auth_token...",
"supports_inbound": true,
"supports_outbound": true
}