Lists the WhatsApp Business Accounts owned by the current organization

gethttps://api.telnyx.com/v2/whatsapp_business_accounts

Lists the WhatsApp Business Accounts owned by the current organization

curl -X GET \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Authorization: Bearer YOUR_API_KEY" \ --globoff "https://api.telnyx.com/v2/whatsapp_business_accounts?page[number]=1&page[size]=20"

Parameters

In Query
page[number]
integer
(1)
optional
The page number to load
Default:
1
page[size]
integer
(1 - 250)
optional
The size of the page
Default:
20

Responses

200
Successful response with a list of WhatsApp Business Accounts.
default
Unexpected error

Success Response

{
  "data": {
    "created_at": "2020-01-01T00:00:00.000000Z",
    "id": "2ade33a-21c0-473b-b055-b3c836e1c292",
    "organization_id": "29f187ff-6f27-449f-a2d3-d7188a50008c",
    "record_type": "whatsapp_business_account",
    "status": "setup",
    "updated_at": "2020-01-01T00:00:00.000000Z",
    "whatsapp_settings": {
      "account_review_status": "APPROVED",
      "ban_date": "2020-01-01",
      "ban_state": "DISABLE",
      "id": "487117329074690",
      "message_template_namespace": "46db2b53_97ff_45fa_a005_d3105a8cc165",
      "name": "Acme Inc.",
      "owner_business_id": "109009784689711",
      "owner_business_name": "Acme Inc."
    }
  },
  "meta": {
    "page_number": 2,
    "page_size": 25,
    "total_pages": 3,
    "total_results": 55
  }
}

...

gethttps://api.telnyx.com/v2/whatsapp_business_accounts/{id}

...

...

Parameters

Responses

Success Response

...

gethttps://api.telnyx.com/v2/whatsapp_business_accounts/{id}/phone_numbers

...

...

Parameters

Responses

Success Response

Was this page helpful?