---
title: "Get a list of agency group consultant"
method: GET
path: "/agency-group/{agency_group_id}/candidate/{candidate_id}/consultant"
tags: ["Agency Group Candidate Consultant"]
---

# Get a list of agency group consultant

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

## Request

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

Retrieves a list of Agency Group consultant

## Query parameters

- `page` integer
- `items_per_page` integer
- `consultant_role` string
- `assigned_user_id` string
- `assigned_user_name` string
- `sortBy` string[]

## Response `200`

All consultant that are linked with agency group candidate will be returned

- AgencyGroupCandidateConsultantResponseDef[]
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `agency_group_id` string, required
  - `candidate_id` string, required
  - `consultant_role` string, required
  - `assigned_user` AssignedUserDef, required
    - `_id` string, required
    - `name` string: This is a deprecated property, any value passed on this property will be ignored and will be removed in the future

## Other responses

- `204`: No Content. There were no records to return based on your query.
- `400`: Validation errors caused by missing or invalid header / path or payloads
- `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)
