Team members & teams
Read your organization's team members and teams.
Both endpoints are read-only.
Team members
GET /api/v1/staff — scope staff:read
Sensitive fields (address, phone, banking) are never exposed.
| Query param | Description |
|---|---|
limit, cursor | Pagination. |
team_id | Filter by team. |
is_active | true or false. |
{
"object": "team_member",
"id": "st_123",
"first_name": "Jordan",
"last_name": "Lee",
"email": "jordan@studio.com",
"staff_type": "EMPLOYEE",
"is_active": true,
"team_id": "tm_123",
"user_id": "usr_123",
"workspace_id": "ws_123",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}curl "https://app.militime.ai/api/v1/staff?is_active=true" \
-H "Authorization: Bearer mt_live_your_token"Teams
GET /api/v1/teams — scope teams:read
Returns every team with a hydrated member_count.
{
"object": "team",
"id": "tm_123",
"name": "Design",
"color": "#4F46E5",
"member_count": 4,
"workspace_id": "ws_123",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}curl https://app.militime.ai/api/v1/teams \
-H "Authorization: Bearer mt_live_your_token"