Latest Legacy

Asynchronous requests

All requests to Plivo APIs can be made asynchronous by adding the parameters listed below. When you make an asynchronous API call, Plivo returns a generic response with the api_id, and sends the API responses to the specified callback URL.

Arguments

callback_url

The URL notified by the API response is available and to which the response is sent.

callback_method

The method used to notify the callback_url.

Defaults to POST.

Response

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