Latest Legacy

Asynchronous Request

All requests to the Message API can be made asynchronous by adding the parameters listed below. When you make an asynchronous call, Plivo returns a generic response with the api_id, and the actual API response is sent to the callback URL.

Arguments

callback_url

The URL notified by the API response.

callback_method

The method used to notify the callback_url.

Allowed values: GET, POST
Defaults to POST.

Response

{
"message": "async api spawned",
"api_id": "63f0761a-e0ed-11e1-8ea7-12313924e3a6"
}