Skip to main content

Update Call Tags

This event serves the purpose of tagging a specific call, using its callUuid. The tagIds is a new list of tags assigned to the specified callUuid. It's important to note that sending an empty array will overwrite the existing list of tags.

{
"type": "API.UPDATE_CALL_TAGS",
"payload": {
"tagIds": "Number[]!",
"callUuid": "String!"
}
}

Usage

Here we tell Bus to get the list of tags available.

{
"type": "API.UPDATE_CALL_TAGS",
"payload": {
"tagIds": [1, 2, 3],
"callUuid": "Caxxxxxxxxxxx"
}
}

As a result we will receive an API.UPDATE_CALL_TAGS_FULFILLED event.

{
"type": "API.UPDATE_CALL_TAGS_FULFILLED"
}

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

{
"type": "API.UPDATE_CALL_TAGS_REJECTED"
}