Events
Get a hosted event table
Requires the donor portal session in the path and that donor must be the table host. Event management stays available for completed/unpublished events unless the event is unavailable. Returns active guests with editable flags; ticket-order guests are visible but cannot be edited by the host.
GET
/
frontend
/
public
/
events
/
{clientSlugOrId}
/
{eventSlug}
/
tables
/
{tableId}
/
host
/
{sessionId}
Get a hosted event table
curl --request GET \
--url https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}import requests
url = "https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}', 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/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}",
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/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}"
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/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}")
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": {
"organization": {
"id": 42,
"name": "Example Foundation"
},
"event": {
"id": 42,
"branding_program_id": 42,
"name": "Annual Gala",
"slug": "annual-gala",
"starts_at": "2026-10-20T12:00:00Z",
"timezone": "Africa/Kampala",
"status": "registration_open"
},
"table": {
"id": 42,
"name": "Table 1",
"section": "Example",
"capacity": 42,
"guest_count": 42,
"checked_in_count": 42,
"notes": "Example",
"host": {
"id": 42,
"name": "Example",
"email": "Example"
}
},
"guests": [
{
"id": 42,
"first_name": "Example",
"last_name": "Example",
"name": "Example",
"email": "Example",
"phone": "Example",
"status": "registered",
"checked_in_at": "2026-10-20T12:00:00Z",
"ticket_type": "Example",
"table": "Example",
"seat_label": "Example",
"source": "table_host_guest",
"editable": false
}
],
"manage_url": "/events/42/annual-gala/tables/7/host/session-token"
}
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"message": "Not Found",
"status": "error"
}Path Parameters
Public organization slug or numeric ID.
Example:
"example-foundation"
Event slug within the organization.
Example:
"annual-gala"
Record ID in the authenticated organization.
Example:
42
Authenticated donor portal session.
Example:
"donor-session-token"
⌘I
Get a hosted event table
curl --request GET \
--url https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}import requests
url = "https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}', 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/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}",
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/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}"
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/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/tables/{tableId}/host/{sessionId}")
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": {
"organization": {
"id": 42,
"name": "Example Foundation"
},
"event": {
"id": 42,
"branding_program_id": 42,
"name": "Annual Gala",
"slug": "annual-gala",
"starts_at": "2026-10-20T12:00:00Z",
"timezone": "Africa/Kampala",
"status": "registration_open"
},
"table": {
"id": 42,
"name": "Table 1",
"section": "Example",
"capacity": 42,
"guest_count": 42,
"checked_in_count": 42,
"notes": "Example",
"host": {
"id": 42,
"name": "Example",
"email": "Example"
}
},
"guests": [
{
"id": 42,
"first_name": "Example",
"last_name": "Example",
"name": "Example",
"email": "Example",
"phone": "Example",
"status": "registered",
"checked_in_at": "2026-10-20T12:00:00Z",
"ticket_type": "Example",
"table": "Example",
"seat_label": "Example",
"source": "table_host_guest",
"editable": false
}
],
"manage_url": "/events/42/annual-gala/tables/7/host/session-token"
}
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"message": "Not Found",
"status": "error"
}