Tags
List Tags:
GET /api/pub/tags
Add a tag to a lead:
PUT /api/pub/lead/{leadId}/tags?userId={userId}
Params: leadId (number): the lead ID. userId (number): the user ID from the lead.
Body: tagIds (list of numbers): the tag IDs. For tag IDs, the tags are expected to be base 10 numbers. For This list will accept a maximum of 10 tags at a time.
Remove a tag from a lead:
DELETE /api/pub/lead/{leadId}/tags?userId={userId}
Params: leadId (number): the lead ID. userId (number): the user ID from the lead.
Body: type (string): can have two values TAG_ID or TAG_NAME values (list of strings): the tag IDs or tag names to add. For tag IDs, the tags are expected to be base 10 numbers. For tag names, they can be any string value under 255 characters. This list will accept a maximum of 10 tags at a time.
Last updated