/v1/lead_pipelinesList Lead pipelines and stages
Returns the Organization's Lead and referral pipelines. When updating a Lead, use a stage from the pipeline for its lead_type. Carebit Pro is required.
Required API scopes: leads.read
Responses
Paginated list of LeadPipeline objects.
dataarrayrequireditemsobjectcreated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
lead_typestringrequiredWhether this pipeline manages patient inquiries or referrals.
Allowed values:
inquiry | referralnamestringrequiredThe display name of the pipeline.
objectanyrequiredDiscriminator value emitted at
object.stagesarrayrequiredThe ordered stages available in the pipeline.
itemsobjectcreated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
is_conversion_stagebooleanrequiredWhether moving a Lead into this stage can start the Organization's Lead conversion workflow.
is_lost_stagebooleanrequiredWhether moving a lead into this stage marks it as lost or rejected.
namestringrequiredThe display name of the stage.
objectanyrequiredDiscriminator value emitted at
object.positioninteger | nullrequiredThe stage's display order within its pipeline.
updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
has_morebooleanrequiredWhether another page is available after
next_cursor.next_cursorstring | nullrequiredThe value to pass as
cursorfor the next page. Null on the last page.objectanyrequiredAlways
list.urlstringrequiredThe API path that returned this list.
Example
{
"object": "list",
"data":
"id": "5412a51a-d3f9-44d8-8291-939bc55c434e",
"object": "lead_pipeline",
"created_at": "2026-01-01T09:00:00Z",
"lead_type": "inquiry",
"name": "Initial consultation",
"stages":
"id": "306f78be-ffcc-472b-812e-a63d99e76e61",
"object": "lead_stage",
"created_at": "2026-01-01T09:00:00Z",
"is_conversion_stage": true,
"is_lost_stage": true,
"name": "Initial consultation",
"position": 1,
"updated_at": "2026-01-01T09:00:00Z"
}
],
"updated_at": "2026-01-01T09:00:00Z"
}
],
"has_more": false,
"next_cursor": "eyJzdGFydF90aW1lIjoiMjAyNi0wMS0wMVQwOTowMDowMFoifQ",
"url": "/v1/lead_pipelines"
}The access token is missing, invalid, expired, or revoked.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}The access token lacks the required scope, the project is disabled, or the Organization does not have Carebit Pro.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}Too many requests. Retry after the delay indicated by Retry-After.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}