Whatsapp Business Accounts

List phone numbers for a WABA

Changed on

List the phone numbers associated with a WhatsApp Business Account.

get/whatsapp/business_accounts/{id}/phone_numbers

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/whatsapp/business_accounts/{id}/phone_numbers
  • Auth: HTTP bearer

Path parameters

idstring required

Whatsapp Business Account ID

Query parameters

numberinteger

The page number to load

sizeinteger

The size of the page

Consolidated page parameter (deepObject style). Originally: page[number], page[size]

Response

Successful response with Whatsapp phone numbers

Example response

{
  "data": [
    {
      "record_type": "whatsapp_business_phone_number"
    }
  ],
  "meta": {
    "total_pages": 3,
    "total_results": 55,
    "page_number": 2,
    "page_size": 25
  }
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      endpoint added