List your configs
curl --request GET \
--url https://api.donate.gg/api/v2/configs \
--header 'donate-api-key: <api-key>'import requests
url = "https://api.donate.gg/api/v2/configs"
headers = {"donate-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'donate-api-key': '<api-key>'}};
fetch('https://api.donate.gg/api/v2/configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.donate.gg/api/v2/configs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"donate-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.donate.gg/api/v2/configs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("donate-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.donate.gg/api/v2/configs")
.header("donate-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v2/configs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["donate-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "0x7ac4174ed42dc6285a4d8a29f33177218a9e99becb64a5c9845725d1ebfe29f3",
"idBase58": "9GEATUZ8sqNxgiuF3BauoNaUKoA7v1MMrV16UZFkqqpW",
"beneficiaries": [
{
"type": "charity",
"id": "9b4dae4e-d8c1-4322-a594-35a4858296b2",
"weight": "3"
},
{
"type": "campaign",
"id": "cmr2icrm701xu04jxvybvmgwn",
"weight": "1"
}
],
"createdAt": "2026-11-19T09:12:04.118Z"
}
],
"nextCursor": null
}{
"code": "VALIDATION_ERROR",
"message": "<string>",
"issues": [
{
"path": "<string>",
"code": "required",
"message": "<string>"
}
]
}{
"code": "UNAUTHENTICATED",
"message": "This operation needs your API key. Send it in the donate-api-key header."
}{
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests. Wait for the time in the Retry-After header."
}Configs
List your configs
Every config your project created, newest first. Requires your API key.
GET
/
v2
/
configs
List your configs
curl --request GET \
--url https://api.donate.gg/api/v2/configs \
--header 'donate-api-key: <api-key>'import requests
url = "https://api.donate.gg/api/v2/configs"
headers = {"donate-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'donate-api-key': '<api-key>'}};
fetch('https://api.donate.gg/api/v2/configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.donate.gg/api/v2/configs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"donate-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.donate.gg/api/v2/configs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("donate-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.donate.gg/api/v2/configs")
.header("donate-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v2/configs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["donate-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "0x7ac4174ed42dc6285a4d8a29f33177218a9e99becb64a5c9845725d1ebfe29f3",
"idBase58": "9GEATUZ8sqNxgiuF3BauoNaUKoA7v1MMrV16UZFkqqpW",
"beneficiaries": [
{
"type": "charity",
"id": "9b4dae4e-d8c1-4322-a594-35a4858296b2",
"weight": "3"
},
{
"type": "campaign",
"id": "cmr2icrm701xu04jxvybvmgwn",
"weight": "1"
}
],
"createdAt": "2026-11-19T09:12:04.118Z"
}
],
"nextCursor": null
}{
"code": "VALIDATION_ERROR",
"message": "<string>",
"issues": [
{
"path": "<string>",
"code": "required",
"message": "<string>"
}
]
}{
"code": "UNAUTHENTICATED",
"message": "This operation needs your API key. Send it in the donate-api-key header."
}{
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests. Wait for the time in the Retry-After header."
}Authorizations
Query Parameters
Was this page helpful?