---
title: "Update a candidate's source"
method: PUT
path: "/candidates/{id}/jobs/{jobId}/source"
tags: ["candidates"]
---

# Update a candidate's source

`PUT /candidates/{id}/jobs/{jobId}/source`

Update a candidate's source

## Request body

- CandidateSource
  - `sourceTypeId` string, required
  - `sourceSubTypeId` string
  - `sourceId` string, required

## Response `204`

## Other responses

- `400` — with codes: * **INVALID_SOURCE_TYPE** when provided type does not exist, * **SUBTYPE_REQUIRED** when there are more sources and subtype parameter is required, * **INVALID_SOURCE** when source id does not exist in provided type.
- `401` — Candidate access denied
- `404` — Candidate is not assigned to given job.

---

[API](https://skmtc.net/smartrecruiters/apis/apply-api.md) · [All operations](https://skmtc.net/smartrecruiters/apis/apply-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartrecruiters/apply-api/revisions/449bdc2516c9/schema)
