apiDeterministic
Create pipeline stage
POST /api/pipeline-stages
Create a custom CRM stage with a name, color and optional order.
Parameters
workspaceId
string
No description.
stage_namerequired
string
No description.
color
string
No description.
stage_order
integer
No description.
Example
REST requestbash
curl -X POST "https://app.pipeline.help/api/pipeline-stages" \-H "Authorization: Bearer $PIPELINE_API_KEY" \-H "Content-Type: application/json" \-d '{"stage_name":"example"}'
Response
Success response schemajson schema
{"type": "object","properties": {"stage": {"type": "object","properties": {"id": {"type": "string"},"workspaceId": {"type": "string"},"stageName": {"type": "string"},"stageOrder": {"type": "number"},"color": {"type": "string"},"isActive": {"type": "boolean"},"isDefault": {"type": "boolean"}},"required": ["id","workspaceId","stageName","stageOrder","color","isActive","isDefault"]}},"required": ["stage"]}
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.