Full endpoint:https://sprinthub-api-master.sprinthub.app/leads/lead-id?query={tags{id,tag,color}}&apitoken=your-token&i=your-instance
Getting Lead tags
Modifying Lead tags
To modify tags, an overwrite method is used. The tag IDs sent in the request body will replace the lead's current tags. You must pass an object with the key tags which has as its value an array with the IDs.