Custom API

Custom API

使用 Custom API 将您的消息平台或应用连接到 Cekat.AI。

使用 Custom Channel 将客户消息发送到 Cekat.AI,并在您自己的系统中接收 Agent 的回复。

开始之前

在创建 Custom Channel 之前,请确保您已具备:

  • 可公开访问的 API endpoint。
  • 用于接收出站消息的 Webhook endpoint。
  • 一种认证方式,例如 API key、OAuth 或 access token。

连接 Custom Channel

  1. 打开 Connected Platform。
  2. 点击 + Add Inbox。
  3. 选择 Custom Channel。
  4. 输入 Channel 的名称。
  5. 配置用于出站消息的 Webhook endpoint。
  6. 配置认证。
  7. 定义请求格式。
  8. 测试连接。
  9. 保存配置。

工作原理

Custom Channel 在您的系统与 Cekat.AI 之间交换消息。

方向 说明
入站消息 您的应用使用 Custom API 将客户消息发送到 Cekat.AI。
出站消息 Cekat.AI 将 Agent 的回复和对话更新发送到您的 Webhook endpoint。

支持的功能

Custom Channel 支持:

  • 双向消息收发
  • Webhook 通知
  • 自定义事件映射
  • API key 认证
  • OAuth 认证
  • 自定义认证 header