Get team activity

List the current activity of all active members of a team.

Endpoint

GET /api/v1/teams/{team_slug}/activity
Authenticated

Query Parameters

  • sort — one of activity_updated_at (ascending) or -activity_updated_at (descending, default).
  • page / per_page — standard page-based pagination.

Usage

curl \
  --header "Authorization: Bearer $GHIT_API_TOKEN" \
  "$GHIT_API_URL/v1/teams/ghit/activity"

curl \
  --header "Authorization: Bearer $GHIT_API_TOKEN" \
  "$GHIT_API_URL/v1/teams/ghit/activity?sort=activity_updated_at"

Success

200 OK with a paginated list of team member activities.

{
  "next": null,
  "previous": null,
  "results": [
    {
      "user_uuid": "6bd57c93-1acb-42ec-92d3-e817a6076fd4",
      "user_username": "alice",
      "user_name": "Alice",
      "activity": "Working on mentions",
      "activity_updated_at": "2026-03-20T16:00:00Z"
    }
  ]
}

All active team members are returned even if they have no activity. Members without activity have an empty activity string and a null activity_updated_at.

Errors

  • 400 Bad Request with invalid_sort when sort is not a recognized value.
  • 403 Forbidden with staff_or_member when the authenticated user is not a member of the team.
  • 404 Not Found when the team does not exist or is inactive.

Common auth errors are documented on the API overview page.