Learn more with Workshops and Technical Sessions

This document describes Twilio's old 2008-08-01 API. Please use the latest version.

TwiML TM Voice: Hangup Verb

The <Hangup> verb ends a call.

Verb Attributes

The <Hangup> verb has no attributes.


<Hangup> does not have any expected "noun" body values.

Nesting Rules

The <Hangup> verb can be nested in the following elements:

The following verbs can be nested within <Hangup>:

  • none


Example 1: Simple hang up

<?xml version="1.0" encoding="UTF-8"?>

The following code causes the call to hang up immediately

Hints and Advanced Uses

  • After processing a Gather, Record, or Dial, you may end the call by sending back a response containing the <Hangup> verb.