Skip to main content
Assessment flows group ordered steps (each step is an existing assessment). Use this API to list flows, create or update them, inspect a flow with step metadata, list candidates assigned to a flow, and assign a candidate (which creates the assignment and sends the first-step invite email). Base path: /v1/partner/assessment-flows
Authentication: Authorization: Bearer YOUR_API_KEY
Related: single assessments are managed under Assessments. Workspace users and teams are under Users and Teams.

List flows

GET /assessment-flows

Returns all non-deleted flows for the API key’s workspace, including steps and candidate counts where available.

Example request

Example response


Create flow

POST /assessment-flows

Body (JSON): Each step:

Example request

Example response


Update flow

PATCH /assessment-flows/:id

Updates name, description, status, and steps. The underlying service restricts changing or removing existing stages; you may adjust thresholds and append new stages (same rules as the in-app flow editor). Body: Same shape as create (flowName, optional description, optional status, steps).

Get flow details

GET /assessment-flows/:id

Returns the flow with steps, including assessmentName and assessmentDuration enriched from assessment records.

Path parameters

If the flow does not belong to the workspace, the API returns 404.

List flow candidates

GET /assessment-flows/:id/candidates

Paginated list of candidates assigned to the flow, with attempts and submission metadata when available.

Query parameters

Example response


Assign candidate

POST /assessment-flows/:id/assign

Creates a flow assignment and sends the first step assessment invite email (same behavior as the client app). Either provide email (and optional firstName / lastName) or jobCandidateId so the server can resolve the candidate. Body (JSON):

Example response


Errors

Validation errors return 400 with code: "INVALID_REQUEST". Missing or cross-workspace flows return 404 with code: "NOT_FOUND". Other failures may return 403 or 500 with an error object; see API Reference Overview.