Skip to main content

Fetch tags

This event is used to get the list of your company tags.

{
"type": "API.FETCH_TAGS"
}

This event doesn't require any payload.

Usage

As a result we will receive an API.FETCH_TAGS_FULFILLED event with the list of tags.

{
"type": "API.FETCH_TAGS_FULFILLED",
"payload": "Tag[]"
}

or if it is rejected we will receive an API.FETCH_TAGS_REJECTED event.

{
"type": "API.FETCH_TAGS_REJECTED",
"payload": {
"error": "Error"
}
}