Skip to content
Get started

Phone Numbers

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
phone_numbers.list() -> PhoneNumberListResponse
GET/v3/phone_numbers
Update a phone number
phone_numbers.update(strphone_number_id, PhoneNumberUpdateParams**kwargs) -> PhoneNumberUpdateResponse
PUT/v3/phone_numbers/{phoneNumberId}
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
Deprecatedhealth_status: PhoneNumberHealthStatus

[BETA] Current reputation for a phone line. Always present — lines start at HEALTHY and may shift based on aggregate engagement and delivery signals across all conversations on the line.

Unlike chat health, line reputation does not include opted_out — opt-out applies to individual recipients, not the whole line.

See the Phone Reputation guide for what each status means and how to react.

doc_url: str

Deep-link to the relevant section of the Phone Reputation guide for this status.

formaturi
status: Literal["HEALTHY", "AT_RISK", "CRITICAL"]

Current reputation of this phone line as assessed by risk-service.

  • HEALTHY — No elevated risk detected.
  • AT_RISK — Elevated risk indicators present; consider reducing send volume or reviewing messaging patterns.
  • CRITICAL — High risk; further sending may result in line flagging or restriction.

Defaults to HEALTHY for lines that have not yet been scored.

One of the following:
"HEALTHY"
"AT_RISK"
"CRITICAL"
phone_number: str

Phone number in E.164 format

reputation: PhoneNumberReputation

[BETA] Current reputation for a phone line. Always present — lines start at HEALTHY and may shift based on aggregate engagement and delivery signals across all conversations on the line.

Unlike chat health, line reputation does not include opted_out — opt-out applies to individual recipients, not the whole line.

See the Phone Reputation guide for what each status means and how to react.

doc_url: str

Deep-link to the relevant section of the Phone Reputation guide for this status.

formaturi
status: Literal["HEALTHY", "AT_RISK", "CRITICAL"]

Current reputation of this phone line as assessed by risk-service.

  • HEALTHY — No elevated risk detected.
  • AT_RISK — Elevated risk indicators present; consider reducing send volume or reviewing messaging patterns.
  • CRITICAL — High risk; further sending may result in line flagging or restriction.

Defaults to HEALTHY for lines that have not yet been scored.

One of the following:
"HEALTHY"
"AT_RISK"
"CRITICAL"
forwarding_number: Optional[str]

The forwarding number associated with this phone number, in E.164 format. Null when no forwarding number is configured.

class PhoneNumberUpdateResponse:
id: str

Unique identifier for the phone number

formatuuid
forwarding_number: Optional[str]

The forwarding number after the update. Null when cleared.

phone_number: str

Phone number in E.164 format