Lead tasks API
18 endpoints. All requests need an Authorization header — see Authentication. API keys additionally need the matching scope.
| Method | Path | Description |
|---|---|---|
PATCH |
/api/prosecution/enrollments/{enrollment_id} |
Update Enrollment Accepts a JSON body. |
DELETE |
/api/prosecution/enrollments/{enrollment_id} |
Delete Enrollment |
GET |
/api/prosecution/leads/{lead_id}/enrollments |
List Lead Enrollments |
GET |
/api/prosecution/leads/{lead_id}/tasks |
List Lead Tasks |
GET |
/api/prosecution/sequences/ |
List Sequences Query: limit, offset. |
POST |
/api/prosecution/sequences/ |
Create Sequence Accepts a JSON body. |
GET |
/api/prosecution/sequences/{seq_id} |
Get Sequence |
PATCH |
/api/prosecution/sequences/{seq_id} |
Update Sequence Accepts a JSON body. |
DELETE |
/api/prosecution/sequences/{seq_id} |
Delete Sequence |
POST |
/api/prosecution/sequences/{seq_id}/enroll |
Enroll Lead Accepts a JSON body. |
GET |
/api/prosecution/sequences/{seq_id}/enrollments |
List Sequence Enrollments Query: limit, offset. |
GET |
/api/prosecution/tasks/ |
List Tasks Query: status, assigned_to, limit, offset. |
POST |
/api/prosecution/tasks/ |
Create Task Accepts a JSON body. |
GET |
/api/prosecution/tasks/my-queue |
My Queue |
GET |
/api/prosecution/tasks/overdue-count |
Overdue Count |
PATCH |
/api/prosecution/tasks/{task_id} |
Update Task Accepts a JSON body. |
POST |
/api/prosecution/tasks/{task_id}/complete |
Complete Task |
POST |
/api/prosecution/tasks/{task_id}/skip |
Skip Task |
Try it
The full request/response schema for every endpoint is in the OpenAPI spec served by your own workspace.