Interviews

Amend an interview

POST amend an interview

Endpoint

POST /api/v1/interviews/:id/amend

Parameters

Name Description
interview[amend_start_at] required Interview amend start at
interview[amend_end_at] required Interview amend end at

Request

Route

POST /api/v1/interviews/37/amend

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMDUzIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTE4LCJleHAiOjE3NTExMDg1MTgsImp0aSI6ImVlZjRlOGQ2LTRhNTItNDBmYS04YjZmLWE2MDU0YWU1YTZkOCJ9.fwpPXbvtetJ9d6-_TauOfQtIHhiuvY-1s8u3KIWS1mU
Host: example.org
Cookie: 

Body

{
  "interview": {
    "amend_start_at": "2025-05-29T11:31:58Z",
    "amend_end_at": "2025-05-29T12:01:58Z"
  }
}

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/"388ca22850b971a907b5fcecf15fc833"
cache-control: max-age=0, private, must-revalidate
x-request-id: feeeeafe-7dc2-45ef-9e90-c9d8cf0f1900
x-runtime: 0.023608
content-length: 583

Body

{
  "interview": {
    "id": 37,
    "amend_end_at": "2025-05-29T12:01:58.000Z",
    "amend_start_at": "2025-05-29T11:31:58.000Z",
    "amended_by": "interviewer",
    "end_at": "2025-05-29T11:31:58.000Z",
    "interviewee": {
      "id": 296,
      "driver": {
        "id": 1050,
        "image": null,
        "phone_number": "07435 393336",
        "title": "Clair Hoeger"
      },
      "kind": "verified",
      "updated_at": "2025-05-29T11:01:58.000Z"
    },
    "interviewee_id": 296,
    "interviewer": {
      "id": 1053,
      "contact_phone_number": null,
      "image": null,
      "title": "Lieselotte Pfannerstill"
    },
    "interviewer_id": 1053,
    "kind": "video_call",
    "location": "London",
    "start_at": "2025-05-29T11:11:58.000Z",
    "status": "amended"
  }
}