Pipelines
Set a pipeline as default
Promote a pipeline to be the org-wide default for its type. The previously-default pipeline keeps its records but loses the default flag.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/pipelines/set-default" \ -H "Content-Type: application/json" \ -d '{ "pipelineId": "66f0a0b0c0d0e0f0a0b0c0d0" }'{ "message": "Pipeline updated", "pipeline": { "_id": "66f0a0b0c0d0e0f0a0b0c0d0", "name": "Sales pipeline", "type": "Contact", "isDefault": true }, "contactsMigrated": { "New Lead -> New": 14, "Qualified Lead -> Qualified": 8 }}