Source status: SourceStatus
These structures indicate whether Donatty is receiving events from your Donation Alerts, Twitch and YouTube accounts. For what to show the streamer for each status, see Source status.
SourceStatus
Section titled “SourceStatus”Returned by:
- Event sources ·
GET /v1/event-sources—itemselements - Event
source.status_changed· channeldonations,twitch,youtube— thedatafield
A source of the streamer’s events and its status: the same object in GET /v1/event-sources and in data of the source.status_changed live event.
| Field | Type | Description |
|---|---|---|
id |
string, src_… |
Source identifier: src_da_… for a Donation Alerts account, src_twitch_… for a Twitch account, src_youtube_… for a YouTube channel. It stays the same while the account is linked. |
platform |
string, values: DONATION_ALERTS, TWITCH, YOUTUBE |
The platform. Clients must accept new values. |
accountId |
string | The streamer’s account on the platform: the Donation Alerts user ID, the Twitch user ID of the channel; for YouTube, the ID of the Google account the channel is linked through, not the UC… channel ID. |
status |
string, values: IDLE, STARTING, READY, CAPACITY_LIMITED, QUOTA_LIMITED, REAUTH_REQUIRED, ERROR |
Status of the source. IDLE — nothing is received for apps: no app listens to the source. STARTING — Donatty is connecting to the platform or waiting for it to confirm delivery; for YouTube, the first poll of a required type has not finished. READY — the platform confirmed delivery to Donatty; for YouTube, every available required type is polled and keeps making progress. No fixed delay is promised: under shared load YouTube polling slows down, which is neither ERROR nor QUOTA_LIMITED. CAPACITY_LIMITED (Donation Alerts only) — all connections Donatty keeps for apps are busy and the source waits in a queue. QUOTA_LIMITED (YouTube only) — Donatty’s daily YouTube API quota is used up; polling resumes after midnight Pacific Time. REAUTH_REQUIRED — the platform withdrew Donatty’s access: reconnect the account in the Donatty dashboard. ERROR — the platform refused for another reason, or polling of the platform is switched off or stuck. Clients must accept new values. |
since |
string (date-time) | When Donatty saw the source enter the current status, RFC 3339 in UTC; after a Donatty restart, the time of the first check. |
gapSince |
string (date-time) or null | Start of a possible gap in events, when Donatty knows one: for Donation Alerts, since the source waits for a free connection or lost a working one; for Twitch, since a required subscription stopped working; for YouTube, since an app needs the source and it is not READY. null when no gap is known; this is not a promise that every gap is known. |
unavailableTypes |
list of strings | Twitch and YouTube only: event types Donatty knows it cannot receive now, for the reason given by status; for YouTube, youtube.member when the channel has no memberships or YouTube does not give the member list, and every type when polling is switched off. An empty list means no known unavailable types, not that the source is ready. |
Example
Section titled “Example”{ "id": "src_da_9817342", "platform": "DONATION_ALERTS", "accountId": "9817342", "status": "READY", "since": "2026-11-09T10:00:04.318275Z", "gapSince": null, "unavailableTypes": []}SourceStatusList
Section titled “SourceStatusList”Returned by:
- Event sources ·
GET /v1/event-sources— the whole response
| Field | Type | Description |
|---|---|---|
items |
list SourceStatus |
Donation Alerts accounts when the key has donations:read, Twitch accounts when it has twitch:read, YouTube channels when it has youtube:read. |
Example
Section titled “Example”{ "items": [ { "id": "src_da_9817342", "platform": "DONATION_ALERTS", "accountId": "9817342", "status": "READY", "since": "2026-11-09T10:00:04.318275Z", "gapSince": null, "unavailableTypes": [] }, { "id": "src_twitch_141981764", "platform": "TWITCH", "accountId": "141981764", "status": "REAUTH_REQUIRED", "since": "2026-11-09T10:31:12.507394Z", "gapSince": "2026-11-09T10:31:04.112840Z", "unavailableTypes": [ "twitch.reward.redeemed" ] }, { "id": "src_youtube_104857306182736450192", "platform": "YOUTUBE", "accountId": "104857306182736450192", "status": "READY", "since": "2026-11-09T10:19:47.215064Z", "gapSince": null, "unavailableTypes": [ "youtube.member" ] } ]}