Skip to content
V2 (Legacy) API ReferenceGet started

Phonenumbers

Phone Numbers represent the phone numbers assigned to your partner account.

Use the list phone numbers endpoint to discover which phone numbers are available for sending messages.

When creating chats, listing chats, or sending a voice memo, use one of your assigned phone numbers in the from field.

List phone numbers (deprecated)
Deprecated
phonenumbers.list() -> PhonenumberListResponse
GET/v3/phonenumbers
ModelsExpand Collapse
class PhonenumberListResponse:
phone_numbers: List[PhoneNumber]

List of phone numbers assigned to the partner

id: str

Unique identifier for the phone number

formatuuid
phone_number: str

Phone number in E.164 format

capabilities: Optional[PhoneNumberCapabilities]
mms: bool

Whether MMS messaging is supported

sms: bool

Whether SMS messaging is supported

voice: bool

Whether voice calls are supported

country_code: Optional[str]

Deprecated. Always null.

type: Optional[str]

Deprecated. Always null.