Skip to Content
Numbers

List numbers

GET
/v1/tenants/{tenant_id}/numbers

The WhatsApp numbers of one organization. An organization with no numbers returns an empty data.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

tenant_id*string

The ID of the organization, from tenants in GET /v1/me.

Length1 <= length <= 64

Response Body

OK

application/json
  1. response
tenant_id*string

The organization.

data*array<>

Its numbers. Empty if it has none.

Example Request
curl -X GET 'https://api.wapiu.ai/v1/tenants/0f8e2c4a-1b3d-4e5f-8a9b-0c1d2e3f4a5b/numbers'
Example Response
{  "tenant_id": "0f8e2c4a-1b3d-4e5f-8a9b-0c1d2e3f4a5b",  "data": [    {      "phone_number": "393401234567",      "name": "Acme Store",      "state": "active"    }  ]}