All Developer API endpoints require authentication via an API key passed as a request header, except forDocumentation Index
Fetch the complete documentation index at: https://docs.donate.gg/llms.txt
Use this file to discover all available pages before exploring further.
GET /openapi and GET /postman, which are publicly accessible.
API key header
Include your API key in every request using thedonate-api-key header:
Error responses
If authentication fails, the API returns one of the following errors:| Status | Code | Description |
|---|---|---|
400 | MISSING_API_KEY | The donate-api-key header was not included in the request |
403 | INVALID_API_KEY | The provided API key does not match any developer account |
Public endpoints
The following endpoints do not require thedonate-api-key header:
| Endpoint | Description |
|---|---|
GET /openapi | OpenAPI 3.0.0 JSON spec |
GET /postman | Postman collection (from OpenAPI) |
Keeping your key secure
- Store your API key in environment variables, never hardcoded
- Do not commit it to version control
- If your key is compromised, contact us at support@donate.gg to have it rotated
Don't have an API key yet?
Apply for API access