Get All Pipelines
Retrieve all pipelines for your company.GET /pipelines
Authentication
Requires API key authentication viaAuthorization: Bearer YOUR_API_KEY header.
Example Request
Example Response
Get Pipeline Details
Retrieve a specific pipeline with all its stages.GET /pipelines/:pipelineId
Authentication
Requires API key authentication viaAuthorization: Bearer YOUR_API_KEY header.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
pipelineId | integer | The unique identifier of the pipeline |
Example Request
Example Response
Error Responses
Pipeline not found:Create Pipeline
Create a new job pipeline for your company. A new pipeline will automatically include default stages:SOURCED, APPLIED, ASSESSMENT, SCREEN, SHORTLISTED, and HIRED. See Valid Stage Types for details.
POST /pipelines
Authentication
Requires API key authentication viaAuthorization: Bearer YOUR_API_KEY header.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Pipeline name (must be non-empty after trimming) |
Request Body Example
Example Request
Example Response
Error Responses
Missing pipeline name:Update Pipeline
Update the name of an existing pipeline.PUT /pipelines/:pipelineId
Authentication
Requires API key authentication viaAuthorization: Bearer YOUR_API_KEY header.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
pipelineId | integer | The unique identifier of the pipeline to update |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | New pipeline name (must be non-empty after trimming) |
Request Body Example
Example Request
Example Response
Error Responses
Pipeline not found:Create or Update Pipeline Stage
Create a new stage or update an existing stage in a pipeline. When updating, you can optionally change the stage’s order, which will automatically adjust the order of other stages.POST /pipelines/stages
Authentication
Requires API key authentication viaAuthorization: Bearer YOUR_API_KEY header.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
pipelineId | integer | Yes | The unique identifier of the pipeline |
name | string | Yes | Stage name (required for new stages, optional for updates) |
type | string | Yes | Stage type (required for new stages, optional for updates). Valid types: ASSESSMENT, SCREEN, SHORTLISTED, OFFER, ONBOARDING |
stageId | integer | No | Stage ID (if provided, updates existing stage; if omitted, creates new stage) |
order | integer | No | Desired order position (1-based). If not provided, new stages are placed before HIRED stage. When updating, adjusts other stages’ orders automatically. |
Request Body Examples
Create a new stage:Example Request
Example Response
Create response (201):Error Responses
Invalid stage type:Delete Pipeline Stage
Delete a stage from a pipeline. All candidates in the deleted stage will be moved to the specified new stage. The remaining stages will be automatically reordered.DELETE /pipelines/stages/:stageId
Authentication
Requires API key authentication viaAuthorization: Bearer YOUR_API_KEY header.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
stageId | integer | The unique identifier of the stage to delete |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
pipelineId | integer | Yes | The unique identifier of the pipeline |
newStageId | integer | Yes | The stage ID where candidates from the deleted stage should be moved |
Request Body Example
Example Request
Example Response
Error Responses
Cannot delete system stages:Valid Stage Types
When creating or updating pipeline stages, you must use one of the following valid stage types:| Stage Type | Description | Default | Editable | Deletable |
|---|---|---|---|---|
SOURCED | Candidates who have been sourced but haven’t applied | Yes | No (name only) | No |
APPLIED | Candidates who have applied to the job | Yes | No (name only) | No |
ASSESSMENT | Candidates in assessment/interview stage | Yes | Yes | Yes |
SCREEN | Candidates in screening stage | Yes | Yes | Yes |
SHORTLISTED | Candidates who have been shortlisted | Yes | Yes | Yes |
OFFER | Candidates who have received an offer | No | Yes | Yes |
ONBOARDING | Candidates in onboarding process | No | Yes | Yes |
HIRED | Candidates who have been hired | Yes | No (name only) | No |
- Default Stages: When you create a new pipeline, it automatically includes these default stages:
SOURCED,APPLIED,ASSESSMENT,SCREEN,SHORTLISTED, andHIRED. - System Stages (
SOURCED,APPLIED,HIRED): These stages cannot be deleted or have their type changed. Only the name can be updated. - Custom Stages (
ASSESSMENT,SCREEN,SHORTLISTED,OFFER,ONBOARDING): These stages can be created, updated (including type), and deleted. - Stage Type Validation: When creating a new stage, the
typefield must be one of the valid types listed above. Invalid types will result in a validation error.
Notes
- Pipeline Ownership: All pipelines belong to a company. You can only access and modify pipelines that belong to your company.
-
Stage Ordering:
- Stages have an order (1-based) that determines their position in the pipeline
- When creating a new stage, you can specify an
orderto place it at a specific position. If not specified, it will be placed before the HIRED stage - When updating a stage’s order, other stages will automatically be adjusted to maintain sequential ordering
- The
SOURCEDstage order is locked and cannot be changed
-
Stage Deletion:
- When deleting a stage, all candidates in that stage must be moved to another stage (specified by
newStageId) - System stages (
SOURCED,APPLIED,HIRED) cannot be deleted - After deletion, remaining stages are automatically reordered sequentially
- When deleting a stage, all candidates in that stage must be moved to another stage (specified by
.png?fit=max&auto=format&n=lKy84_BssSCy2hcz&q=85&s=ac7c949427cc2893306f6036415f087e)