---
title: "Get a list of activity type"
method: GET
path: "/system/activity-type"
tags: ["System Activity Type"]
---

# Get a list of activity type

`GET /system/activity-type`

Retrieve a list of activity type

## Query parameters

- `page` integer
- `items_per_page` integer
- `sortBy` string[]
- `name` string
- `code` string
- `context` string
- `disabled` boolean
- `subject_type` string

## Response `200`

The system activity types will be returned

- AdvancedSearchActivityTypesResponseDef[]
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `name` string, required
  - `code` string, required
  - `description` string
  - `disabled` boolean, required
  - `order` integer, required
  - `icon` string
  - `context` 'agency' | 'agency-group', required

## Other responses

- `204` — No Content. There were no records to return based on your query.
- `400` — Validation error on get
- `401` — Failed to authenticate the user making the request
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
