CommBox Webhooks
Guides & Manuals › 10. Developer Resources
"ObjectId": "762"
}
}
}
Triggers associated with the Tag entity:
The OnNewActivity events in the Object entity cover tags related to the conversation where agents add or remove tags to the conversation to trigger the webhook.
In this category, webhooks are triggered when tags are created or updated in the tags section of the Organization’s settings.
OnAdd
This event is triggered when a new tag is added to the system.
Payload includes the new Tag’s ID, if it belongs to a group (if not in a group, value = 0), its name, label (conversation and/or user), type (Tag/Goal/Miss – see Enums at the end of this document), and value details (where applicable).
Payload Example (JSON):
{
"Event": {
"Subscription": "Tag",
"Name": "OnAdd",
"Brand": "wispprnd",
"Tag": {
"eventName": "OnAdd",
"tagId": "40",
"groupId": "0",
"name": "VIP",
"isObject": "True",
"isUser": "False",
"type": "1",
"unit": "0",
"unitValidationType": "0",
"unitValidation": "",
"defaultValue": "",
"requestId": "e4474a8a-0802-4515-8c27