Squads API
Endpoints
Section titled “Endpoints”GET /api/squads
Section titled “GET /api/squads”List squads visible to the authenticated user, scoped by access level.
Authentication: Required
Scoping:
- Executive / Head: All squads
- Manager: Squads where the user is a manager (
is_manager = 1) - Lead / Employee: Squads the user belongs to
Response:
{ "squads": [ { "id": "squad-uuid", "name": "Squad Alpha" } ]}Admin Endpoints
Section titled “Admin Endpoints”Squad CRUD is also available via the admin API (/api/admin/squads), which requires Executive access. See the Settings page for managing squads, members, and manager assignments.