Twilio Notification Triggers - Subaccount Usage

Viewed 47

I'd like to get an email notification from Twilio anytime a subaccount has used over 1,000 message units in a month. Is there a way to create a Twilio notification trigger that would do this? Currently, I have to go into the subaccount usage report in the console, run through about 15 pages of info looking for users that have run up a bill over $15 and check their individual usage to see if I need to up their pay tier.

1 Answers

From the Twilio console, click the Billing (upper right corner) -> Usage -> Triggers. I can take some amount of time before the usage trigger fires, but it will fire.

Create a Usage Trigger

There is also an API so you can programmatically create the triggers in each sub-account.

REST API: UsageTrigger

enter image description here

Related