API reference
Carrier TTS events
Inspect text-to-speech usage across the carrier — useful for billing and auditing <Say> verb usage.
TTS event resource
TtsEventjson
{
"data": {
"id": "TTSE…",
"type": "tts_event",
"attributes": {
"account_id": "AC…",
"tts_voice": "alice",
"num_chars": 120,
"price": "-2.40",
"created_at": "…"
}
}
}List TTS events
GET/carrier/v1/tts_events
Return TTS events, filterable.
| Parameter | Type | Description |
|---|---|---|
filter[account_id] optional | string | Restrict to an account. |
filter[created_at] optional | time | Filter by creation time. |
page optional | integer | 0-indexed page. |
per_page optional | integer | Records per page. |
Fetch an event
GET/carrier/v1/tts_events/{id}
Return a single TTS event.