图谱 API 版

    Whats App Business Phone Number Verify Code

    读取

    你无法在此端点执行该操作。

    创建

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

    你可以通过下列路径向 verify_code 连线发出 POST 请求:
    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
    }
    

    参数

    参数描述
    code
    string

    code which was received using SMS or voice call

    必填

    返回类型

    Struct {
    success: bool,
    }

    错误代码

    错误描述
    136025Verify code error
    100Invalid parameter

    更新

    你无法在此端点执行该操作。

    删除

    你无法在此端点执行该操作。