Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

19 total results found

通用 API 格式说明

INCS API 基本配置

请求头 certification-code: af92196e-0d07-3c1d-a631-a71c... 是从 INCS 获取的唯一凭证,与每个 WhatsApp 号码对应 响应格式 响应参数列表 参数名 类型 必传 描述 status string 是 响应状态描述 code int 是 错误码,200为成功,详见 错误码 message string 是 错误描述 data object 是 响应内容 error object 是 错误详情 成功响应示例 { ...

错误码

INCS API 基本配置

Error Code Error Explanation 200 No error 404 Not found 422 Request parameter error 429 Too many attempts 500 Server error 10001 Certification code is invalid 10002 WhatsApp API error 10003 Viber API error 10004 RCS API error

发送 WhatsApp 消息

INCS API Messages API

域名 https://chat-api.incsapp.com 请求路由 /external/messages/whatsapp 请求方式 POST 请求头 Content-Type: application/json certification-code: af92196e-0d07-3c1d-a631-a71c... 请求参数 请求参数列表 参数名 类型 必填 描述 to string 是 收信人 WhatsApp 手机号,必须是国家码+手机号的纯数字格式,如 "852684151...

消息状态回调

INCS API 回调配置

回调地址 需要在 INCS 设置您的回调地址 回调请求方式 POST 回调内容 参数列表 参数名 类型 必传 描述 event string 是 回调事件名称,这里为 "message_status_update" business_phone string 是 whatsapp business phone number message_id string 是 WABA message ID message_status string 是 消息状态:sent, failed, d...

创建模板

INCS API WABA API

域名 https://api.incsapp.com 请求路由 /external/templates 请求方式 POST 请求头 Content-Type: application/json certification-code: f484bd42-4a0c-39d.... 请求参数 请求参数列表 参数名 类型 必填 描述 name string 是 模板名称,最大长度100 language string 是 语言code category string 是 模板类别:MA...

删除模板

INCS API WABA API

域名 https://api.incsapp.com 请求路由 /external/templates/{template_id} 请求方式 DELETE 请求头 certification-code: f484bd42-4a0c-39d.... 请求参数 无 响应 成功响应示例 { "status": "success", "code": 200, "message": "", "data": {}, "error": {} } 失败响应示例 { ...

获取模板详情

INCS API WABA API

域名 https://api.incsapp.com 请求路由 /external/templates/{template_id} 请求方式 GET 请求头 certification-code: f484bd42-4a0c-39d.... 请求参数 无 响应 成功响应示例 响应说明参见模板资源说明 { "status": "success", "code": 200, "message": "", "data": { "template_id...

获取模板列表

INCS API WABA API

域名 https://api.incsapp.com 请求路由 /external/templates 请求方式 GET 请求头 certification-code: f484bd42-4a0c-39d.... 请求参数 请求参数列表 参数名 类型 必填 描述 last_id string 否 上一页的最后一条数据 template_id count int 否 每页数据量,默认10,最大为100条 响应 成功响应示例 响应说明参见模板资源说明 { "statu...

模板资源说明

INCS API WABA API

资源示例 { "template_id": "2445248382535213", "name": "test_all_components_1", "language": "en_US", "category": "MARKETING", "status": "REJECTED", "quality": "", "components": [ { "type": "HEADER", "forma...

模板更新回调

INCS API 回调配置

回调地址 需要在 INCS 设置您的回调地址 回调请求方式 POST 回调内容 参数列表 参数名 类型 必传 描述 event string 是 回调事件名称 business_phone string 是 whatsapp business phone number template_id string 是 模板ID new_value string 是 对应的新值 reason string 是 变更说明 received_at timestamp 是 变更时间 ...

新消息回调 -- WhatsApp

INCS API 回调配置

回调地址 需要在 INCS 设置您的回调地址 回调请求方式 POST 回调内容 参数说明 参数名 类型 必传 描述 event string 是 回调事件名称,这里为 "new_message" business_phone string 是 whatsapp business phone number message object 是 WhatsApp 消息内容,不同的消息内容会有所差别 Message Object Name Desc...

获取WABA账号信息

INCS API WABA API

域名 https://api.incsapp.com 请求路由 /external/account 请求方式 GET 请求头 certification-code: f484bd42-4a0c-39d.... 请求参数 无 响应示例 { "status": "success", "code": 200, "message": "", "data": { "display_phone_number": "+62 ...", // 显示号码 ...

发送 Viber 消息

INCS API Messages API

域名 https://chat-api.incsapp.com 请求路由 /external/messages/viber 请求方式 POST 请求头 Content-Type: application/json certification-code: af92196e-0d07-3c1d-a631-a71c... 请求参数 请求参数列表 参数名 类型 必填 描述 to string 是 收信人手机号,必须是国家码+手机号的纯数字格式,如 "8526841511234" type ...

发送 RCS 消息

INCS API Messages API

域名 https://chat-api.incsapp.com 请求路由 /external/messages/rcs 请求方式 POST 请求头 Content-Type: application/json certification-code: af92196e-0d07-3c1d-a631-a71c... 请求参数 请求参数列表 参数名 类型 必填 描述 to string 是 收信人手机号,必须是国家码+手机号的纯数字格式,如 "8526841511234" type st...

创建模板

INCS API RCS Templates API

域名 https://api.incsapp.com 请求路由 /external/templates/rcs 请求方式 POST 请求头 Content-Type: application/json certification-code: f484bd42-4a0c-39d.... 请求参数 请求参数列表 参数名 类型 必填 描述 name string 是 模板名称。最大长度 25,只能包含字母数字字符和下划线。例如:test_template type string 是 模板...

删除模板

INCS API RCS Templates API

域名 https://api.incsapp.com 请求路由 /external/templates/rcs/{template_id} 请求方式 DELETE 请求头 certification-code: f484bd42-4a0c-39d.... 请求参数 无 响应 成功响应示例 { "status": "success", "code": 200, "message": "", "data": {}, "error": {} } 失败响应示例 ...

获取模板详情

INCS API RCS Templates API

域名 https://api.incsapp.com 请求路由 /external/templates/rcs/{template_id} 请求方式 GET 请求头 certification-code: f484bd42-4a0c-39d.... 请求参数 无 响应 成功响应示例 响应说明参见模板资源说明 { "status": "success", "code": 200, "message": "", "data": { "templat...

获取模板列表

INCS API RCS Templates API

域名 https://api.incsapp.com 请求路由 /external/templates/rcs 请求方式 GET 请求头 certification-code: f484bd42-4a0c-39d.... 请求参数 请求参数列表 参数名 类型 必填 描述 last_id string 否 上一页的最后一条数据 template_id count int 否 每页数据量,默认10,最大为100条 响应 成功响应示例 响应说明参见模板资源说明 { "s...

新消息回调 -- RCS

INCS API 回调配置

回调地址 需要在 INCS 设置您的回调地址 回调请求方式 POST 回调内容 参数说明 参数名 类型 必传 描述 event string 是 回调事件名称,这里为 "new_message" message object 是 RCS 消息内容,不同的消息内容会有所差别 回调示例 { "event": "new_message", "business_phone": "", "message": { "senderPhoneNumber": ...