返回顶部
z

zoho-biginZoho Bigin

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.3
安全检测
已通过
11,847
下载量
免费
免费
4
收藏
概述
安装方式
版本历史

zoho-bigin

Zoho Bigin

通过托管的OAuth认证访问Zoho Bigin API。支持对联系人、公司、管道和产品进行完整的增删改查操作。

快速开始

bash

列出联系人


python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/zoho-bigin/bigin/v2/Contacts?fields=FirstName,LastName,Email)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

基础URL

https://gateway.maton.ai/zoho-bigin/bigin/v2/{endpoint}

该网关将请求代理到 www.zohoapis.com/bigin/v2,并自动注入您的OAuth令牌。

认证

所有请求都需要在Authorization头中包含Maton API密钥:

Authorization: Bearer $MATONAPIKEY

环境变量: 将您的API密钥设置为 MATONAPIKEY:

bash
export MATONAPIKEY=YOURAPIKEY

获取您的API密钥

  1. 1. 登录或创建账户:maton.ai
  2. 前往 maton.ai/settings
  3. 复制您的API密钥

连接管理

在 https://ctrl.maton.ai 管理您的Zoho Bigin OAuth连接。

列出连接

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://ctrl.maton.ai/connections?app=zoho-bigin&status=ACTIVE)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

创建连接

bash
python < import urllib.request, os, json
data = json.dumps({app: zoho-bigin}).encode()
req = urllib.request.Request(https://ctrl.maton.ai/connections, data=data, method=POST)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
req.add_header(Content-Type, application/json)
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

获取连接

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://ctrl.maton.ai/connections/{connection_id})
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

响应:
json
{
connection: {
connection_id: 21fd90f9-5935-43cd-b6c8-bde9d915ca80,
status: ACTIVE,
creation_time: 2025-12-08T07:20:53.488460Z,
lastupdatedtime: 2026-01-31T20:03:32.593153Z,
url: https://connect.maton.ai/?session_token=...,
app: zoho-bigin,
metadata: {}
}
}

在浏览器中打开返回的 url 以完成OAuth授权。

删除连接

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://ctrl.maton.ai/connections/{connection_id}, method=DELETE)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

指定连接

如果您有多个Zoho Bigin连接,请使用 Maton-Connection 头指定使用哪个连接:

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/zoho-bigin/bigin/v2/Contacts?fields=FirstName,LastName,Email)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
req.add_header(Maton-Connection, 21fd90f9-5935-43cd-b6c8-bde9d915ca80)
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

如果省略,网关将使用默认(最早)的活动连接。

API参考

模块

Zoho Bigin将数据组织成模块。可用的模块包括:

模块API名称描述
联系人Contacts个人
公司
Accounts | 组织/企业 |
| 管道 | Pipelines | 销售机会/交易 |
| 产品 | Products | 您销售的商品 |
| 任务 | Tasks | 待办事项(需要额外的OAuth范围) |
| 事件 | Events | 日历约会(需要额外的OAuth范围) |
| 通话 | Calls | 通话记录(需要额外的OAuth范围) |
| 备注 | Notes | 附加到记录的备注(需要额外的OAuth范围) |

列出记录

bash
GET /zoho-bigin/bigin/v2/{moduleapiname}?fields={field1},{field2}

查询参数:

参数类型描述
fields字符串必需。 要检索的字段API名称,以逗号分隔
sort_order
字符串 | asc 或 desc |
| sort_by | 字符串 | 用于排序的字段API名称 |
| page | 整数 | 页码(默认:1) |
| per_page | 整数 | 每页记录数(默认:200,最大:200) |
| cvid | 字符串 | 用于过滤结果的自定义视图ID |

示例 - 列出联系人:

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/zoho-bigin/bigin/v2/Contacts?fields=FirstName,LastName,Email,Phone)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

响应:
json
{
data: [
{
First_Name: Ted,
Email: support@bigin.com,
Last_Name: Watson,
id: 7255024000000596045
}
],
info: {
per_page: 200,
count: 1,
page: 1,
more_records: false
}
}

示例 - 列出公司(账户):

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/zoho-bigin/bigin/v2/Accounts?fields=Account_Name,Website)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

获取记录

bash
GET /zoho-bigin/bigin/v2/{moduleapiname}/{record_id}

示例:

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/zoho-bigin/bigin/v2/Contacts/7255024000000596045)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

创建记录

bash
POST /zoho-bigin/bigin/v2/{moduleapiname}
Content-Type: application/json

{
data: [
{
fieldapiname: value
}
]
}

各模块必填字段:

模块必填字段
联系人LastName
账户
AccountName |
| 管道 | Pipeline_Name, Stage |
| 产品 | Product_Name |

示例 - 创建联系人:

bash
python < import urllib.request, os, json
data = json.dumps({
data: [{
Last_Name: Smith,
First_Name: John,
Email: john.smith@example.com,
Phone: +1-555-0123
}]
}).encode()
req = urllib.request.Request(https://gateway.maton

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 zoho-bigin-1776351502 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 zoho-bigin-1776351502 技能

通过命令行安装

skillhub install zoho-bigin-1776351502

下载

⬇ 下载 zoho-bigin v1.0.3(免费)

文件大小: 5.53 KB | 发布时间: 2026-4-17 15:19

v1.0.3 最新 2026-4-17 15:19
- Added skill metadata for Clawdbot, including an emoji and required environment variable information.
- The MATON_API_KEY environment variable is now explicitly documented as a requirement in metadata.
- No functional or documentation changes to the Zoho Bigin integration itself.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部