- API & Docs
Find out exactly how many call-minutes or SMS messages your app has sent or received with a single API call. Configure the Twilio cloud to trigger your application when your usage reaches key thresholds. No cron jobs or databases required.
Slice and dice your usage data over any date-range and by any time interval. Query aggregate metrics that drive your business, or dive down to a specific call or message-type. No need to worry that you’ll miss a callback or miscount a single minute or message - our API is powered by the same scalable cloud infrastructure that runs our billing system.
On-demand up-to-the-minute usage data is a powerful tool for building the business-metrics dashboard you’ve always wanted. Track month-over-month, week-over-week, or even day-to-day growth across every type of traffic. You won't even need a database.
Create custom triggers that webhook to your application when it reaches usage thresholds. Your triggers can fire based on any type of usage, from the most specific call-type to the the total price of your usage account-wide. Set up triggers to alert you of a runaway script, or to deliver the good news that your application is hockey-sticking.
The possibilities are endless.
Flexible, accurate usage data and custom usage triggers are the perfect toolkit for building your own usage-based billing system. Retrieve usage for custom billing cycles, charge for overage minutes, and track your call margins in just a few lines of code. We do the heavy lifting so you can focus on building the billing framework that's right for your business.
We have everything from voice conferencing and transcription to SMS conversation state, all built right in. No need to install software updates or buy hardware modules. Just build the integrated communication experience you want.
Sign up now and start making phone calls and sending SMS messages in a few steps. No credit cards required. Walk through our documentation and quickstarts to kick the tires on the API. When you're ready for production, upgrade your account and go live!