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.eyJzdWIiOiIxMDU0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTI5LCJleHAiOjE3NDUwNTY5MjksImp0aSI6ImQxNGQzMzcxLTQ2MTUtNDU4Yi1hMWUwLTg0N2EyMzczZjhmNyJ9.BhYga9k2NG0YYKFmLzKZ7DPamhVTE9dn7CBkY90NG24
Host: example.org
Cookie: 

Body

{
  "interview": {
    "amend_start_at": "2025-03-20T10:32:09Z",
    "amend_end_at": "2025-03-20T11:02:09Z"
  }
}

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/"80383d9dea52a894b851d41fbcf8c8d5"
cache-control: max-age=0, private, must-revalidate
x-request-id: 60655e8b-638f-452c-8672-bff9ad5f0329
x-runtime: 0.024201
content-length: 570

Body

{
  "interview": {
    "id": 37,
    "amend_end_at": "2025-03-20T11:02:09.000Z",
    "amend_start_at": "2025-03-20T10:32:09.000Z",
    "amended_by": "interviewer",
    "end_at": "2025-03-20T10:32:09.000Z",
    "interviewee": {
      "id": 297,
      "driver": {
        "id": 1051,
        "image": null,
        "phone_number": "07312 159056",
        "title": "Renaldo Toy"
      },
      "kind": "verified",
      "updated_at": "2025-03-20T10:02:09.000Z"
    },
    "interviewee_id": 297,
    "interviewer": {
      "id": 1054,
      "contact_phone_number": null,
      "image": null,
      "title": "Laverne Rau"
    },
    "interviewer_id": 1054,
    "kind": "video_call",
    "location": "London",
    "start_at": "2025-03-20T10:12:09.000Z",
    "status": "amended"
  }
}