BoldSales

API Documentation

Pipeline records

Pipeline records represent any work item moving through a defined set of stages toward an outcome. They can reference different entity types (for example, deals, contracts, renewals, onboarding, orders, and tickets) and standardize how progress, ownership, and outcomes are tracked across pipelines.

Get all pipeline records

get/api/v1/pipelines/{pipelineId}/records

Retrieve a list of all pipeline records, with support for filtering, sorting, and pagination.

Code snippet

curl -X 'GET' \
  'https://{yourdomain}/api/v1/pipelines/{pipelineId}/records' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}'

Path parameters

pipelineIdintegerRequiredThe unique identifier of the pipeline whose records you want to retrieve.

Query parameters

filterIdintegerApplies a saved filter configuration identified by its numeric ID. Useful for retrieving data based on predefined logic stored in the system (e.g., saved views).
idsstringAccepts one or more pipeline record identifiers, separated by commas. Filters results to include only specific pipeline records (e.g., 101,102). If filterId is provided, this is ignored.
stageIdsstringAccepts one or more pipeline record stage identifiers, separated by commas. Filters results to pipeline records in the specified stages (e.g., 1,2). If filterId is provided, this is ignored.
ownerstringAccepts one or more owner identifiers, separated by commas. Restricts results to pipeline record associated with the specified owners (e.g., 101,102). If filterId is provided, this is ignored.
contactsstringAccepts one or more associated contact identifiers, separated by commas. Filters results to pipeline records whose primary contact matches any of the provided IDs. If filterId is provided, this parameter is ignored.
creatorstringAccepts creator identifiers to filter records by who created them. Multiple creator IDs can be provided as comma-separated values (e.g., 101,102). If filterId is provided, this is ignored.
modifierstringAccepts modifier identifiers to filter records by who last updated them. Multiple modifier IDs can be provided as comma-separated values (e.g., 101,102). If filterId is provided, this is ignored.
createdOnstringFilters records by creation date within a specified time range. Format: {"from":"2025-07-28T18:30:00.000Z", "to":"2025-07-29T18:29:00.000Z"}. If filterId is provided, this is ignored.
modifiedOnstringRetrieves records modified within a specific date range. Format: {"from":"2025-07-28T18:30:00.000Z", "to":"2025-07-29T18:29:00.000Z"}. If filterId is provided, this is ignored.
includeCountbooleanDetermines if the response includes the total count of matching records.
orderBystringSpecifies the sorting criteria for the returned results. The value "lastAssignedOn desc" means records will be ordered by the last assignment date in descending order (most recent first).
fieldsstringSpecify field API names to include in the response. Accepts one or more field API names, separated by commas. Custom fields are returned only when their API name is passed in this parameter.
pageintegerIndicates the current page index in a paginated result set. Supports pagination by defining which chunk of results to retrieve, starting from page 1.
pageSizeintegerSpecifies the maximum number of records to return per page (maximum 100).

Example response

200 Success

{
  "data": [
    {
      "id": 1,
      "name": "Enterprise CRM Deal",
      "stage": {
        "id": 2,
        "value": "Negotiation"
      },
      "owner": {
        "id": 1,
        "name": "Jones Alex",
        "email": "[email protected]",
        "status": "Active"
      },
      "pipelineId": 1,
      "stageVariantId": 1,
      "creator": {
        "id": 10,
        "name": "Jones Alex",
        "status": "Active"
      },
      "source": {
        "id": 12,
        "value": "Referral"
      },
      "modifier": {
        "id": 10,
        "name": "Jones Alex",
        "status": "Active"
      },
      "company": {
        "id": 1,
        "name": "TechNova Inc"
      },
      "contacts": {
        "id": 1,
        "email": "[email protected]"
      },
      "lastEmailSentBy": {
        "id": 4,
        "name": "Lisa Martinez",
        "status": "Active"
      },
      "lastEmailReceivedBy": {
        "id": 3,
        "name": "David Wilson",
        "status": "Active"
      },
      "cf_decision_timeline": "2026-12-17"
    }
  ],
  "pagination": {
    "page": 1,
    "pageSize": 20,
    "totalRecords": 150,
    "totalPages": 8
  }
}