Verifty a business phone number using its verification code. See Registering Phone Numbers for additional information about registering business phone numbers programmatically.
verify_code
edge from the following paths: Type | Description |
---|---|
Access Tokens | User or System User |
Permissions |
POST /<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>/verify_code ?code=<CODE>
curl -X POST 'https://graph.facebook.com/v21.0
/110200345501442/verify_code?code=123830' \
-H 'Authorization: Bearer EAAJB...'
{ "success": true }
參數 | 描述 |
---|---|
code string | code which was received using SMS or voice call 必填 |
success
: bool, 錯誤 | 說明 |
---|---|
136025 | Verify code error |
100 | Invalid parameter |