Duplicate pipeline
documentedCreate a duplicate of an existing pipeline.
POST /api/v2/pipelines/{pipelineId}/duplicatePipelinesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
Note: Official Capsule API v2 documentation confirms the endpoint and auth method used here. The Duplicate Pipeline endpoint is POST https://api.capsulecrm.com/api/v2/pipelines/{pipelineId}/duplicate, and authentication is via OAuth 2 Bearer tokens. See: Capsule API Pipeline - Duplicate pipeline and Authentication guidance. ([developer.capsulecrm.com](https://developer.capsulecrm.com/v2/operations/Pipeline))
npx -y keychains@latest curl "https://api.capsulecrm.com/api/v2/pipelines/{{$pipelineId}}/duplicate" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"pipeline": {"name": "{{$name}}", "description": "{{$description}}"}}'