Documentation

Aozo Teams API

Attendance, leave, payroll and org-wide HR — the REST surface behind teams.aozo.in.

Base URLhttps://teams.aozo.in/api
AuthBearer JWT only
Formatapplication/json
⚠️ No API key support here

Like Projects, Aozo Teams only accepts a Bearer JWT — no separate API key alternative.

Organization

MethodPathDescription
GET/organizationList your orgs (syncs from Central Auth)
POST/organizationCreate an org (name)
POST/sync-orgManually resync workspaces from Central Auth
GET/org/:orgId/statsDashboard stats — org-wide for admins, personal for employees
GET/org/:orgId/meYour role in this org

Members

MethodPathDescription
GET/org/:orgId/membersList members (auto-syncs from Central Auth)
GET/org/:orgId/members/:userIdMember details
GET/org/:orgId/members/:userId/full-detailsFull employee view — tasks, attendance, leave, plus their project assignments and linked chat channels
POST/org/:orgId/membersAdd a member (email, role)
PUT/org/:orgId/members/:userIdUpdate role/status
DELETE/org/:orgId/members/:userIdRemove a member
POST/org/:orgId/members/:userId/reset-passwordReset a member's password — ADMIN/SUPER_ADMIN only

Attendance & leave

MethodPathDescription
GET/org/:orgId/attendanceAttendance records (?month=)
POST/org/:orgId/attendanceCheck in, or check out with { type: "CHECKOUT" }
GET/org/:orgId/leavesList leave requests
POST/org/:orgId/leavesRequest leave (type, startDate, endDate, reason)
curl -X POST https://teams.aozo.in/api/org/YOUR_ORG_ID/attendance \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "type": "CHECKOUT" }'

Payroll & tasks

MethodPathDescription
GET/org/:orgId/payslipsList payslips for the current user
GET/org/:orgId/tasksList lightweight HR tasks
POST/org/:orgId/tasksCreate a task (title, description, priority)

Notifications

MethodPathDescription
GET/notifications/vapidPublicKeyPublic — web-push VAPID key
GET/notificationsList notifications (?organizationId=)
POST/notifications/readMark one or all as read
POST/notifications/subscribeRegister a push subscription