WhatsApp

Verify the Meta re-verification code for a BYO WhatsApp number

Changed on

Submits 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

Path parameters

accountIdstring required

The WhatsApp account ID

Request body

codestring required

The 6-digit code Meta sent to the phone. Non-digit separators (e.g. "749-456") are stripped automatically.

Response

Number verified with Meta

verifiedboolean
accountIdstring
phoneNumberIdstring

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

    • warning

      added the new account enum value to the / response property for the response status