Events
Get checkout data for a waitlist offer
Validates the current, unexpired offer token and returns ticket/quantity checkout parameters. This request does not create the order; submit its waitlist_offer_token with checkout. Grouped registration features are required.
POST
/
frontend
/
public
/
events
/
{clientSlugOrId}
/
{eventSlug}
/
waitlist
/
{token}
/
accept
Get checkout data for a waitlist offer
curl --request POST \
--url https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/acceptimport requests
url = "https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/accept"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/accept', 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}/waitlist/{token}/accept",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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}/waitlist/{token}/accept"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/accept")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/accept")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"id": 42,
"status": "waiting",
"name": "Example",
"email": "jane@example.org",
"requested_units": 42,
"admissions_requested": 42,
"offered_at": "2026-10-20T12:00:00Z",
"offer_expires_at": "2026-10-20T12:00:00Z",
"converted_at": "2026-10-20T12:00:00Z",
"event_order_id": 42,
"token": "issued-waitlist-token",
"checkout": {
"waitlist_offer_token": "issued-offer-token",
"ticket_type_id": 42,
"quantity": 42
}
}
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"message": "Not Found",
"status": "error"
}{
"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"
}Path Parameters
Public organization slug or numeric ID.
Example:
"example-foundation"
Event slug within the organization.
Example:
"annual-gala"
Secret waitlist management or offer capability.
Example:
"issued-waitlist-token"
Response
Get checkout data for a waitlist offer completed.
Show child attributes
Show child attributes
⌘I
Get checkout data for a waitlist offer
curl --request POST \
--url https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/acceptimport requests
url = "https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/accept"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/accept', 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}/waitlist/{token}/accept",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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}/waitlist/{token}/accept"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/accept")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/frontend/public/events/{clientSlugOrId}/{eventSlug}/waitlist/{token}/accept")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"id": 42,
"status": "waiting",
"name": "Example",
"email": "jane@example.org",
"requested_units": 42,
"admissions_requested": 42,
"offered_at": "2026-10-20T12:00:00Z",
"offer_expires_at": "2026-10-20T12:00:00Z",
"converted_at": "2026-10-20T12:00:00Z",
"event_order_id": 42,
"token": "issued-waitlist-token",
"checkout": {
"waitlist_offer_token": "issued-offer-token",
"ticket_type_id": 42,
"quantity": 42
}
}
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"message": "Not Found",
"status": "error"
}{
"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"
}