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.eyJzdWIiOiIxMDAwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTI4LCJleHAiOjE3NDUwNTY5MjgsImp0aSI6IjNlYmU2M2U4LTBiNDYtNGZiYy1iYjhkLTllYTQ2ZTJlNzVlOSJ9.eQ9vy7tNj7OP7GYB-LBJ6k48AG6-5CA9533hieSMTtg
Host: example.org
Cookie:
Body
{
"interview": {
"location": "https://google.meet",
"start_at": "2025-03-20T10:32:08Z",
"end_at": "2025-03-20T11:02:08Z",
"interviewer_id": 1001,
"interviewee_id": 277
}
}
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/"55f92a4fb00a7d14bfc9287b0362a925"
cache-control: max-age=0, private, must-revalidate
x-request-id: 01a4d000-fd61-402a-a34d-7269899c4bd9
x-runtime: 0.020379
content-length: 520
Body
{
"interview": {
"id": 27,
"amend_end_at": null,
"amend_start_at": null,
"amended_by": null,
"end_at": "2025-03-20T11:02:08.000Z",
"interviewee": {
"id": 277,
"driver": {
"id": 997,
"image": null,
"phone_number": "123",
"title": "Jude Howell"
},
"kind": "verified",
"updated_at": "2025-03-20T10:02:08.958Z"
},
"interviewee_id": 277,
"interviewer": {
"id": 1001,
"contact_phone_number": null,
"image": null,
"title": "Luisa Hintz"
},
"interviewer_id": 1001,
"kind": "video_call",
"location": "https://google.meet",
"start_at": "2025-03-20T10:32:08.000Z",
"status": "pending"
}
}