WhatsApp
Verify the Meta re-verification code for a BYO WhatsApp number
Changed onSubmits the OTP Meta sent in response to POST /v1/accounts/{accountId}/whatsapp/request-code. This only verifies the number with Meta; it does not register it on the Cloud API. Call POST /v1/accounts/{accountId}/whatsapp/register afterward to complete activation.
post/v1/accounts/{accountId}/whatsapp/verify-code
Request
- Base URLhttps://zernio.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
The WhatsApp account ID
Request body
Response
Number verified with Meta
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
added the optional property
to the response with the status
- info
- warning
added the new
accountenum value to the/response property for the response status
- warning