Add tags to companies
post/api/v1/companies/add-tagsAdds 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
| recordIdsarrayRequired | List of IDs of the companies to add the tags to. |
| tagIdsarrayRequired | List of tag identifiers to be added to the specified companies. |
Example response
200 Success
{
"message": "Tags updated successfully."
}