Whatsapp Business Accounts

List phone numbers for a WABA

Changed on

Returns phone numbers registered under the specified WhatsApp Business Account.

get/v2/whatsapp/business_accounts/{id}/phone_numbers

Request

  • Base URL
    https://api.telnyx.com/v2
  • URL
    https://api.telnyx.com/v2/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

    • warning

      deleted the query request parameter page[number]

    • warning

      deleted the query request parameter page[size]

    • info

      added the new optional query request parameter page

    • 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