Skip to Content
API access is available to organizations with a signed BAA. Request API access →
API referenceList phone numbers

List phone numbers

GET/phone-numbers

Lists the clinic phone numbers messages to patients can come from, each with the team it belongs to: every number in the organization for an API key, or the numbers of the admin’s teams for OAuth. is_default marks the number used when a send doesn’t pass from.

Scope
messages.read

Returns

Returns 200 OK with a data array of Phone number objects.

Errors

Failed requests return application/problem+json problem details. The errors specific to this endpoint:

StatusCodeMeaning
400invalid_requestThe request is malformed, such as invalid JSON.
401invalid_tokenThe API key or access token is missing, expired, or revoked.
403insufficient_scopeThe credential doesn’t have the scope this endpoint needs.
429rate_limitedToo many requests. Retry after Retry-After seconds.
Last updated on