Available scopes
| Scope | Description |
|---|---|
core | Access to charities, chains, token data, and config read/delete |
partner | Create/list donation configs, view source leaderboard data |
partner does not automatically grant core, and vice versa. Your organization needs each scope explicitly enabled for the endpoints it needs.
Default scopes
New organizations are provisioned with thecore scope by default. To enable additional scopes, contact us at support@donate.gg.
Endpoints by scope
core
Core endpoints allow developers to fetch public information and inspect or delete configs by ID.
| Method | Endpoint | Description |
|---|---|---|
| GET | /charities | List charities |
| GET | /charities/search | Search charities |
| GET | /charities/{charityId} | Get a charity by ID |
| GET | /chains | List supported chains |
| GET | /{chainId}/tokens/{address} | Get a token by address |
| GET | /{chainId}/tokens/leaderboard | Token leaderboard |
| GET | /configs/{configId} | Get a config by ID |
| DELETE | /configs/{configId} | Delete a config |
partner
Partner endpoints are reserved for full integration partners, enabling config creation/listing and source leaderboard access.
| Method | Endpoint | Description |
|---|---|---|
| GET | /configs | List configs |
| POST | /configs | Create a config |
| GET | /{chainId}/donationSources/{address}/subjects/leaderboard | Source subject leaderboard |
Error response
If you call an endpoint that requires a scope your organization doesn’t have, the API returns a403:
| Status | Code | Description |
|---|---|---|
403 | SCOPE_DENIED | The required scope is not enabled for your organization |
Rate limiting runs before scope checks. A
SCOPE_DENIED response still counts against your rate
limit.