BoldSales

API Documentation

Add tags to companies

post/api/v1/companies/add-tags

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

Code snippet

curl -X 'POST' \
  'https://{yourdomain}/api/v1/companies/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]
    }
  }'

Request body

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

Example response

200 Success

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