BoldSales

API Documentation

Get all pipeline views

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

Retrieve a list of all pipeline views.

Code snippet

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

Path parameters

pipelineIdintegerRequiredThe unique identifier of the pipeline for which to retrieve view details.

Query parameters

searchstringFilters the list of views by name. Only views whose names contain the specified search string are returned.

Example response

200 Success

{
  "data": [
    {
      "id": 1,
      "name": "All Leads",
      "isSystemView": true,
      "accessScopeId": 2,
      "owner": {
        "id": 1,
        "name": "System Automation",
        "email": "",
        "status": "Active"
      }
    },
    {
      "id": 1,
      "name": "My Leads",
      "isSystemView": false,
      "accessScopeId": 2,
      "owner": {
        "id": 227,
        "name": "John Clark",
        "email": "[email protected]",
        "status": "Active"
      }
    }
  ]
}