Skip to main content

Create an interview

POST 

/interviews

Interview as a Service: give Tarkflo one candidate and a job, get back a link the candidate opens to interview on Tarkflo. Use this instead of Submit candidates when your own system runs the pipeline and you only want Tarkflo to run the interview and hand back a result.

The job's workflow must open with an AI interview round — that is what makes it job_id ready for this call. Build one in the dashboard once (questions, rubric, scoring), then create interviews against it for as many candidates as you like. A job whose pipeline opens some other way, such as a CV screen or an outreach step, gets 409 job_not_interview_ready; use Submit candidates for that job instead.

The response carries interview_url. It is shown once, here. Tarkflo stores only a hash of the token inside it, the same way an API key's own secret works, so it cannot be read back later. If you lose it before handing it to the candidate, call Get a fresh interview link.

Tarkflo never emails the candidate here. Your own system owns that: send the link however you already reach candidates. Set notify_candidate on Submit candidates if you want Tarkflo's own invitation email instead.

Send an Idempotency-Key header, the same rules as Submit candidates: a retry with the same key and body gets the original response back, marked Idempotent-Replayed: true, and creates nothing twice.

The role this key acts as needs the candidates:create permission.

Request​

Responses​

The interview was created.

Response Headers
    X-RateLimit-Limit

    Requests allowed in the current window for this key.

    X-RateLimit-Remaining

    Requests left in the current window.