cURL
curl --request POST \ --url https://your-instance.example.com/api/pipelines \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "pipelineId": "<string>", "stages": [ { "oldStage": "<string>", "newStage": "<string>", "color": "<string>" } ], "pipelineStages": [ { "_id": "<string>", "name": "<string>", "color": "<string>", "position": 123 } ] } '
{ "message": "<string>", "pipeline": { "_id": "<string>", "name": "<string>", "description": "<string>", "organizationId": "<string>", "type": "Contact", "isDefault": true, "isActive": true, "stages": [ { "name": "<string>", "color": "<string>" } ], "pipelineStageIds": [ "<string>" ], "pipelineStages": [ { "_id": "<string>", "name": "<string>", "color": "<string>", "position": 123 } ], "createdBy": "<string>", "updatedBy": "<string>" }, "contactsMigrated": {} }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Contact
Application
Show child attributes
Pipeline updated