Connect Twilio to StackSpend
Track Twilio costs including SMS/MMS, Voice calls, Phone numbers, Verify, Lookup, Video, and other communications services.
StackSpend tracks Twilio costs via the Usage Records API. SMS, voice, Verify, Lookup, and other services—daily visibility, category breakdown, and forecasting. Connect with Account SID and Auth Token.
Prerequisites
- A Twilio account (sign up here)
- Access to Twilio Console
- An active Twilio account (not suspended)
What Costs Are Tracked
StackSpend tracks all billable Twilio usage, including:
- •SMS/MMS (inbound and outbound messages)
- •Voice calls (inbound, outbound, recordings, transcriptions)
- •Phone numbers (local, toll-free, mobile)
- •Verify (phone verification services)
- •Lookup (phone number validation)
- •Video (rooms and recordings)
- •Flex (contact center services)
- •Conversations (messaging APIs)
Step 1
Find Your Twilio Credentials
Your Account SID and Auth Token are displayed in the Twilio Console dashboard.
- 1Sign in to the Twilio Console
- 2On the Console Dashboard, locate the "Account Info" section
- 3You'll see:
- Account SID: Starts with
AC(e.g.,AC1234567890abcdef...) - Auth Token: Hidden by default, click "Show" to reveal
- Account SID: Starts with
Step 2
Copy Your Credentials
- 1Account SID: Copy the full Account SID (34 characters, starting with
AC) - 2Auth Token: Click "Show", then copy the Auth Token
Warning: Keep your Auth Token secure - it provides full access to your Twilio account. Treat it like a password.
Step 3
Connect in StackSpend
- 1Go to Settings → Providers in your StackSpend dashboard
- 2Click Add Provider → Select Twilio
- 3Enter your credentials:
- Account SID: Paste your Account SID
- Auth Token: Paste your Auth Token
- 4Click Test Connection to verify
- 5Once the test succeeds, click Connect
After Connecting
Once Twilio is connected, StackSpend begins syncing daily usage records. Twilio provides daily aggregated usage data.
- Costs sync automatically every 6 hours
- Daily usage records (costs aggregated by day)
- Usage quantities included (messages sent, call minutes, etc.)
- Automatic currency conversion for non-USD costs
Twilio Sub-Accounts
If you use Twilio sub-accounts:
- Each sub-account has its own Account SID and Auth Token
- You'll need to connect each sub-account separately in StackSpend
- The parent account's Usage Records API shows aggregated usage across all sub-accounts
- For detailed per-sub-account tracking, connect each sub-account individually