Twilio
Connect your Twilio account to track SMS, voice, email, Verify, and all other Twilio product costs in StackSpend.
Twilio
Usage Records API — Account SID and Auth Token required
The Twilio provider connects StackSpend to your Twilio account via the Usage Records API. StackSpend backfills 90 days of usage on first sync, then keeps data current with daily updates.
What StackSpend tracks
- SMS costs
- Voice call charges
- Phone number fees
- Email (SendGrid) usage
- Verify product charges
- All other Twilio product costs
- 90 days of historical data, updated daily
Prerequisites
- A Twilio account with billing access
Setup
Get your Account SID and Auth Token
In the Twilio console, go to Account → API keys & tokens → Live credentials. Copy your Account SID and Auth Token.
Add to StackSpend
In StackSpend, go to Providers → Twilio. Enter your Account SID and Auth Token. Click Save.
Verify
The first sync fetches 90 days of usage records. Data appears within minutes of saving.
Data summary
| Attribute | Value |
|---|---|
| Data latency | Daily |
| Historical data | 90 days |
| Setup time | 3 min |
Frequently asked questions
What credentials do I need to connect Twilio?
You need your Twilio Account SID and Auth Token, found in the Twilio console under Account → API keys & tokens → Live credentials. StackSpend uses these read-only to call the Usage Records API and never writes to your Twilio account.
What Twilio costs does StackSpend track?
StackSpend tracks SMS costs, voice call charges, phone number fees, Email (SendGrid) usage, Verify product charges, and all other Twilio product costs, broken down by usage type via the Usage Records API.
How much history is available and how long does setup take?
Setup takes about 3 minutes. On first sync StackSpend backfills 90 days of usage, then keeps data current with daily updates.
Which currency are costs reported in?
Costs are reported in your Twilio account's billed currency. StackSpend converts amounts to your preferred display currency using daily exchange rates.