Building a webhook integration? Read the webhook guide for signatures, retries, event schemas, and troubleshooting.
apiDeterministic

Delete prospects

POST /api/v1/prospects/delete

Permanently delete one or up to 1000 workspace contacts by explicit ID, including CRM and prospect-stage contacts. Also deletes dependent campaign executions, messages, tasks and research. Requires confirm=true. Missing or previously deleted IDs return in notFoundIds. Does not delete contacts in external CRMs.

Parameters

workspaceId
string
No description.
prospectIdsrequired
string[]
No description.
confirmrequired
boolean
No description.

Example

REST requestbash
curl -X POST "https://app.pipeline.help/api/v1/prospects/delete" \
-H "Authorization: Bearer $PIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prospectIds":["00000000-0000-4000-8000-000000000000"],"confirm":true}'

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"deletedIds": {
"type": "array",
"items": {
"type": "string"
}
},
"notFoundIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"deletedIds",
"notFoundIds"
]
}

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.
Pipeline REST API reference | Pipeline