Documentation
Aozo Teams API
Attendance, leave, payroll and org-wide HR — the REST surface behind teams.aozo.in.
⚠️ No API key support here
Like Projects, Aozo Teams only accepts a Bearer JWT — no separate API key alternative.
Organization
| Method | Path | Description |
| GET | /organization | List your orgs (syncs from Central Auth) |
| POST | /organization | Create an org (name) |
| POST | /sync-org | Manually resync workspaces from Central Auth |
| GET | /org/:orgId/stats | Dashboard stats — org-wide for admins, personal for employees |
| GET | /org/:orgId/me | Your role in this org |
Members
| Method | Path | Description |
| GET | /org/:orgId/members | List members (auto-syncs from Central Auth) |
| GET | /org/:orgId/members/:userId | Member details |
| GET | /org/:orgId/members/:userId/full-details | Full employee view — tasks, attendance, leave, plus their project assignments and linked chat channels |
| POST | /org/:orgId/members | Add a member (email, role) |
| PUT | /org/:orgId/members/:userId | Update role/status |
| DELETE | /org/:orgId/members/:userId | Remove a member |
| POST | /org/:orgId/members/:userId/reset-password | Reset a member's password — ADMIN/SUPER_ADMIN only |
Attendance & leave
| Method | Path | Description |
| GET | /org/:orgId/attendance | Attendance records (?month=) |
| POST | /org/:orgId/attendance | Check in, or check out with { type: "CHECKOUT" } |
| GET | /org/:orgId/leaves | List leave requests |
| POST | /org/:orgId/leaves | Request 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
| Method | Path | Description |
| GET | /org/:orgId/payslips | List payslips for the current user |
| GET | /org/:orgId/tasks | List lightweight HR tasks |
| POST | /org/:orgId/tasks | Create a task (title, description, priority) |
Notifications
| Method | Path | Description |
| GET | /notifications/vapidPublicKey | Public — web-push VAPID key |
| GET | /notifications | List notifications (?organizationId=) |
| POST | /notifications/read | Mark one or all as read |
| POST | /notifications/subscribe | Register a push subscription |