<Redirect>

Redirect to another Pivot callflow

Overview

<Redirect> will cause another Pivot HTTP request to the url in it’s body. Pivot expects another Pivot document in response as either Kazoo JSON or TwiML, which will be rendered. Pivot will not continue execution of the current document after a <Redirect>, further terms will be unreachable.

Attributes

NameValues DescriptionDefault value
methodGET | POSTGET

method

sets the HTTP request method for the <Redirect> request, either POST or GET. Pivot expects a response with more call instructions. See Requests for information about the request and response formats.