Versi Graph API

    Whats App Business Phone Number Verify Code

    Membaca

    Anda tidak dapat melakukan operasi ini pada titik akhir ini.

    Membuat

    Verifty a business phone number using its verification code. See Registering Phone Numbers for additional information about registering business phone numbers programmatically.

    You can make a POST request to verify_code edge from the following paths:
    When posting to this edge, no Graph object will be created.

    Requirements

    TypeDescription

    Access Tokens

    User or System User

    Permissions

    whatsapp_business_management

    Request Syntax

    POST /<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>/verify_code
      ?code=<CODE>

    Example Request

    curl -X POST 'https://graph.facebook.com/v21.0/110200345501442/verify_code?code=123830' \
    -H 'Authorization: Bearer EAAJB...'
    

    Example Response

    {
      "success": true
    }
    

    Parameter

    ParameterKeterangan
    code
    string

    code which was received using SMS or voice call

    Diperlukan

    Jenis Pengembalian

    Struct {
    success: bool,
    }

    Error Codes

    KesalahanDescription
    136025Verify code error
    100Invalid parameter

    Memperbarui

    Anda tidak dapat melakukan operasi ini pada titik akhir ini.

    Menghapus

    Anda tidak dapat melakukan operasi ini pada titik akhir ini.