Skip to main content
GET
/
job-interview-get
Get interview definition
curl --request GET \
  --url https://cool.jobmojito.com/functions/v1/job-interview-get \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "created_at": "2026-01-15T09:30:00.000Z",
  "updated_at": "2026-01-20T14:05:00.000Z",
  "is_multistage": true,
  "calc_definition_json": "<unknown>"
}

Authorizations

Authorization
string
header
required

Supabase JWT access token, passed as Authorization: Bearer <token>.

Query Parameters

position_id
string<uuid>
required

Identifier of either an interview definition (single-stage) or a position definition (multi-stage). The function resolves whichever matches.

Minimum string length: 1
Example:

"00000000-0000-0000-0000-000000000000"

Response

The resolved interview definition.

name
string | null
required

Interview or position name.

created_at
string | null
required
Example:

"2026-01-15T09:30:00.000Z"

updated_at
string | null
required
Example:

"2026-01-20T14:05:00.000Z"

is_multistage
boolean
required

True when the id resolved to a multi-stage position rather than a single interview.

calc_definition_json
any | null

The compiled interview definition JSON (structure varies by interview type).