Latest Legacy

Asynchronous Request

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 to be notified by the API response.

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"
}