cURL
curl --request PUT \ --url https://api.attent.app/v1/leads/{leadId}/tags \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "tagIds": [ "tag1", "tag2", "tag3" ] } '
{ "tags": [ { "id": "tag1", "name": "VIP Customer" }, { "id": "tag2", "name": "Interested" }, { "id": "tag3", "name": "Follow Up Required" } ] }
Replace all tags on a lead
The ID of the lead to update tags for
Array of tag IDs to set on the lead
Array of tag IDs to replace existing tags with
Tags successfully replaced.
Array of tags now assigned to the lead
Show child attributes