|
通过托管 OAuth 认证访问 Zoho Recruit API。支持对候选人、职位空缺、面试、申请和招聘流程进行完整的增删改查操作。
bash
https://gateway.maton.ai/zoho-recruit/{native-api-path}
将 {native-api-path} 替换为实际的 Zoho Recruit API 端点路径。网关会将请求代理到 recruit.zoho.com 并自动注入您的 OAuth 令牌。
所有请求都需要在 Authorization 请求头中提供 Maton API 密钥:
Authorization: Bearer $MATONAPIKEY
环境变量: 将您的 API 密钥设置为 MATONAPIKEY:
bash
export MATONAPIKEY=YOURAPIKEY
在 https://ctrl.maton.ai 管理您的 Zoho Recruit OAuth 连接。
bash
python <
req = urllib.request.Request(https://ctrl.maton.ai/connections?app=zoho-recruit&status=ACTIVE)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
bash
python <
data = json.dumps({app: zoho-recruit}).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 <
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: 0c9fa9b1-80b6-4caa-afc2-8629fe4d9661,
status: ACTIVE,
creation_time: 2026-02-06T07:48:59.474215Z,
lastupdatedtime: 2026-02-06T07:57:52.950167Z,
url: https://connect.maton.ai/?session_token=...,
app: zoho-recruit,
metadata: {}
}
}
在浏览器中打开返回的 url 以完成 OAuth 授权。
bash
python <
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 Recruit 连接,可以使用 Maton-Connection 请求头指定要使用的连接:
bash
python <
req = urllib.request.Request(https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
req.add_header(Maton-Connection, 0c9fa9b1-80b6-4caa-afc2-8629fe4d9661)
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
如果省略,网关将使用默认(最早创建的)活动连接。
获取 Zoho Recruit 账户中所有可用模块的列表。
bash
GET /zoho-recruit/recruit/v2/settings/modules
示例:
bash
python <
req = urllib.request.Request(https://gateway.maton.ai/zoho-recruit/recruit/v2/settings/modules)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
bash
GET /zoho-recruit/recruit/v2/Candidates
查询参数:
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| fields | 字符串 | - | 逗号分隔的字段 API 名称 |
| sort_order |
示例:
bash
python <
req = urllib.request.Request(https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates?per_page=10)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
响应:
json
{
data: [
{
id: 846336000000552208,
First_Name: Christina,
Last_Name: Palaskas,
Email: c.palaskas@example.com,
Candidate_Status: Converted - Employee,
Current_Employer: Chandlers,
CurrentJobTitle: Technical Consultant,
ExperienceinYears: 3,
Skill_Set: Communication, Presentation, Customer service,
Candidate_Owner: {
name: Byungkyu Park,
id: 846336000000549541
}
}
],
info: {
per_page: 10,
count: 1,
page: 1,
more_records: false
}
}
bash
GET /zoho-recruit/recruit/v2/Candidates/{record_id}
示例:
bash
python <
req = urllib.request.Request(https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates/846336000000552208)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
bash
GET /zoho-recruit/recruit/v2/Candidates/search?criteria={criteria}
查询参数:
| 参数 | 类型 | 描述 |
|---|---|---|
| criteria | 字符串 | 搜索条件(例如 (Last_Name:contains:Smith)) |
搜索运算符:
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 zoho-recruit-1776351376 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 zoho-recruit-1776351376 技能
skillhub install zoho-recruit-1776351376
文件大小: 5.66 KB | 发布时间: 2026-4-17 15:48