Skip to main content
POST
cURL

Authorizations

X-API-Key
string
header
required

Your company's API key, from Settings → Integrations in Alex. The earlier API's api-key header is accepted too; if you send both headers they must carry the same key.

Headers

Idempotency-Key
string

A unique value, 1 to 255 characters, that makes the request safe to retry. See Idempotency.

Required string length: 1 - 255

Body

application/json
name
string
required

The template's name. Must be unique within your company.

Minimum string length: 1
intro
string | null

The interview's opening script.

outro
string | null

The interview's closing script.

interview_creation_notes
string | null

Notes that guide question generation when the template is used.

additional_evaluation_instructions
string | null

Extra instructions for evaluating candidates.

additional_interview_instructions
string | null

Extra instructions for conducting the interview.

estimated_duration_seconds
integer | null

The interview's estimated length, in seconds.

Required range: x >= 0
question_limit
integer | null

The most questions to generate. Leave it out or send null for no limit: the earlier API read 0 that way, and v2 refuses 0.

Required range: x >= 1
language
string | null

The interview's language, such as en.

questions
object[]
criteria
object[]
tags
object[]

Response

The created template.

object
string
required

Always "template".

Allowed value: "template"
id
string
required

The template's id.

Example:

"clx8f2k1p0000abcd1234efgh"

name
string
required

The template's name.

Example:

"Software engineer screen"

estimated_duration_seconds
integer | null
required

The interview's estimated length, in seconds.

Example:

1500

created_at
string<date-time>
required

When the template was created.

updated_at
string<date-time> | null
required

When the template last changed.