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. 

A maximum of three retry attempts will be made as per the logic defined below.

  • 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 five seconds. Requests are timed out if an HTTP response is not received within five 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 from the user dashboard. For outgoing messages, you can set the message_url in your API code by adding this parameter "URL" = "https://.example.com/sms".

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