POST /deal-stages
Pushes your system’s pipeline and stage definitions into Recotap. Max 20 pipelines per request. Create-only — if any pipelineId in the request already exists, the entire request is rejected with 409 Conflict. No partial creates.
| Field | Type | Required | Description |
|---|---|---|---|
pipelines | array | Yes | Min 1, max 20 pipeline objects |
| Field | Type | Required | Description |
|---|---|---|---|
pipelineId | string | Yes | Your system’s unique pipeline ID e.g. "smb-pipeline" |
pipelineLabel | string | Yes | Display name for the pipeline e.g. "SMB Sales" |
stages | array | Yes | Min 1 stage object |
| Field | Type | Required | Description |
|---|---|---|---|
stageId | string | Yes | Your system’s unique stage ID within this pipeline e.g. "s1" |
stageLabel | string | Yes | Display name for the stage e.g. "Closed Won" |
data
409 Conflict
Returned when anypipelineId in the request already exists. The entire request is rejected — no pipelines are created.
| Condition | customMessage |
|---|---|
Any pipelineId already exists | Pipeline(s) already exist: smb-pipeline |