GET /v1/phone_numbers
Lists the WhatsApp numbers connected to your organization, newest first. Use it to look up the
phone_number_id for POST /v1/{phone_number_id}/messages and the
waba_id for the template endpoints, instead of copying them from
the dashboard.
GET /v1/phone_numbersAuthorization: Bearer hello_live_xxxxxxxxxxxxxxxxcurl "$HELLO_API_URL/v1/phone_numbers" \ -H "Authorization: Bearer $HELLO_API_KEY"Response 200
Section titled “Response 200”{ "data": [ { "phone_number_id": "106540352242922", "display_phone_number": "+1 555-123-4567", "verified_name": "Acme Store", "waba_id": "102290129340398", "business_name": "Acme Inc", "status": "active", "can_send": true, "quality_rating": "GREEN", "messaging_limit_tier": "TIER_1K", "name_status": "APPROVED", "is_coexistence": false } ]}An organization with no connected numbers gets { "data": [] }.
| Field | Type | Description |
|---|---|---|
phone_number_id |
string | The number’s WhatsApp phone number ID. Use it in the path of POST /v1/{phone_number_id}/messages and POST /v1/{phone_number_id}/media. |
display_phone_number |
string | The phone number itself, as WhatsApp displays it. |
verified_name |
string | The display name WhatsApp shows to recipients. Omitted until set. |
waba_id |
string | The WhatsApp Business Account the number belongs to. Use it in the template endpoints, such as GET /v1/{waba_id}/message_templates. Several numbers can share one WABA. |
business_name |
string | The business the WABA belongs to. Omitted when unknown. |
status |
string | Hello’s status for the number. Only active numbers can send. |
can_send |
boolean | true when the number can send messages now (status is active). Sending from a number where it’s false fails with 409 ACCOUNT_NOT_REGISTERED. |
quality_rating |
string | WhatsApp’s quality rating: GREEN, YELLOW or RED. Omitted until WhatsApp reports one. |
messaging_limit_tier |
string | WhatsApp’s messaging limit tier, e.g. TIER_1K. Omitted until WhatsApp reports one. |
name_status |
string | Review status of verified_name, e.g. APPROVED. Omitted until set. |
is_coexistence |
boolean | true when the number also runs on the WhatsApp Business app (coexistence). |
The response never includes access tokens.
Errors
Section titled “Errors”| Status | code |
Cause |
|---|---|---|
401 |
UNAUTHORIZED |
Missing, wrong or disabled API key |
500 |
FETCH_FAILED |
Temporary server error. Retry. |