Represents a collection of WhatsApp business phone numbers associated with a WhatsApp Business Account (WABA).
Type | Description |
---|---|
User or System User. | |
curl -i -X POST \
"https://graph.facebook.com/LATEST-VERSION/WHATSAPP-BUSINESS-ACCOUNT-ID/phone_numbers?
cc=COUNTRY-CODE&
phone_number=PHONE-NUMBER&
migrate_phone_number=true&
access_token=USER-ACCESS-TOKEN"
{ "id": "<BUSINESS_PHONE_NUMBER_ID>" }
phone_numbers
连线发出 POST 请求:参数 | 描述 |
---|---|
cc string | Country dial code of the phone number (for example, |
migrate_phone_number boolean | Set to |
phone_number string | Phone number without the country code or plus symbol ( |
preverified_id string | Preverified ID related to this phone number |
verified_name string | Name of the business as it appears in the WhatsApp app or WhatsApp Business app profile. |
id
代表的节点。id
: numeric string, 错误 | 描述 |
---|---|
100 | Invalid parameter |
200 | Permissions error |
300 | Edit failure |
104 | Incorrect signature |
102 | Session key invalid or no longer valid |