---
title: "It will create agency group consultant role"
method: POST
path: "/agency-group/{agency_group_id}/consultant_role"
tags: ["Agency Group Consultant Role"]
---

# It will create agency group consultant role

`POST /agency-group/{agency_group_id}/consultant_role`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency-group/{agency_group_id}/consultant_role`
- Auth: HTTP basic

Creates Agency Group consultant role

## Request body

- AgencyGroupConsultantBodyDef
  - `name` string, required: The role name

## Response `201`

The created Agency Group consultant role

- AgencyGroupConsultantResponseDef
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `agency_group_id` string, required
  - `name` string, required

## Other responses

- `400`: Validation Error. Usually caused by a missing or invalid parameter.
- `401`: Failed to authenticate the user making the request
- `409`: Failed when some conflicts occurred with the data
- `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)
