Response
XML Response
Voice calls
When your application is initiated to make a call, Plivo makes an HTTP request to the answer_url
, which is one of the mandatory parameters when making an outbound call.
SMS
When your application is initiated to send a message, Plivo makes an HTTP request to the message_url
, which is one of the mandatory parameters when sending a message.
Requirements
- The
answer_url
or themessage_url
should respond with an XML document that provides instructions to control the call. - The
Content Type
of the response header, returned by themessage_url
, must be set totext/xml
orapplication/xml
. - The XML document returned should contain valid Plivo XML elements.