BoldSales

API Documentation

Get pipeline field options

get/api/v1/pipelines/fields/{fieldId}/options

Retrieves a list of all field options associated with a specified field in the pipeline module, identified by its field ID.

Code snippet

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

Path parameters

fieldIdintegerRequiredSpecifies the unique identifier of the field whose option values should be retrieved.

Query parameters

searchstringThe search query parameter is a string used to filter the field option values by a matching name. By providing a value for this parameter, the API will return only those entries where the name field matches the given search string.
includeInactivebooleanSpecifies whether to include inactive field options in the response.

Example response

200 Success

{
  "data": [
    {
      "id": 139612,
      "value": "US",
      "isActive": true
    },
    {
      "id": 139613,
      "value": "UK",
      "isActive": true
    }
  ]
}