通过 OAuth 代理调用 Zoho Mail REST API,管理账户、文件夹、标签以及邮件收发。
数据分析
zoho-recruit
试用通过托管 OAuth 读写 Zoho Recruit 的候选人、职位和面试数据。
它能做什么
通过 api.maton.ai 的 OAuth 代理接入 Zoho Recruit API。支持 Candidates 与 Job Openings 的完整 CRUD,以及 Interviews 的创建与读取;提供按条件搜索、每页最多 200 条的分页与字段筛选。鉴权方式为在 Authorization 头中携带 Maton API Key,系统自动注入 Zoho Recruit 的 OAuth Token。多账号场景下可通过 Maton-Connection 头指定目标连接。所有创建、更新、删除操作执行前都必须先与用户确认。
什么时候用它
- 分页列出与筛选候选人
- 按条件、邮箱或电话搜索候选人
- 创建与更新职位(Job Opening)
- 为候选人与职位安排面试
技能文档
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://api.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://api.maton.ai/zoho-recruit/{native-api-path}
Maton 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://api.maton.ai.
List Connections
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.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://api.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://api.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": "{connection_id}",
"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://api.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
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://api.maton.ai/zoho-recruit/recruit/v2/Candidates')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '{connection_id}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
If you have multiple connections, always include this header to ensure requests go to the intended account.
Security & Permissions
- Access is scoped to candidates, job openings, interviews, and recruitment workflows within the connected Zoho Recruit account.
- All write operations require explicit user approval. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.
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://api.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://api.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}
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.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}
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://api.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"
}
]
}
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://api.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"
}
]
}
Example:
python <<'EOF'
import urllib.request, os, json
data = json.dumps({
"data": [{
"Current_Job_Title": "Senior Software Engineer"
}]
}).encode()
req = urllib.request.Request('https://api.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
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.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
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.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
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.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
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://api.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://api.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, 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
| 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: API Key Issues
- 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://api.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
Troubleshooting: Invalid App Name
- Ensure your URL path starts with
zoho-recruit. For example:
- Correct:
https://api.maton.ai/zoho-recruit/recruit/v2/Candidates - Incorrect:
https://api.maton.ai/recruit/v2/Candidates
Resources
常见问题
- 如何完成身份验证?
- 设置环境变量 MATON_API_KEY,以 Bearer Token 形式放在 Authorization 头中即可,Maton 会自动注入 Zoho Recruit 的 OAuth Token,无需自行管理。
- 同时管理多个 Zoho Recruit 账号怎么办?
- 在 api.maton.ai 为每个账号创建独立的连接,然后在请求中通过 Maton-Connection 头指定目标 connection_id,请求就会路由到对应账号。
- 写入操作会被自动执行吗?
- 不会。任何 create、update、delete 调用在执行前都需要用户明确确认,不会在后台悄悄修改记录。
相关技能
通过托管 OAuth 读写 Zoho People 的员工、部门、考勤、休假和任意表单记录。
通过 Maton 托管的 OAuth 代理读写 Zoho CRM 记录,所有写入操作均需用户确认。
通过托管 OAuth 网关读写 Zoho 日历的日历与事件。
通过 Maton API 代理,使用托管 OAuth 管理 Zoho Bookings 的预约、服务、员工和工作区。
通过托管 OAuth 网关读写 Zoho Projects 资源,所有写操作执行前需用户确认。