---
title: "Modifies a timeslot"
method: PATCH
path: "/interviews/{interviewId}/timeslots/{timeslotId}"
tags: ["timeslots"]
---

# Modifies a timeslot

`PATCH /interviews/{interviewId}/timeslots/{timeslotId}`

Supported only for interviews created via the Public API.

## Request body

- Timeslot
  - `id` string, guid
  - `interviewType` string
  - `title` string
  - `place` string
  - `startsOn` string, date-time, required
  - `endsOn` string, date-time, required
  - `interviewers` Interviewer[], required
    - `id` string, required
    - `status` 'accepted' | 'declined' | 'pending' | 'tentative', required
  - `candidateStatus` 'accepted' | 'declined' | 'pending' | 'tentative'
  - `noShow` boolean

## Response `204`

Timeslot updated

## Other responses

- `400` — Missing data in timeslot object
- `403` — Forbidden to update a timeslot
- `404` — with codes: * **INTERVIEW_NOT_FOUND** when no interview with given id * **TIMESLOT_NOT_FOUND** when no timeslot with given id
- `422` — When input validation fails or with codes: * **INACTIVE_OR_DELETED_INTERVIEWERS** when at least one of the interviewers is inactive or deleted * **END_DATE_BEFORE_START_DATE** when end date of the timeslot is before start date * **NON_EXISTING_INTERVIEWERS** when at least one of the interviewers does not exist
- `500` — Unexpected error

---

[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/versions/449bdc2516c9/schema)
