简介
Zoho Recruit
原始描述
Zoho Recruit API integration with managed OAuth. Manage candidates, job openings, interviews, and recruitment workflows. Use this skill when users want to read, create, update, or search recruitment data like candidates, job openings, interviews, and applications in Zoho Recruit. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
通过你的 Agent 添加
安装目录:zoho-recruit/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
Zoho Recruit API 集成技能评估
核心用法
本技能提供 Zoho Recruit 招聘管理系统的完整 API 集成能力,通过 Maton Gateway 代理实现托管 OAuth 认证,无需直接处理复杂的 Zoho OAuth 流程。支持对候选人(Candidates)、职位空缺(Job Openings)、面试(Interviews)、申请(Applications)等 11 个核心模块的完整 CRUD 操作,以及高级搜索、分页查询和工作流管理。
使用方式简洁统一:所有请求通过 https://gateway.maton.ai/zoho-recruit/{api-path} 发送,仅需在 HTTP Header 中携带 Maton API Key 即可自动完成身份验证和令牌注入。连接管理通过独立的 ctrl.maton.ai 控制台进行,支持多连接切换和 OAuth 授权流程。
显著优点
- 零配置 OAuth:彻底封装 Zoho Recruit 的 OAuth 2.0 授权码流程,用户无需注册 Zoho 开发者应用、管理刷新令牌或处理令牌过期
- 统一网关架构:通过 Maton Gateway 集中管理认证、限流和错误转换,降低客户端复杂度
- 完整模块覆盖:支持招聘业务全流程——从候选人录入、职位发布、面试安排到录用审批
- 企业级搜索能力:提供丰富的查询运算符(equals/contains/starts_with/greater_than 等),支持复杂条件组合筛选
- 多语言示例:内置 Python、JavaScript、Bash 等即插即用代码片段,开发集成周期短
潜在局限
- 供应商锁定:依赖 Maton 云服务作为中介,若 Maton 服务不可用则完全中断(尽管网关本身指向 Zoho 官方 API)
- 速率限制继承:Zoho Recruit API 的调用配额(通常 100-300 请求/分钟/组织)仍然适用,高频场景需自行实现退避逻辑
- 功能边界:仅封装标准 REST API,不涉及 Zoho Recruit 的 Webhook、自定义函数或高级自动化工作流配置
- 地理合规:Zoho 数据驻留区域(US/EU/IN/CN/AU)需与 Maton 网关配置匹配,跨国企业需额外确认
适合人群
- 中小型企业 HR Tech 团队,需要快速搭建 ATS 集成而不投入 OAuth 开发成本
- 招聘 SaaS 服务商,为客户提供 Zoho Recruit 数据同步功能
- 自动化工程师(n8n/Zapier 替代方案),通过代码编排招聘流程
- 需将候选人数据与内部 HRIS/薪资系统打通的 IT 部门
常规风险
- API Key 泄露风险:
MATON_API_KEY 若硬编码或误提交至版本控制,可导致招聘数据被未授权访问。建议使用密钥管理系统或 CI/CD 环境变量注入
- 数据残留:删除 Zoho Recruit 中的候选人记录时,需确认 Maton 网关是否同步清除缓存或日志副本,以满足 GDPR 删除权要求
- 权限过度授予:Zoho OAuth 连接默认请求全部招聘模块权限,实际应遵循最小权限原则,按需配置作用域(scope)
- 候选人隐私:技能涉及处理个人敏感信息(联系方式、工作经历、评估记录),需确保数据处理协议(DPA)和候选人知情同意机制到位
安全认证摘要
- 供应商锁定:依赖 Maton 云服务作为中介,若 Maton 服务不可用则完全中断(尽管网关本身指向 Zoho 官方 API)
- 速率限制继承:Zoho Recruit API 的调用配额(通常 100-300 请求/分钟/组织)仍然适用,高频场景需自行实现退避逻辑
- 功能边界:仅封装标准 REST API,不涉及 Zoho Recruit 的 Webhook、自定义函数或高级自动化工作流配置
- 地理合规:Zoho 数据驻留区域(US/EU/IN/CN/AU)需与 Maton 网关配置匹配,跨国企业需额外确认
适合人群
- 中小型企业 HR Tech 团队,需要快速搭建 ATS 集成而不投入 OAuth 开发成本
- 招聘 SaaS 服务商,为客户提供 Zoho Recruit 数据同步功能
- 自动化工程师(n8n/Zapier 替代方案),通过代码编排招聘流程
- 需将候选人数据与内部 HRIS/薪资系统打通的 IT 部门
常规风险
- API Key 泄露风险:
MATON_API_KEY 若硬编码或误提交至版本控制,可导致招聘数据被未授权访问。建议使用密钥管理系统或 CI/CD 环境变量注入
- 数据残留:删除 Zoho Recruit 中的候选人记录时,需确认 Maton 网关是否同步清除缓存或日志副本,以满足 GDPR 删除权要求
- 权限过度授予:Zoho OAuth 连接默认请求全部招聘模块权限,实际应遵循最小权限原则,按需配置作用域(scope)
- 候选人隐私:技能涉及处理个人敏感信息(联系方式、工作经历、评估记录),需确保数据处理协议(DPA)和候选人知情同意机制到位
安全认证摘要
- API Key 泄露风险:
MATON_API_KEY若硬编码或误提交至版本控制,可导致招聘数据被未授权访问。建议使用密钥管理系统或 CI/CD 环境变量注入 - 数据残留:删除 Zoho Recruit 中的候选人记录时,需确认 Maton 网关是否同步清除缓存或日志副本,以满足 GDPR 删除权要求
- 权限过度授予:Zoho OAuth 连接默认请求全部招聘模块权限,实际应遵循最小权限原则,按需配置作用域(scope)
- 候选人隐私:技能涉及处理个人敏感信息(联系方式、工作经历、评估记录),需确保数据处理协议(DPA)和候选人知情同意机制到位
安全认证摘要
经 CLS-Certify v2.1.0 扫描,该技能为纯 Markdown 文档型(T-MD),无可执行代码,评分 S+(100/100)。所有 24 个外部 API 端点均指向可信域名(*.maton.ai、zoho.com),无敏感信息硬编码,符合 GDPR/CCPA 合规要求。
技能正文
name: zoho-recruit
description: |
Zoho Recruit API integration with managed OAuth. Manage candidates, job openings, interviews, and recruitment workflows.
Use this skill when users want to read, create, update, or search recruitment data like candidates, job openings, interviews, and applications in Zoho Recruit.
For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Requires network access and valid Maton API key.
metadata:
author: maton
version: "1.0"
Zoho Recruit
Access the Zoho Recruit API with managed OAuth authentication. Manage candidates, job openings, interviews, applications, and recruitment workflows with full CRUD operations.
Quick Start
# List all candidates
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates?per_page=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Base URL
https://gateway.maton.ai/zoho-recruit/{native-api-path}
# List all candidates
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates?per_page=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
https://gateway.maton.ai/zoho-recruit/{native-api-path}
Replace {native-api-path} with the actual Zoho Recruit API endpoint path. The gateway proxies requests to recruit.zoho.com and automatically injects your OAuth token.
Authentication
All requests require the Maton API key in the Authorization header:
Authorization: Bearer $MATON_API_KEY
Environment Variable: Set your API key as MATON_API_KEY:
export MATON_API_KEY="YOUR_API_KEY"
Getting Your API Key
- Sign in or create an account at maton.ai
- Go to maton.ai/settings
- Copy your API key
Connection Management
Manage your Zoho Recruit OAuth connections at https://ctrl.maton.ai.
List Connections
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections?app=zoho-recruit&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Create Connection
python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'zoho-recruit'}).encode()
req = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Get Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections?app=zoho-recruit&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'zoho-recruit'}).encode()
req = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Get Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Response:
{
"connection": {
"connection_id": "0c9fa9b1-80b6-4caa-afc2-8629fe4d9661",
"status": "ACTIVE",
"creation_time": "2026-02-06T07:48:59.474215Z",
"last_updated_time": "2026-02-06T07:57:52.950167Z",
"url": "https://connect.maton.ai/?session_token=...",
"app": "zoho-recruit",
"metadata": {}
}
}
Open the returned url in a browser to complete OAuth authorization.
Delete Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Specifying Connection
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
If you have multiple Zoho Recruit connections, specify which one to use with the Maton-Connection header:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '0c9fa9b1-80b6-4caa-afc2-8629fe4d9661')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
If omitted, the gateway uses the default (oldest) active connection.
API Reference
Modules
List All Modules
Get a list of all available modules in your Zoho Recruit account.
GET /zoho-recruit/recruit/v2/settings/modules
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/settings/modules')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Candidates
List Candidates
GET /zoho-recruit/recruit/v2/Candidates
Query Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
fields |
string | - | Comma-separated field API names |
sort_order |
string | - | asc or desc |
sort_by |
string | - | Field API name to sort by |
converted |
string | - | true, false, or both |
approved |
string | - | true, false, or both |
page |
integer | 1 | Page number |
per_page |
integer | 200 | Records per page (max 200) |
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates?per_page=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Response:
{
"data": [
{
"id": "846336000000552208",
"First_Name": "Christina",
"Last_Name": "Palaskas",
"Email": "c.palaskas@example.com",
"Candidate_Status": "Converted - Employee",
"Current_Employer": "Chandlers",
"Current_Job_Title": "Technical Consultant",
"Experience_in_Years": 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
}
}
Get Candidate by ID
GET /zoho-recruit/recruit/v2/Candidates/{record_id}
GET /zoho-recruit/recruit/v2/Candidates/{record_id}
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates/846336000000552208')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Search Candidates
GET /zoho-recruit/recruit/v2/Candidates/search?criteria={criteria}
GET /zoho-recruit/recruit/v2/Candidates/search?criteria={criteria}
Query Parameters:
| Parameter | Type | Description |
|---|---|---|
criteria |
string | Search criteria (e.g., (Last_Name:contains:Smith)) |
email |
string | Search by email |
phone |
string | Search by phone |
word |
string | Global word search |
page |
integer | Page number |
per_page |
integer | Records per page |
Search Operators:
- Text:
equals,not_equal,starts_with,ends_with,contains,not_contains,in - Date/Number:
equals,not_equal,greater_than,less_than,greater_equal,less_equal,between
Example:
python <<'EOF'
import urllib.request, os, json
import urllib.parse
criteria = urllib.parse.quote('(Candidate_Status:equals:Active)')
req = urllib.request.Request(f'https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates/search?criteria={criteria}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Create Candidate
POST /zoho-recruit/recruit/v2/Candidates
Content-Type: application/json
{
"data": [
{
"First_Name": "John",
"Last_Name": "Doe",
"Email": "john.doe@example.com",
"Phone": "555-123-4567",
"Current_Job_Title": "Software Engineer"
}
]
}
POST /zoho-recruit/recruit/v2/Candidates
Content-Type: application/json
{
"data": [
{
"First_Name": "John",
"Last_Name": "Doe",
"Email": "john.doe@example.com",
"Phone": "555-123-4567",
"Current_Job_Title": "Software Engineer"
}
]
}
Example:
python <<'EOF'
import urllib.request, os, json
data = json.dumps({
"data": [{
"First_Name": "John",
"Last_Name": "Doe",
"Email": "john.doe@example.com",
"Phone": "555-123-4567"
}]
}).encode()
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Response:
{
"data": [
{
"code": "SUCCESS",
"status": "success",
"message": "record added",
"details": {
"id": "846336000000600001",
"Created_Time": "2026-02-06T10:00:00-08:00",
"Created_By": {
"name": "User Name",
"id": "846336000000549541"
}
}
}
]
}
Update Candidate
PUT /zoho-recruit/recruit/v2/Candidates/{record_id}
Content-Type: application/json
{
"data": [
{
"Current_Job_Title": "Senior Software Engineer"
}
]
}
PUT /zoho-recruit/recruit/v2/Candidates/{record_id}
Content-Type: application/json
{
"data": [
{
"Current_Job_Title": "Senior Software Engineer"
}
]
}
Example:
python <<'EOF'
import urllib.request, os, json
data = json.dumps({
"data": [{
"Current_Job_Title": "Senior Software Engineer"
}]
}).encode()
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates/846336000000552208', data=data, method='PUT')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Delete Candidates
DELETE /zoho-recruit/recruit/v2/Candidates?ids={record_id1},{record_id2}
Job Openings
List Job Openings
GET /zoho-recruit/recruit/v2/Job_Openings
DELETE /zoho-recruit/recruit/v2/Candidates?ids={record_id1},{record_id2}
List Job Openings
GET /zoho-recruit/recruit/v2/Job_Openings
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Job_Openings?per_page=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Response:
{
"data": [
{
"id": "846336000000552093",
"Posting_Title": "Senior Accountant (Sample)",
"Job_Opening_Status": "Waiting for approval",
"Date_Opened": "2026-01-21",
"Target_Date": "2026-02-20",
"Industry": "Accounting",
"City": "Tallahassee",
"No_of_Candidates_Hired": 0,
"No_of_Candidates_Associated": 0
}
],
"info": {
"per_page": 10,
"count": 1,
"page": 1,
"more_records": false
}
}
Get Job Opening by ID
GET /zoho-recruit/recruit/v2/Job_Openings/{record_id}
Create Job Opening
POST /zoho-recruit/recruit/v2/Job_Openings
Content-Type: application/json
{
"data": [
{
"Posting_Title": "Software Engineer",
"Job_Opening_Status": "In-progress",
"Date_Opened": "2026-02-01",
"Target_Date": "2026-03-01"
}
]
}
Update Job Opening
PUT /zoho-recruit/recruit/v2/Job_Openings/{record_id}
Content-Type: application/json
Delete Job Openings
DELETE /zoho-recruit/recruit/v2/Job_Openings?ids={record_id1},{record_id2}
Interviews
List Interviews
GET /zoho-recruit/recruit/v2/Interviews
GET /zoho-recruit/recruit/v2/Job_Openings/{record_id}
POST /zoho-recruit/recruit/v2/Job_Openings
Content-Type: application/json
{
"data": [
{
"Posting_Title": "Software Engineer",
"Job_Opening_Status": "In-progress",
"Date_Opened": "2026-02-01",
"Target_Date": "2026-03-01"
}
]
}
Update Job Opening
PUT /zoho-recruit/recruit/v2/Job_Openings/{record_id}
Content-Type: application/json
Delete Job Openings
DELETE /zoho-recruit/recruit/v2/Job_Openings?ids={record_id1},{record_id2}
Interviews
List Interviews
GET /zoho-recruit/recruit/v2/Interviews
PUT /zoho-recruit/recruit/v2/Job_Openings/{record_id}
Content-Type: application/json
DELETE /zoho-recruit/recruit/v2/Job_Openings?ids={record_id1},{record_id2}
Interviews
List Interviews
GET /zoho-recruit/recruit/v2/Interviews
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Interviews?per_page=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Get Interview by ID
GET /zoho-recruit/recruit/v2/Interviews/{record_id}
Create Interview
POST /zoho-recruit/recruit/v2/Interviews
Content-Type: application/json
{
"data": [
{
"Interview_Name": "Technical Interview",
"Candidate_Name": {"id": "846336000000552208"},
"Posting_Title": {"id": "846336000000552093"},
"Start_DateTime": "2026-02-10T10:00:00-08:00",
"End_DateTime": "2026-02-10T11:00:00-08:00"
}
]
}
Departments
List Departments
GET /zoho-recruit/recruit/v2/Departments
GET /zoho-recruit/recruit/v2/Interviews/{record_id}
POST /zoho-recruit/recruit/v2/Interviews
Content-Type: application/json
{
"data": [
{
"Interview_Name": "Technical Interview",
"Candidate_Name": {"id": "846336000000552208"},
"Posting_Title": {"id": "846336000000552093"},
"Start_DateTime": "2026-02-10T10:00:00-08:00",
"End_DateTime": "2026-02-10T11:00:00-08:00"
}
]
}
Departments
List Departments
GET /zoho-recruit/recruit/v2/Departments
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/zoho-recruit/recruit/v2/Departments?per_page=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Applications
List Applications
GET /zoho-recruit/recruit/v2/Applications
Generic Record Operations
All modules support the same CRUD operations:
# List records
GET /zoho-recruit/recruit/v2/{module_api_name}
# Get record by ID
GET /zoho-recruit/recruit/v2/{module_api_name}/{record_id}
# Create records
POST /zoho-recruit/recruit/v2/{module_api_name}
# Update records
PUT /zoho-recruit/recruit/v2/{module_api_name}/{record_id}
# Delete records
DELETE /zoho-recruit/recruit/v2/{module_api_name}?ids={id1},{id2}
# Search records
GET /zoho-recruit/recruit/v2/{module_api_name}/search?criteria={criteria}
Available Modules
Module
API Name
Description
Candidates
Candidates
Job candidates
Job Openings
Job_Openings
Open positions
Applications
Applications
Job applications
Interviews
Interviews
Scheduled interviews
Departments
Departments
Company departments
Clients
Clients
Client companies
Contacts
Contacts
Contact persons
Campaigns
Campaigns
Recruitment campaigns
Referrals
Referrals
Employee referrals
Tasks
Tasks
To-do items
Events
Events
Calendar events
Vendors
Vendors
External vendors
Pagination
| Module | API Name | Description |
|---|---|---|
| Candidates | Candidates |
Job candidates |
| Job Openings | Job_Openings |
Open positions |
| Applications | Applications |
Job applications |
| Interviews | Interviews |
Scheduled interviews |
| Departments | Departments |
Company departments |
| Clients | Clients |
Client companies |
| Contacts | Contacts |
Contact persons |
| Campaigns | Campaigns |
Recruitment campaigns |
| Referrals | Referrals |
Employee referrals |
| Tasks | Tasks |
To-do items |
| Events | Events |
Calendar events |
| Vendors | Vendors |
External vendors |
Zoho Recruit uses page-based pagination:
GET /zoho-recruit/recruit/v2/{module_api_name}?page=1&per_page=200
page: Page number (default: 1)per_page: Records per page (default: 200, max: 200)
Response includes pagination info:
{
"data": [...],
"info": {
"per_page": 200,
"count": 50,
"page": 1,
"more_records": false
}
}
Code Examples
JavaScript
const response = await fetch(
'https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates?per_page=10',
{
headers: {
'Authorization': `Bearer ${process.env.MATON_API_KEY}`
}
}
);
const data = await response.json();
Python
import os
import requests
response = requests.get(
'https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates',
headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
params={'per_page': 10}
)
data = response.json()
Notes
- Record IDs are numeric strings (e.g.,
846336000000552208)
- Maximum 200 records per GET request
- Maximum 100 records per POST/PUT request
- Maximum 100 records per DELETE request
- Module API names are case-sensitive (e.g.,
Job_Openings, not job_openings)
Last_Name is mandatory for Candidates
- Date format:
yyyy-MM-dd
- DateTime format:
yyyy-MM-ddTHH:mm:ss±HH:mm (ISO 8601)
- Lookup fields use JSON objects with
id and optionally name
- IMPORTANT: When using curl commands, use
curl -g when URLs contain special characters
- IMPORTANT: When piping curl output to
jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments
Error Handling
Status
Meaning
400
Missing Zoho Recruit connection or invalid request
401
Invalid or missing Maton API key
429
Rate limited
4xx/5xx
Passthrough error from Zoho Recruit API
Common Error Codes
Code
Description
INVALID_DATA
Invalid field value
MANDATORY_NOT_FOUND
Required field missing
DUPLICATE_DATA
Duplicate record detected
INVALID_MODULE
Invalid module API name
NO_PERMISSION
Insufficient permissions
Troubleshooting: Invalid API Key
import os
import requests
response = requests.get(
'https://gateway.maton.ai/zoho-recruit/recruit/v2/Candidates',
headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
params={'per_page': 10}
)
data = response.json()
- Record IDs are numeric strings (e.g.,
846336000000552208) - Maximum 200 records per GET request
- Maximum 100 records per POST/PUT request
- Maximum 100 records per DELETE request
- Module API names are case-sensitive (e.g.,
Job_Openings, notjob_openings) Last_Nameis mandatory for Candidates- Date format:
yyyy-MM-dd - DateTime format:
yyyy-MM-ddTHH:mm:ss±HH:mm(ISO 8601) - Lookup fields use JSON objects with
idand optionallyname - IMPORTANT: When using curl commands, use
curl -gwhen URLs contain special characters - IMPORTANT: When piping curl output to
jqor other commands, environment variables like$MATON_API_KEYmay not expand correctly in some shell environments
Error Handling
Status
Meaning
400
Missing Zoho Recruit connection or invalid request
401
Invalid or missing Maton API key
429
Rate limited
4xx/5xx
Passthrough error from Zoho Recruit API
Common Error Codes
| Status | Meaning |
|---|---|
| 400 | Missing Zoho Recruit connection or invalid request |
| 401 | Invalid or missing Maton API key |
| 429 | Rate limited |
| 4xx/5xx | Passthrough error from Zoho Recruit API |
| Code | Description |
|---|---|
| INVALID_DATA | Invalid field value |
| MANDATORY_NOT_FOUND | Required field missing |
| DUPLICATE_DATA | Duplicate record detected |
| INVALID_MODULE | Invalid module API name |
| NO_PERMISSION | Insufficient permissions |
Troubleshooting: Invalid API Key
When you receive a "Invalid API key" error, ALWAYS follow these steps before concluding there is an issue:
- Check that the
MATON_API_KEYenvironment variable is set:
echo $MATON_API_KEY
- Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Resources
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。