# Redirect

The `<Redirect>` verb transfers control of the call to a new OneML document, fetched from the URL you specify. Verbs after `<Redirect>` in the current document do not execute.

## Attributes

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `method` | string | `POST` | HTTP method used to fetch the next OneML document. One of `GET` or `POST`. |

## Nesting

`<Redirect>` contains the URL of the next OneML document as text content, either an absolute URL or a URL relative to the current document. It takes no nested verbs.

> **Warning:** More than 10 consecutive redirects without new caller input ends the call with an error. Redirects triggered by caller input (for example, the URL a [`<Gather>`](/voice/oneml/gather) verb requests after collecting digits) reset the counter.

## Examples

Redirecting to an absolute URL:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Say>One moment while we transfer your call.</Say>
  <Redirect>https://example.com/oneml/transfer.xml</Redirect>
</Response>
```

Redirecting to a relative path with `GET`:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Redirect method="GET">/oneml/next-step</Redirect>
</Response>
```

## See also

- [Gather](/voice/oneml/gather)
- [OneML overview](/voice/oneml/overview)
