---
title: "Link candidates to a skill"
method: POST
path: "/skills/{id}/candidates/_link"
tags: ["Skills"]
---

# Link candidates to a skill

`POST /skills/{id}/candidates/_link`

Link a set of candidates to a specific skill. Candidates already linked to the skill will be skipped.

## Path parameters

- `id` string, required

## Request body

- LinkCandidatesToSkillDto
  - `selection` object, required
    - `type` 'included', required
    - `ids` object, required
      - `include` string[], required

## Response `204`

Candidates linked to skill successfully

## Other responses

- `400` — Bad request - invalid candidate IDs or selection
- `401` — Unauthorized - invalid or missing authentication
- `404` — Skill not found
- `500` — Error response

---

[API](https://skmtc.net/spott/apis/spott-webhooks.md) · [All operations](https://skmtc.net/spott/apis/spott-webhooks/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spott/spott-webhooks/versions/ad1f8c51cf0a/schema)
