Skip to main content

Tag

The Tag verb is used to set a new tag value without executing a callback. This new tag will be sent with all future callbacks unless overwritten by a future tag attribute or <Tag> verb, or cleared.

Text Content

NameDescription
tagThe new tag value. Leading and trailing whitespace is trimmed. Leave blank to clear the tag.

Attributes

AttributeDescription
NoneNone

Webhooks Received

There are no webhooks received after the <Tag> verb is executed.

Examples

Set the Tag of a Call

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Tag>audio playing</Tag>
<!-- If the call is hung up during the audio clip, the tag value reported in the disconnect event will be "audio playing" -->
<PlayAudio>https://audio.url/audio1.wav</PlayAudio>
<Tag>audio ended</Tag>
<!-- If the call is hung up after the audio clip, the tag value reported in the disconnect event will be "audio ended" -->
</Response>