These docs are for v0.1.0. Click to read the latest docs for v1.0.0.

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"
}