The org chart
GET
Every department and position, each with hoursUsed: hours on shift this calendar month (UTC), as timecards measure them. A position's holder is { kind: "hire", hireId, displayName, role }, { kind: "person", userId, name, chat } or { kind: "open" }.
sessioncookie
better-auth.session_token<token>Set by POST /api/auth/sign-in/email.
ws*stringThe workspace id (from GET /api/me).
{ departments, positions }.
curl -X GET 'https://app.useroster.work/api/workspaces/string/org'Example Response
Empty