Pipeline Fields
The pipeline field API suite enables you to manage pipeline-related data in BoldSales. It provides comprehensive capabilities to list, retrieve, create, update, and delete custom fields across your organization's modules. This section describes how to retrieve all fields in a pipeline.
Get all pipeline fields
get/api/v1/pipelines/{pipelineId}/fieldsThis field list API retrieves a list of all fields associated with a pipeline, identified by its ID. It provides users with a comprehensive overview of their field inventory within the pipeline, including details such as field IDs, names, and field types, among others.
Code snippet
curl -X 'GET' \
'https://{yourdomain}/api/v1/pipelines/{pipelineId}/fields' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}'
Path parameters
| pipelineIdintegerRequired | The unique identifier of the pipeline. When provided, it returns the details of the fields associated with this ID |
Query parameters
| searchstring | Filters the list of fields by display name or API name. Returns only fields whose display name or API name contains the specified search string. |
Example response
200 Success
{
"data": [
{
"placeholderText": "Enter your last name",
"description": "Description text for Custom fields",
"instructions": "Instruction text for Custom fields",
"isSystemField": true,
"isActive": true,
"fieldTypeId": 1,
"fieldTypeName": "Single-line text",
"showInCreateForm": true,
"isRequired": false,
"fieldId": 2,
"apiName": "lastName",
"fieldName": "Last Name",
"displayName": "Last Name",
"options": null
},
{
"placeholderText": "",
"description": "Description text for Custom fields",
"instructions": "Instruction text for Custom fields",
"isSystemField": false,
"isActive": true,
"fieldTypeId": 11,
"fieldTypeName": "Single-select dropdown",
"showInCreateForm": false,
"isRequired": false,
"fieldId": 33,
"apiName": "cf_states",
"fieldName": "States",
"displayName": "States",
"options": [
{
"id": 10,
"value": "Tamil Nadu",
"isActive": true
},
{
"id": 11,
"value": "Kerala",
"isActive": true
},
{
"id": 12,
"value": "Karnataka",
"isActive": true
}
]
}
]
}