Get a WhatsApp number
Returns a WhatsApp number connected to the workspace and its state as of meta_synced_at. Poll this after completing embedded signup to follow the connection. The reported status can lag send availability by up to one hour.
pending is WhatsApp's own token for a number it does not hold as registered, and is also what a number with no stored WhatsApp status reads, including after setup completes. Other WhatsApp states include connected, disconnected, and flagged. A failed status means connection setup ended permanently, and error says why; a failure still being retried leaves the number pending and sets no error.
Request
- Base URL: https://us1.platform.bird.com
- URL: https://us1.platform.bird.com/v1/whatsapp/numbers/{number_id}
- Auth: one of:
- HTTP bearer
- API key in cookie bird_session
Path parameters
ID of the WhatsApp number (wan_ prefix), as returned by the number list.
Headers
Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.
Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.
Response
The WhatsApp number.
Example response
{
"id": "wan_01krdgeqcxet5s7t44vh8rt9mg",
"waba": "102290129340398",
"phone_number": "+15550001234",
"number_id": "nda_01krdgeqcxet5s7t44vh8rt9mg",
"name": "Sales EU",
"scope": "workspace",
"data_localization_region": "DE",
"status": "connected",
"error": {
"code": "registration_pin_rejected",
"description": "Cannot Create Certificate: Please ensure two-factor authentication is disabled.",
"meta_error_code": "2388001"
},
"finish_setup_url": "https://bird.com/dashboard/w/ws_01krdgeqcxet5s7t44vh8rt9mg/whatsapp/numbers?finish_setup_number=wan_01krdgeqcxet5s7t44vh8rt9mg",
"quality_rating": "green",
"messaging_limit": "tier_250",
"throughput_level": "standard"
}Changes
No recorded changes to this operation across all 2 revisions of this API.