Front.fetchAllowedTags(callback)
Sends you the tags available for the current conversation.
The callback's tags
parameter will contain an array of tags.
callback: function
A callback function.
Front.fetchAllowedTags(function (tags) {
if (!tags) return;
console.log(tags);
});
Sample JSON for a tag:
{
"alias": "tag_alias",
"name": "Alias name"
}