BoldSales

API Documentation

Add tags to pipeline records

post/api/v1/pipelines/{pipelineId}/add-tags

Adds one or more tags to multiple pipeline records in a single request. Tags help organize and categorize pipeline records for better data management and filtering.

Code snippet

curl -X 'POST' \
  'https://{yourdomain}/api/v1/pipelines/{pipelineId}/add-tags' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}' \
  -H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
  -d '{
    "data": {
      "recordIds": [1, 2, 3],
      "tagIds": [1001, 1002]
    }
  }'

Path parameters

pipelineIdintegerRequiredThe unique identifier of the pipeline.

Request body

recordIdsarrayRequiredList of IDs of the pipeline records to add the tags to.
tagIdsarrayRequiredList of tag identifiers to be added to the specified pipeline records.

Example response

200 Success

{
  "message": "Tags updated successfully."
}