Skip to main content
POST/companies-by-id/:custom_id/add_tag/

Company add tag by id

You can add a tag to a company using a custom_id.

AttributesTypeRequiredDescription
custom_idstringyesThe unique identifier for the company which is provided by the client.
namestringyesA name of the tag you want to add.

Request​

curl -X POST -H "Authorization: Token <your_64_char_api_key>" -H "Content-Type: application/json"
-H "Accept: */*; version=2" -d '{
"name": "My tag"
}' "https://<your_app_subdomain>.user.com/api/public/companies-by-id/:custom_id/add_tag/"

Response​

{
"tag": {
"name": "My tag"
},
"created": true
}

If created equals True: you did not have this tag before. False: you created this tag before, so it was re-used.