---
title: "Creates a language entry for the agency group candidate"
method: POST
path: "/agency-group/{agency_group_id}/candidate/{candidate_id}/languages"
tags: ["Agency Group Candidate"]
---

# Creates a language entry for the agency group candidate

`POST /agency-group/{agency_group_id}/candidate/{candidate_id}/languages`

## Request

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

## Request body

- LanguageDef: language details
  - `code` string, required
  - `proficiency` 'native' | 'limited' | 'read_write_speak', required

## Response `201`

All languages for a candidate will be returned

- AgencyGroupLanguageResponseDef: language details
  - `code` string, required
  - `proficiency` 'native' | 'limited' | 'read_write_speak', required
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `candidate_id` string, required
  - `agency_group_id` string, required

## Other responses

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