---
title: "Replace work experiences"
method: PUT
path: "/candidates/{id}/work-experiences"
tags: ["Candidates"]
---

# Replace work experiences

`PUT /candidates/{id}/work-experiences`

Replace all work experience records for a specific candidate.

## Path parameters

- `id` string, required

## Request body

- ReplaceCandidateWorkExperiencesDto
  - `items` ReplaceCandidateWorkExperienceDto[], required
    - union
      - object
        - `companyId` string, required
        - `title` string, required
        - `description` string, nullable, required
        - `startDate` string, date-time, required
        - `endDate` string, date-time, required
        - `location` CreateLocationDto, required
          - `street1` string, nullable, required
          - `street2` string, nullable, required
          - `postalCode` string, nullable, required
          - `city` string, nullable, required
          - `region` string, nullable, required
          - `state` string, nullable, required
          - `country` string, nullable, required
          - `latitude` number, nullable
          - `longitude` number, nullable
          - `type` 'primary_home' | 'secondary_home' | 'primary_work' | 'headquarters' | 'regional_office', required
        - `id` string, required
      - object
        - `companyId` string, required
        - `title` string, required
        - `description` string, nullable, required
        - `startDate` string, date-time, required
        - `endDate` string, date-time, required
        - `location` CreateLocationDto, required
          - `street1` string, nullable, required
          - `street2` string, nullable, required
          - `postalCode` string, nullable, required
          - `city` string, nullable, required
          - `region` string, nullable, required
          - `state` string, nullable, required
          - `country` string, nullable, required
          - `latitude` number, nullable
          - `longitude` number, nullable
          - `type` 'primary_home' | 'secondary_home' | 'primary_work' | 'headquarters' | 'regional_office', required

## Response `204`

Work experiences replaced successfully

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - invalid or missing authentication
- `404` — Candidate 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)
