Goal: Goal
The Fundraising goals method and the goal.updated event return this structure.
Returned by:
- Fundraising goals ·
GET /v1/goals—itemselements - Event
goal.updated· channelgoals— thedatafield
| Field | Type | Description |
|---|---|---|
id |
string, goal_… |
Goal identifier, goal_…. |
title |
string | Goal title. |
target |
Money |
The amount to raise. |
raised |
Money |
The amount raised: the amount you started the goal with (the «Начать сбор с» (Start collecting from) field) plus Donatty donations to this goal, including ones rejected by moderation. |
status |
string, values: ACTIVE, CLOSED |
ACTIVE — running, CLOSED — finished. |
endsAt |
string (date-time) or null | When the goal ends; null when no end is set. |
createdAt |
string (date-time) | When the goal was created. |
Example
Section titled “Example”{ "id": "goal_7e3a9c10-4b2d-4f8e-a1c6-0d9b8e7f6a52", "title": "New microphone", "target": { "value": "15000.00", "currency": "RUB" }, "raised": { "value": "6420.50", "currency": "RUB" }, "status": "ACTIVE", "endsAt": "2026-12-31T21:00:00Z", "createdAt": "2026-10-01T12:00:00Z"}GoalPage
Section titled “GoalPage”Returned by:
- Fundraising goals ·
GET /v1/goals— the whole response
| Field | Type | Description |
|---|---|---|
items |
list Goal |
|
nextCursor |
string or null | Pass as cursor to get the next page; null — last page. |
Example
Section titled “Example”{ "items": [ { "id": "goal_7e3a9c10-4b2d-4f8e-a1c6-0d9b8e7f6a52", "title": "New microphone", "target": { "value": "15000.00", "currency": "RUB" }, "raised": { "value": "6420.50", "currency": "RUB" }, "status": "ACTIVE", "endsAt": "2026-12-31T21:00:00Z", "createdAt": "2026-10-01T12:00:00Z" } ], "nextCursor": "MTc5MDg1NjAwMDAwMDAwMC43ZTNhOWMxMC00YjJkLTRmOGUtYTFjNi0wZDliOGU3ZjZhNTI"}Why the goal amount differs from the widget
Section titled “Why the goal amount differs from the widget”See the field description above for what raised includes. The API does not count Donation Alerts goals or widget settings, so the goal progress on stream can differ from raised.