Access the Zoho People API with managed OAuth authentication. Manage employees, departments, designations, attendance, leave, and custom HR forms with full CRUD operations.
Reference
List All Forms
Get a list of all available forms in your Zoho People account.
GET /zoho-people/people/api/formsExample:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/zoho-people/people/api/forms')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFResponse:
{
"response": {
"result": [
{
"componentId": 943596000000035679,
"iscustom": false,
"displayName": "Employee",
"formLinkName": "employee",
"PermissionDetails": {
"Add": 3,
"Edit": 3,
"View": 3
},
"isVisible": true,
"viewDetails": {
"view_Id": 943596000000035705,
"view_Name": "P_EmployeeView"
}
}
],
"message": "Data fetched successfully",
"status": 0
}
}List Employees (Bulk Records)
GET /zoho-people/people/api/forms/employee/getRecords?sIndex={startIndex}&limit={limit}Query Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
sIndex | integer | 1 | Starting index (1-based) |
limit | integer | 200 | Number of records (max 200) |
SearchColumn | string | - | EMPLOYEEID or EMPLOYEEMAILALIAS |
SearchValue | string | - | Value to search for |
modifiedtime | long | - | Timestamp in milliseconds for modified records |
Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/zoho-people/people/api/forms/employee/getRecords?sIndex=1&limit=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFResponse:
{
"response": {
"result": [
{
"943596000000294355": [
{
"FirstName": "Christopher",
"LastName": "Brown",
"EmailID": "christopherbrown@zylker.com",
"EmployeeID": "S20",
"Department": "Management",
"Designation": "Administration",
"Employeestatus": "Active",
"Gender": "Male",
"Date_of_birth": "02-Feb-1987",
"Zoho_ID": 943596000000294355
}
]
}
],
"message": "Data fetched successfully",
"status": 0
}
}List Employees (View-based)
GET /zoho-people/api/forms/{viewName}/records?rec_limit={limit}Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/zoho-people/api/forms/P_EmployeeView/records?rec_limit=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFSearch Employee by ID
GET /zoho-people/people/api/forms/employee/getRecords?SearchColumn=EMPLOYEEID&SearchValue={employeeId}Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/zoho-people/people/api/forms/employee/getRecords?SearchColumn=EMPLOYEEID&SearchValue=S20')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFSearch Employee by Email
GET /zoho-people/people/api/forms/employee/getRecords?SearchColumn=EMPLOYEEMAILALIAS&SearchValue={email}List Departments
GET /zoho-people/people/api/forms/department/getRecords?sIndex={startIndex}&limit={limit}Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/zoho-people/people/api/forms/department/getRecords?sIndex=1&limit=50')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFResponse:
{
"response": {
"result": [
{
"943596000000294315": [
{
"Department": "IT",
"Department_Lead": "",
"Parent_Department": "",
"Zoho_ID": 943596000000294315
}
]
}
],
"message": "Data fetched successfully",
"status": 0
}
}List Designations
GET /zoho-people/people/api/forms/designation/getRecords?sIndex={startIndex}&limit={limit}Example:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/zoho-people/people/api/forms/designation/getRecords?sIndex=1&limit=50')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFResponse:
{
"response": {
"result": [
{
"943596000000294399": [
{
"Designation": "Team Member",
"EEO_Category": "Professionals",
"Zoho_ID": 943596000000294399
}
]
}
],
"message": "Data fetched successfully",
"status": 0
}
}Insert Record
Add a new record to any form.
POST /zoho-people/people/api/forms/json/{formLinkName}/insertRecord
Content-Type: application/x-www-form-urlencoded
inputData={field1:'value1',field2:'value2'}Example - Create Department:
python <<'EOF'
import urllib.request, os, json
from urllib.parse import urlencode
inputData = json.dumps({"Department": "Engineering"})
data = urlencode({"inputData": inputData}).encode()
req = urllib.request.Request('https://api.maton.ai/zoho-people/people/api/forms/json/department/insertRecord', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/x-www-form-urlencoded')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFResponse:
{
"response": {
"result": {
"pkId": "943596000000300001",
"message": "Successfully Added"
},
"message": "Data added successfully",
"status": 0
}
}Update Record
Modify an existing record.
POST /zoho-people/people/api/forms/json/{formLinkName}/updateRecord
Content-Type: application/x-www-form-urlencoded
inputData={field1:'newValue'}&recordId={recordId}Example - Update Employee:
python <<'EOF'
import urllib.request, os, json
from urllib.parse import urlencode
inputData = json.dumps({"Department": "Engineering"})
data = urlencode({
"inputData": inputData,
"recordId": "943596000000294355"
}).encode()
req = urllib.request.Request('https://api.maton.ai/zoho-people/people/api/forms/json/employee/updateRecord', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/x-www-form-urlencoded')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOFList Leave Records
GET /zoho-people/people/api/forms/leave/getRecords?sIndex={startIndex}&limit={limit}Add Leave
POST /zoho-people/people/api/forms/json/leave/insertRecord
Content-Type: application/x-www-form-urlencoded
inputData={Employee_ID:'EMP001',Leavetype:'123456',From:'01-Feb-2026',To:'02-Feb-2026'}Note: Attendance endpoints require additional OAuth scopes.
Get Attendance Entries
GET /zoho-people/people/api/attendance/getAttendanceEntries?date={date}&dateFormat={format}Parameters:
| Parameter | Type | Description |
|---|---|---|
date | string | Date in organization format |
dateFormat | string | Date format (e.g., dd-MMM-yyyy) |
empId | string | Employee ID (optional) |
emailId | string | Employee email (optional) |
Check-In/Check-Out
POST /zoho-people/people/api/attendance
Content-Type: application/x-www-form-urlencoded
dateFormat=dd/MM/yyyy HH:mm:ss&checkIn={datetime}&checkOut={datetime}&empId={empId}