Add Tags
POST
/backend/leads/{id}/tagsBody Parameters
array
required
Array of tag IDs to add
Request Example
Remove Tag
DELETE
/backend/leads/{lead_id}/tags/{tag_id}Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Add and remove tags from leads
/backend/leads/{id}/tagscurl -X POST "https://api.leavo.ai/backend/leads/lead-uuid/tags" \
-H "Authorization: Bearer your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"tag_ids": ["tag-uuid-1", "tag-uuid-2"]
}'
const response = await fetch('https://api.leavo.ai/backend/leads/lead-uuid/tags', {
method: 'POST',
headers: {
'Authorization': 'Bearer your_api_key_here',
'Content-Type': 'application/json'
},
body: JSON.stringify({
tag_ids: ['tag-uuid-1', 'tag-uuid-2']
})
});
/backend/leads/{lead_id}/tags/{tag_id}curl -X DELETE "https://api.leavo.ai/backend/leads/lead-uuid/tags/tag-uuid" \
-H "Authorization: Bearer your_api_key_here"
const response = await fetch('https://api.leavo.ai/backend/leads/lead-uuid/tags/tag-uuid', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer your_api_key_here'
}
});
HTTP 204 No Content