List phone numbers
GET
/phone-numbersLists 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.
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:
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request | The request is malformed, such as invalid JSON. |
| 401 | invalid_token | The API key or access token is missing, expired, or revoked. |
| 403 | insufficient_scope | The credential doesn’t have the scope this endpoint needs. |
| 429 | rate_limited | Too many requests. Retry after Retry-After seconds. |
Last updated on