GET /v1/event-sources — Event sources
GET /v1/event-sources · Secret or secret key · scope donations:read, twitch:read, youtube:read
Sources of your events and their status: the linked Donation Alerts account when the key has donations:read, the linked Twitch account when it has twitch:read, the linked YouTube channels when it has youtube:read; any of these scopes is enough. Each item is the same object as data of the source.status_changed live event, which Donatty publishes to the donations channel for Donation Alerts, to the twitch channel for Twitch and to the youtube channel for YouTube when the status or unavailableTypes change. A source is listed as IDLE while nothing is received for apps. READY means the platform confirmed delivery to Donatty; for YouTube, that polling of every available required type keeps making progress, with no fixed delay. Events of a source that is not READY may be missed: when it becomes READY again, read the gap from the REST API starting a few minutes before gapSince. The API server stores the current status in memory and keeps no separate history of status changes. After an API server restart, since is the time that server first observes the source.
Response structure: SourceStatusList, SourceStatus
Loading the reference…
Tables of parameters, responses and fields
Responses
Section titled “Responses”200— OK400— The key was sent in the request address:token_in_query401— The key is missing, unknown, deleted or expired:missing_token,invalid_token,token_expired403— Wrong kind of key, or the key has none of thedonations:read,twitch:readandyoutube:readscopes. The public key never has them:wrong_token_type,insufficient_scope429— Rate limit exceeded:rate_limited500— The request failed on our side:internal_error503— The API is temporarily unavailable:service_unavailable
Example response
Section titled “Example response”{ "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" ] } ]}Schemas
Section titled “Schemas”SourceStatusList
Section titled “SourceStatusList”| 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. |
SourceStatus
Section titled “SourceStatus”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 | 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. |