Update an interview
Interviews
PATCH updates an interview
Endpoint
PATCH /api/v1/interviews/:id
Parameters
Name | Description |
---|---|
interview[kind] | Interview kind |
interview[start_at] | Interview start at |
interview[end_at] | Interview end at |
interview[interviewee_id] | Interview interviewee |
interview[interviewer_id] | Interview interviewer |
interview[location] | Interview location |
Request
Route
PATCH /api/v1/interviews/27
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI5OTkiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDg1MTY1MTcsImV4cCI6MTc1MTEwODUxNywianRpIjoiODAwMGY5ZWMtODJmOC00MWU1LWEwNWMtOGQ4ZTU2NTM5ZjdjIn0.CJO8xc52iz2qb8lMyYQMCFAJ5Y6jX0NzD2w4vK1xk0Y
Host: example.org
Cookie:
Body
{
"interview": {
"location": "https://google.meet",
"start_at": "2025-05-29T11:31:57Z",
"end_at": "2025-05-29T12:01:57Z",
"interviewer_id": 1000,
"interviewee_id": 276
}
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"fbcc568482cfe5495e3106bb1f54a209"
cache-control: max-age=0, private, must-revalidate
x-request-id: 0232a443-0123-485d-9a32-500e78cdc687
x-runtime: 0.019837
content-length: 530
Body
{
"interview": {
"id": 27,
"amend_end_at": null,
"amend_start_at": null,
"amended_by": null,
"end_at": "2025-05-29T12:01:57.000Z",
"interviewee": {
"id": 276,
"driver": {
"id": 996,
"image": null,
"phone_number": "123",
"title": "Cleveland Lueilwitz"
},
"kind": "verified",
"updated_at": "2025-05-29T11:01:57.211Z"
},
"interviewee_id": 276,
"interviewer": {
"id": 1000,
"contact_phone_number": null,
"image": null,
"title": "Fallon Marvin"
},
"interviewer_id": 1000,
"kind": "video_call",
"location": "https://google.meet",
"start_at": "2025-05-29T11:31:57.000Z",
"status": "pending"
}
}