Users > Interviews

Accept an interview

POST accept an interview

Endpoint

POST /api/v1/users/interviews/:id/accept

Request

Route

POST /api/v1/users/interviews/89/accept

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNzMxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTkxLCJleHAiOjE3NDAxNDM1OTEsImp0aSI6ImQzM2UxMDZiLTcxZTgtNGY5My05N2IyLTY3YmYzZTVjMzM5ZiJ9.rR4Fbm3YekZJCIvINnqZiZ2CE8RwpetWPq3V-j1RCX8
Host: example.org
Cookie: 

Body

{
}

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/"ad2dad6f450eab2e9f5b1504cef721f8"
cache-control: max-age=0, private, must-revalidate
x-request-id: ab7af4d7-a632-4770-9916-4cf04b4436a8
x-runtime: 0.015729
content-length: 521

Body

{
  "interview": {
    "id": 89,
    "amend_end_at": null,
    "amend_start_at": null,
    "amended_by": null,
    "end_at": "2025-01-22T13:43:11.415Z",
    "interviewee": {
      "id": 476,
      "driver": {
        "id": 1731,
        "image": null,
        "phone_number": "07799 059706",
        "title": "Sammie Conroy"
      },
      "kind": "verified",
      "updated_at": "2025-01-22T13:13:11.397Z"
    },
    "interviewee_id": 476,
    "interviewer": {
      "id": 1734,
      "contact_phone_number": null,
      "image": null,
      "title": "Nikita Sauer"
    },
    "interviewer_id": 1734,
    "kind": "in_person",
    "location": "London",
    "start_at": "2025-01-22T13:13:11.415Z",
    "status": "scheduled"
  }
}