cURL
curl --request POST \ --url https://api.attent.app/v1/leads/{leadId}/tags \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "tagIds": [ "tag4", "tag5" ] } '
{ "tags": [ { "id": "tag1", "name": "VIP Customer" }, { "id": "tag2", "name": "Interested" }, { "id": "tag4", "name": "New Tag" }, { "id": "tag5", "name": "Another Tag" } ] }
Add tags to a lead (will not remove existing tags)
The ID of the lead to add tags to
Array of tag IDs to add to the lead
Tags successfully added.
Array of all tags now assigned to the lead
Show child attributes