Skip to Content

Phone Numbers

Returns all WhatsApp phone numbers (business profiles) connected to your organization. The id field returned here is the phone number ID used in all other endpoints. This id is different from the actual phone number itself.

Connect your phone number in the Bahasha Dashboard  if you haven’t already.

List phone numbers

GET /v1/whatsapp/phone_numbers
curl https://api.bahasha.app/v1/whatsapp/phone_numbers \ -H "Authorization: Bearer bh_live_xxxxxxxxxxxx"

Response

[ { "id": "123456789", "display_name": "Acme Support", "phone_number": "+254700000000", "quality_rating": "GREEN" } ]
FieldTypeDescription
idstringThe Meta phone number ID. Use this as phone_number_id in all other requests.
display_namestringThe display name shown in WhatsApp
phone_numberstringThe E.164 formatted phone number
quality_ratingstringGREEN, YELLOW, or RED

Always use the id field (not the phone number itself) when referring to a phone number in other API calls such as listing templates or sending messages.