Events
List donor event registrations
Requires the donor portal session in the path. Lists that donor’s organization-scoped registrations with monetary/receipt/ticket/sponsor projections and available giving next steps, plus tables hosted by the donor. Sample-linked events are excluded; hosted tables are restricted to public lifecycle statuses.
GET
/
frontend
/
events
/
{client_id}
/
{session_id}
List donor event registrations
curl --request GET \
--url https://api.gratona.com/v1/frontend/events/{client_id}/{session_id}import requests
url = "https://api.gratona.com/v1/frontend/events/{client_id}/{session_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.gratona.com/v1/frontend/events/{client_id}/{session_id}', 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.gratona.com/v1/frontend/events/{client_id}/{session_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.gratona.com/v1/frontend/events/{client_id}/{session_id}"
req, _ := http.NewRequest("GET", url, nil)
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.gratona.com/v1/frontend/events/{client_id}/{session_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/frontend/events/{client_id}/{session_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": 42,
"order_number": "EVT-42-001",
"status": "completed",
"payment_status": "paid",
"payment_method": "Example",
"gateway": "Example",
"currency": "USD",
"subtotal_amount": 0,
"discount_amount": 0,
"donation_amount": 0,
"fees_covered_amount": 0,
"tax_deductible_amount": 0,
"non_deductible_amount": 0,
"total_amount": 0,
"receipt_snapshot": {},
"receipt_sent_at": "2026-10-20T12:00:00Z",
"conversion_intents": {},
"conversion_actions": [
{
"type": "recurring_gift",
"label": "Start monthly giving",
"status": "requested",
"url": "/frontend/donations_page/42/7"
}
],
"event": {
"id": 42,
"name": "Annual Gala",
"slug": "annual-gala",
"starts_at": "2026-10-20T12:00:00Z",
"timezone": "Africa/Kampala"
},
"attendees": [
{
"id": 42,
"name": "Example",
"status": "registered",
"checked_in_at": "2026-10-20T12:00:00Z",
"ticket_type": "Example",
"table": "Example",
"ticket_code": "EVT-42-00123",
"qr_url": "Example",
"wallet_pass_url": "Example",
"wallet_pass_status": "inactive"
}
],
"sponsors": [
{
"id": 42,
"company_name": "Example",
"status": "active",
"amount": 1000,
"package": {
"id": 42,
"name": "Example",
"tier": "Example"
},
"deliverables": [
{
"id": 42,
"type": "logo",
"label": "Logo placement",
"status": "pending",
"due_at": "2026-10-20T12:00:00Z",
"completed_at": "2026-10-20T12:00:00Z"
}
]
}
],
"manage_url": "Example"
}
],
"hosted_tables": [
{
"id": 42,
"name": "Table 1",
"section": "Example",
"capacity": 42,
"guest_count": 42,
"checked_in_count": 42,
"event": {
"id": 42,
"name": "Annual Gala",
"slug": "annual-gala",
"starts_at": "2026-10-20T12:00:00Z",
"timezone": "Africa/Kampala"
},
"manage_url": "/events/42/annual-gala/tables/7/host/session-token"
}
]
}{
"status": "error",
"message": "Not authenticated",
"redirect": "/frontend/login/42/0"
}Path Parameters
Record ID in the authenticated organization.
Example:
42
Authenticated donor portal session.
Example:
"donor-session-token"
⌘I
List donor event registrations
curl --request GET \
--url https://api.gratona.com/v1/frontend/events/{client_id}/{session_id}import requests
url = "https://api.gratona.com/v1/frontend/events/{client_id}/{session_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.gratona.com/v1/frontend/events/{client_id}/{session_id}', 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.gratona.com/v1/frontend/events/{client_id}/{session_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.gratona.com/v1/frontend/events/{client_id}/{session_id}"
req, _ := http.NewRequest("GET", url, nil)
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.gratona.com/v1/frontend/events/{client_id}/{session_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/frontend/events/{client_id}/{session_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": 42,
"order_number": "EVT-42-001",
"status": "completed",
"payment_status": "paid",
"payment_method": "Example",
"gateway": "Example",
"currency": "USD",
"subtotal_amount": 0,
"discount_amount": 0,
"donation_amount": 0,
"fees_covered_amount": 0,
"tax_deductible_amount": 0,
"non_deductible_amount": 0,
"total_amount": 0,
"receipt_snapshot": {},
"receipt_sent_at": "2026-10-20T12:00:00Z",
"conversion_intents": {},
"conversion_actions": [
{
"type": "recurring_gift",
"label": "Start monthly giving",
"status": "requested",
"url": "/frontend/donations_page/42/7"
}
],
"event": {
"id": 42,
"name": "Annual Gala",
"slug": "annual-gala",
"starts_at": "2026-10-20T12:00:00Z",
"timezone": "Africa/Kampala"
},
"attendees": [
{
"id": 42,
"name": "Example",
"status": "registered",
"checked_in_at": "2026-10-20T12:00:00Z",
"ticket_type": "Example",
"table": "Example",
"ticket_code": "EVT-42-00123",
"qr_url": "Example",
"wallet_pass_url": "Example",
"wallet_pass_status": "inactive"
}
],
"sponsors": [
{
"id": 42,
"company_name": "Example",
"status": "active",
"amount": 1000,
"package": {
"id": 42,
"name": "Example",
"tier": "Example"
},
"deliverables": [
{
"id": 42,
"type": "logo",
"label": "Logo placement",
"status": "pending",
"due_at": "2026-10-20T12:00:00Z",
"completed_at": "2026-10-20T12:00:00Z"
}
]
}
],
"manage_url": "Example"
}
],
"hosted_tables": [
{
"id": 42,
"name": "Table 1",
"section": "Example",
"capacity": 42,
"guest_count": 42,
"checked_in_count": 42,
"event": {
"id": 42,
"name": "Annual Gala",
"slug": "annual-gala",
"starts_at": "2026-10-20T12:00:00Z",
"timezone": "Africa/Kampala"
},
"manage_url": "/events/42/annual-gala/tables/7/host/session-token"
}
]
}{
"status": "error",
"message": "Not authenticated",
"redirect": "/frontend/login/42/0"
}