Will Plivo retry callbacks if the message_url is not reachable?

Yes. If the message_url for your Plivo application returns a non-2xx HTTP status code, Plivo will retry the request to the message_url. 

Plivo will make a maximum of three retry attempts:

  • The first retry attempt will be made 60 seconds after the original attempt.
  • The second retry attempt will be made 120 seconds after the first retry attempt.
  • The third retry attempt will be made 240 seconds after the second retry attempt.

Retry attempts are made for both inbound messages and status update callbacks for outbound messages.

Please note that Plivo expects your server to respond to our requests within eight seconds. Requests are timed out if an HTTP response is not received within eight seconds. Timed out requests are retried based on the retry schedule described above. 

For incoming messages, you can set the message_url for your Plivo application using our API or in the Applications tab of the user dashboard. For outgoing messages, you can set the message_url in your API code by adding the parameter "URL" = "https://.example.com/sms".

Was this article helpful?
1 out of 1 found this helpful
Didn’t find what you are looking for? Create new ticket