wa_get_phone_numbers
List phone numbers registered to a WhatsApp Business Account to find the phone_number_id needed for sending templates, plus quality and messaging status for diagnosing delivery issues.
Instructions
List phone numbers registered to a WhatsApp Business Account (WABA).
Use this to discover the phone_number_id required by wa_send_template. display_phone_number
is the human-readable number (e.g. +351 91 234 5678); id is the numeric resource ID you pass
as phone_number_id to send.
Also returns quality_rating (GREEN/YELLOW/RED) and messaging status, useful for diagnosing delivery problems.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to return | id,display_phone_number,verified_name,quality_rating,status |
| waba_id | Yes | WhatsApp Business Account ID (numeric) |