StackSpendDocs

Twilio

Connect your Twilio account to track returned SMS, voice, Verify and other Usage Records categories in StackSpend.

Twilio logo

Twilio

Usage Records API — Account SID and Auth Token required

The Twilio provider connects StackSpend to your Twilio account via the Usage Records API. The initial sync requests up to 90 days of available records; scheduled sync and provider reporting determine freshness. Returned summary and detailed categories can overlap, so their sum is not necessarily an invoice total.

What StackSpend tracks

  • SMS costs
  • Voice call charges
  • Phone number fees
  • Verify product charges
  • Other categories actually returned by the connected account; separate product accounts are not guaranteed
  • Available historical periods with scheduled refresh
Check category and account overlap.Summary categories can overlap with SMS and voice subcategories, and connected account scopes can include subaccounts. Review the same category, period and currency; do not treat the sum of every imported category as a reconciled invoice. The Auth Token is not a read-only credential even though this connector reads Usage Records.

Prerequisites

  • A Twilio account with billing access

Setup

1

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.

2

Add to StackSpend

In StackSpend, go to Providers → Twilio. Enter your Account SID and Auth Token. Click Save.

3

Verify

The first sync requests up to 90 days of available usage records. Check the returned period and latest successful sync, then compare one non-overlapping category in the reported currency.

Currency conversion.Costs are reported in your Twilio account’s billed currency. StackSpend converts amounts to your preferred display currency using daily exchange rates.

Data summary

AttributeValue
Data latencyProvider reporting plus scheduled sync
Historical dataUp to 90 days where available
Setup time3 min

Frequently asked questions

Is a Twilio Auth Token read-only?

No. A connector that reads Usage Records does not make the supplied Auth Token a read-only credential. Review the required account access and your security policy before connecting.

Does this stop a runaway messaging job?

No. StackSpend monitors reported usage and sends supported notifications. Enforce sending limits, fraud controls and emergency actions in your Twilio and application workflows.

How do I reconcile Twilio costs?

Compare individual returned categories over the same period and currency. Twilio summary and detailed categories can overlap, so do not treat their combined sum as a reconciled invoice. Confirm account and product coverage separately.

Connect Twilio to StackSpend — StackSpend Docs