Skip to main content

通用说明

123

请求格式

域名

  • https://chat-api.incsapp.com

请求头

  • Content-Type: application/json

通用响应格式

成功响应

{
    "status": "success",
    "code": 200,
    "message": "",
    "data": {...} // 响应数据
}

失败响应

{
    "status": "error",
    "code": 422, // 错误码
    "message": "The phone number is invalid.", // 错误信息
    "data": {}
}

错误码

错误码 说明
400 General api error
404 Route not found
422 Request parameters error
429 Too many attempts
500 Server error
10001 Certification code is invalid
10002 WhatsApp API error