---
title: "List all the status for specified candidate of specified agency"
method: GET
path: "/agency/{agency_id}/candidate/{candidate_id}/status"
tags: ["Agency Candidate Status"]
---

# List all the status for specified candidate of specified agency

`GET /agency/{agency_id}/candidate/{candidate_id}/status`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency/{agency_id}/candidate/{candidate_id}/status`
- Auth: HTTP basic and HTTP basic and HTTP basic

Retrieves a list all the status for specified agency candidate

## Query parameters

- `page` integer
- `items_per_page` integer
- `status` string
- `changed_by_name` string
- `reason` string
- `sortBy` string[]

## Response `200`

Status history list for candidate that are linked with agency will be returned

- AgencyCandidateStatusResponseDef[]
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `agency_id` string, required
  - `candidate_id` string, required
  - `status` string, required
  - `changed_at` string, date-time, required
  - `comment` string
  - `reason` string
  - `changed_by` ChangedByDef, required
    - `id` string
    - `name` string
    - `system` boolean
  - `historical_status` boolean

## 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
- `403`: Permission denied error
- `404`: Resource not found
- `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.dev/staffshift/apis/staffshift-api-gateway/revisions/1f079f6b65f5?raw)
