Played TTS history
TTS entries that finished playing, most recent first, cursor-paginated. Requires tts:read.
GET
/tts/historyAuthorization
AuthorizationBearer token (tp_live_...) · headerrequiredA TipPage API key, created in Dashboard → Settings → Developer.
Query parameters
limitintegermin 1 · max 100 · default: 25
beforestringCursor - an `order_id` from a previous page (`next_cursor`). Returns rows strictly older than it.
Responses
200One page of history.
tipsHistoryTip[]Show propertiesHide properties
Array of
HistoryTiporder_idstringnamestringamountnumber | nullmessagestring | nulltts_urlstring<uri> | nullis_replaybooleanis_sub_rewardbooleantwitch_user_idstring | nullname_was_filteredbooleanmessage_was_filteredbooleanqueued_atstring<date-time>When the tip entered the queue.
played_atstring<date-time>When it finished playing on stream.
has_morebooleannext_cursorstring | nullPass as `?before=` to fetch the next page.
400Unknown cursor.
errorstringrequiredHuman-readable message.
codestringMachine-readable code (e.g. `missing_scope`, `not_in_queue`).
401Missing or invalid API key (`missing_api_key` / `invalid_api_key`).
errorstringrequiredHuman-readable message.
codestringMachine-readable code (e.g. `missing_scope`, `not_in_queue`).
403The key lacks the required scope (`missing_scope`).
errorstringrequiredHuman-readable message.
codestringMachine-readable code (e.g. `missing_scope`, `not_in_queue`).
required_scopestring429Rate limit exceeded - check the `RateLimit-*` headers.
errorstringRequest
curl -X GET "https://api.tippage.com/v1/tts/history" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.tippage.com/v1/tts/history", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.tippage.com/v1/tts/history",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"tips": [
{
"order_id": "string",
"name": "string",
"amount": 0,
"message": "string",
"tts_url": "http://example.com",
"is_replay": true,
"is_sub_reward": true,
"twitch_user_id": "string",
"name_was_filtered": true,
"message_was_filtered": true,
"queued_at": "2019-08-24T14:15:22Z",
"played_at": "2019-08-24T14:15:22Z"
}
],
"has_more": true,
"next_cursor": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string",
"required_scope": "string"
}{
"error": "string"
}