Forum Academy Marketplace Showcase Pricing Features

Twilio callback (message status) maxing out requests to my webhook


My app uses Twilio to send SMS messages. Each night, it queues notifications to Twilio (using their new “Schedule Messages” functionality) that get released the following day based upon the customer’s desired send time and the recipient’s timezone. To enable statusing of the SMS, each call includes a callback to a webhook in my app that updates the message status accordingly (fires each time the status changes - which is several times per message).

The good news is that the connections work fine and I am receiving the message status as designed. The bad news is that the callback is exceeding the Bubble API rate limit (returning a 429 to Twilio, causing an HTTP retrieval warning on their end). My app continues along, however, I miss some status updates.

I understand that one option is to increase capacity. However, as I scale the app, I remain concerned that the number of status changes x the number of messages will continue to exceed the threshold.

I am looking at the following options:

  • Place a conditional on the webhook API that only fires on “delivered”, “undelivered” and “failed” (I don’t believe this will have an effect given that the webhook still needs to fire)

  • Experiment with the Twilio Callback connection overrides (fragments that allow configuration of elements such as connection timeout, retries, etc.)

Has anyone else in the community run into this problem and come up with a creative solution?

Insights appreciated!


Solved: I found a great service called Hookdeck ( that implements a complete webhook infrastructure and includes the capability to rate limit calls to the destination URL (in this case, the workflow in my app that handles the Twilio callback). Happy to discuss my implementation approach with anyone that runs into this issue.