Skip to content

List Prospect Sources

Required scope: customer:read

POST /public-api/publicapi.v1.Customer/ListProspectSources

The workspace’s prospect sources, managed under Settings → Customers & prospects → Correspondence, in display order. Use a source’s id as prospectSourceId in Create Customer or as the create prospect flow’s source_id input in Submit Flow. Archived sources cannot be chosen for new prospects; includeArchived lists them too and needs settings access.

{}
{
"sources": [
{ "id": "a6d3c1f0-2b8e-4f7a-9c11-5e4d3b2a1f00", "name": "Website" },
{ "id": "c4e1b2a3-9f8d-4c7b-a6e5-3d2c1b0a9f8e", "name": "Phone" }
]
}
Generated Reference
POST /public-api/publicapi.v1.Customer/ListProspectSources

Lists the workspace's prospect sources, for CreateCustomerRequest.prospect_source_id and the create prospect flow's source_id input. Read-only.

Request ListProspectSourcesRequest
Response ListProspectSourcesResponse

ListProspectSourcesRequest

Field Type Description
include_archived bool Include archived sources. Defaults to false (active only).

ListProspectSourcesResponse

Field Type Description
sources repeated ProspectSource In display order.