---
title: "Retrieves a list of Documents for specific agency group candidate"
method: GET
path: "/agency-group/{agency_group_id}/candidate/{candidate_id}/documents"
tags: ["Agency Group Candidate Documents"]
---

# Retrieves a list of Documents for specific agency group candidate

`GET /agency-group/{agency_group_id}/candidate/{candidate_id}/documents`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency-group/{agency_group_id}/candidate/{candidate_id}/documents`
- Auth: HTTP basic and HTTP basic and HTTP basic

## Query parameters

- `page` integer
- `items_per_page` integer
- `_id` string[]
- `name` string
- `status` string
- `uploaded_by_id` string
- `uploaded_by_type` string
- `uploaded_by_name` string
- `system_document_type_id` string
- `sortBy` string[]

## Response `200`

All Documents will be returned for specific agency group candidate

- DocumentResponseModelDef[]
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `name` string, required
  - `status` string, required
  - `metadata` object, required
    - `file_size` integer, required
    - `file_type` string, required
    - `etag` string, required
    - `md5_digest` string, required
    - `original_file_name` string
  - `entity` object, required
    - `entity_id` string, required
    - `entity_type` string, required
    - `name` string
  - `uploaded_by` object, required
    - `entity_id` string, required
    - `entity_type` string, required
    - `name` string, required
  - `verified_by` object
    - `entity_id` string, required
    - `entity_type` string, required
    - `name` string
    - `comment` string
  - `rejected_by` object
    - `entity_id` string, required
    - `entity_type` string, required
    - `name` string
    - `comment` string, required
  - `system_document_type_id` string

## 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
- `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)
