Drop Lead¶
Drops the lead.
Endpoint¶
Path Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
lead_id |
string | Yes | The lead. |
Request Body¶
| Parameter | Type | Required | Description |
|---|---|---|---|
reason |
string | No | Why the lead was dropped, as free text of at most 50 characters after trimming. Kept on the lead as drop_reason — MANUAL when omitted — and in its history. One of your organisation's drop reasons goes in reason_id, instead or as well. |
reason_id |
string | No | One of the Dropped status's reasons, from List Lead Status Definitions. 400 for a reason the Dropped status doesn't have. |
subreason_id |
string | No | One of that reason's sub-reasons. Requires reason_id. |
notes |
string | No | Free text kept on the dropped lead as its status notes, replacing the last status's. |
Request¶
With one of your organisation's drop reasons:
curl --location '{base_url}/v2/leads/3f8b21c4-5d9e-4a17-b6c2-0e7154a9d833/drop' \
--header 'Authorization: Bearer JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"reason_id": "6c2e9f41-8b5d-4a7c-9e13-2d4f7a8b1c95",
"subreason_id": "b9d14e72-3c6a-4f85-a0b2-7e5c1d9f4a36",
"notes": "Patient moved to another state."
}'
Or with free text:
curl --location '{base_url}/v2/leads/3f8b21c4-5d9e-4a17-b6c2-0e7154a9d833/drop' \
--header 'Authorization: Bearer JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"reason": "Chose another provider"
}'
Response¶
Success Response¶
Code: 200 OK
{
"id": "3f8b21c4-5d9e-4a17-b6c2-0e7154a9d833",
"organisation_id": "7412",
"clinic_id": "5831",
"patient_id": "63120",
"case_id": "SPRY_CASE_6aabbdec586d1e1ac56a37fd",
"case_title": "L Knee Post-Op",
"patient_name": "Morgan Delgado",
"patient_type": "NEW",
"phone": "+1-555-0143",
"email": "m.delgado@example.com",
"date_of_birth": "1991-07-23",
"status": {
"stage": "DROPPED",
"status_id": "e2f7c9a4-6b1d-4c83-b5e9-1d0a7f3c8b26",
"status_label": "Dropped",
"reason_id": "6c2e9f41-8b5d-4a7c-9e13-2d4f7a8b1c95",
"reason_label": "Out of area",
"subreason_id": "b9d14e72-3c6a-4f85-a0b2-7e5c1d9f4a36",
"subreason_label": "Moved away",
"notes": "Patient moved to another state.",
"follow_up_date": null,
"changed_at": "2026-09-23T10:02:11Z",
"drop_reason": "MANUAL",
"dropped_at": "2026-09-23T10:02:11Z"
},
"lead_source": "MANUAL",
"payment_mode": "INSURANCE",
"complaint": "Pain in the left knee since surgery",
"referring_physician_id": "3377",
"intake_status": "INCOMPLETE",
"eligibility_status": "PENDING",
"authorization_status": "UNDETERMINED",
"assigned_to_user_id": "2094",
"appointment_id": null,
"created_at": "2026-09-18T09:12:04Z",
"updated_at": "2026-09-23T10:02:11Z"
}
Response Fields¶
| Field | Type | Description |
|---|---|---|
id |
string | The lead id. |
organisation_id |
string or null | The organisation this record belongs to. Derived from the access token on writes and never trusted from the body. |
clinic_id |
string or null | The clinic the lead belongs to: the one its case was opened for, else the patient's. null when neither names one. |
patient_id |
string or null | The patient. Correlate on this — it's a stable id, and there's no external-reference field. |
case_id |
string or null | The lead's case — a spry_case_id. A case has exactly one lead, ever. |
case_title |
string or null | The title of the lead's case. |
patient_name |
string or null | The patient's first and last name. |
patient_type |
string or null | Whether this is a new or a returning patient. One of NEW, RETURNING. |
phone |
string or null | |
email |
string or null | |
date_of_birth |
string (date) or null | YYYY-MM-DD. |
status |
object | The lead's position in the pipeline: its stage, your organisation's status, the reason behind it, any follow-up date, and — once dropped — why and when. See Status. |
lead_source |
string or null | Where the lead came from: the source it was created with, MANUAL when none was given. |
payment_mode |
string or null | How this episode of care is paid for. UNKNOWN until the case or the patient's registration says. One of INSURANCE, SELF_PAY, UNKNOWN. |
complaint |
string or null | The patient's presenting complaint, in their words. |
referring_physician_id |
string or null | The case's primary referring physician. |
intake_status |
string or null | Progress through the intake forms the lead sent: N/A (none sent), PENDING (sent, not started), INCOMPLETE, COMPLETE. |
eligibility_status |
string or null | Where the insurance eligibility check for the lead's case stands. |
authorization_status |
string or null | Where the insurance authorization for the lead's case stands. |
assigned_to_user_id |
string or null | The staff member the lead is assigned to. |
appointment_id |
string or null | The appointment that converted the lead. null until it converts. |
created_at |
string (date-time) or null | When the lead was raised. |
updated_at |
string (date-time) or null | When the lead last changed. |
Status¶
| Field | Type | Description |
|---|---|---|
stage |
string | Where the lead is in the pipeline. Never set directly, and only moves forward: to IN_PROGRESS when the patient starts intake or the lead is given an in-progress status, CONVERTED when an appointment is booked against its case, DROPPED when it's dropped. It can run ahead of the status — a lead whose patient has started intake is IN_PROGRESS while its status is still the one it was raised on. One of NEW, IN_PROGRESS, CONVERTED, DROPPED. |
status_id |
string or null | Your organisation's own status, by its id in List Lead Status Definitions. The id stays the same when the status is renamed. |
status_label |
string or null | The status's name, as your organisation configured it. |
reason_id |
string or null | The reason behind the current status, by its id in your organisation's catalogue. On a dropped lead, the reason it was dropped for — one of the Dropped status's reasons — or null. |
reason_label |
string or null | The reason's name. |
subreason_id |
string or null | The sub-reason behind the current status, by its id. |
subreason_label |
string or null | The sub-reason's name. |
notes |
string or null | Free text recorded with the change. |
follow_up_date |
string (date) or null | When the lead is next due a follow-up. Cleared when it's dropped. YYYY-MM-DD. |
changed_at |
string (date-time) or null | When the status last changed. |
drop_reason |
string or null | Why the lead was dropped, as free text: the reason sent to Drop Lead (MANUAL when none was, including a drop that chose its reason by id), or STALE when it was dropped automatically, 31 days after it was raised. null unless it was dropped. |
dropped_at |
string (date-time) or null | When the lead was dropped. null unless it was. |
Error Response¶
Code: 400 Bad Request
{
"code": "bad_request",
"message": "Validation failed",
"errors": [
{
"field": "patient_id",
"message": "must be a string"
}
]
}
Every error has the same shape — a machine-readable code, a message, and an errors[] array that's empty when there's nothing field-specific to report. The HTTP status is authoritative.
| Status | code |
Meaning |
|---|---|---|
400 Bad Request |
bad_request |
The request body or parameters failed validation. errors[] names the offending fields. |
401 Unauthorized |
unauthorized |
The access token is missing, malformed or expired. |
403 Forbidden |
forbidden |
The request references a resource outside the token's organisation or clinic scope. |
404 Not Found |
not_found |
No such resource, or it's outside your scope. |
409 Conflict |
conflict |
The record conflicts with existing state — see the endpoint's notes. |
429 Too Many Requests |
rate_limited |
Rate limit exceeded. Back off and retry. |
500 Internal Server Error |
internal_error |
Unexpected server error. |
502 Bad Gateway |
upstream_error |
Upstream service failed or timed out. |
Notes¶
- Terminal: a dropped lead takes no further status change, and its case never gets another lead.
- Dropping a lead that is already dropped returns it unchanged and emits nothing. A converted lead can't be dropped (
409). - Give the reason as one of the Dropped status's reasons —
reason_id, with one of its sub-reasons assubreason_id— as free text inreason(at most 50 characters), or both. A reason the Dropped status doesn't have is a400. - Dropping replaces the lead's reason, sub-reason and notes with those sent, and clears the follow-up date. Without free text, the lead records
drop_reasonasMANUAL. - Choosing the
DROPPED-stage status in Change Lead Status drops the lead the same way. - A lead still open 31 days after it was raised is dropped automatically, with
drop_reasonSTALE, and emitslead.droppedthe same way. - Emits the
lead.droppedwebhook.