Booking · Tournaments
List the sign-ups of a tournament
Returns the event that takes the sign-up for a tournament with its rates, and everyone who signed up: with the status, the booking and what is paid, the category of the booked rate, and the team the sign-up became. Without a sign-up event the list is empty and the event is null.
Permissions
Send an API key of the organization in the path, using the X-API-Key header.
Permission checks in detail
Required permissions
mandate.readtournament.readevent.readattendee.read
Request
Path parameters
-
organizationIdidrequired -
mandateIdidrequired -
tournamentIdidrequired
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
--request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/tournaments/YOUR_TOURNAMENT_ID/registration/list' \
--header 'X-API-Key: YOUR_API_KEY'const response = await fetch("https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/tournaments/YOUR_TOURNAMENT_ID/registration/list", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY"
},
redirect: 'error',
signal: AbortSignal.timeout(30_000),
});
if (!response.ok) throw new Error(`campai HTTP ${response.status}`);
const text = await response.text();
const result = text ? JSON.parse(text) : null;
console.log(JSON.stringify(result, null, 2));<?php
$context = stream_context_create(['http' => [
'method' => 'POST',
'header' => [
'X-API-Key: YOUR_API_KEY',
],
'timeout' => 30,
'follow_location' => 0,
'ignore_errors' => true,
]]);
$text = @file_get_contents('https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/tournaments/YOUR_TOURNAMENT_ID/registration/list', false, $context);
preg_match('/^HTTP\/\S+ (\d{3})/', $http_response_header[0] ?? '', $match);
$status = (int) ($match[1] ?? 0);
if ($text === false || $status < 200 || $status >= 300) {
throw new RuntimeException("campai HTTP $status (0 means no response)");
}
$result = $text === '' ? null : json_decode($text, true, 512, JSON_THROW_ON_ERROR);
echo json_encode($result, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR), PHP_EOL;
Response
200 Successful response
Content-Type: application/json
-
eventobjectnullable9 properties
-
_idid -
periodobject4 properties
-
fromstring · date-time -
tostring · date-time -
statusstringavailableblockedResourceblockedCalendar -
warningstringnoAvailableExtendedPeriod
-
-
statisticsobject8 properties
-
attendeesintegerat least 0
-
teamMembersintegerat least 0
-
waitlistedintegerat least 0
-
offeredintegerat least 0
-
pendingintegerat least 0
-
confirmedintegerat least 0
-
canceledintegerat least 0
-
checkedInintegerat least 0
-
-
archivedAtstring · date-timenullable -
cancelationobjectnullable1 property
-
canceledAtstring · date-time
-
-
infoobject1 property
-
titlestring1–60 characters
-
-
scheduleobject1 property
-
timezonestringat least 1 characters
-
-
settingsobject1 property
-
waitlistobjectnullable2 properties
-
modestringorderedrandommanual -
offerAvailableHoursnumbernullable
-
-
-
offerobject8 properties
-
modestringdisabledprivateprotectedpublic -
availabilityobject8 properties
-
fromTypestringanytimedaterelativeStart -
fromDatestring · date-timenullable -
fromRelativeobjectnullable2 properties
-
valuenumber -
unitstringhoursdaysweeksmonthsyears
-
-
fromstring · date-timenullable -
toTypestringstartenddaterelativeStartrelativeEnd -
toDatestring · date-timenullable -
toRelativeobjectnullable2 properties
-
valuenumber -
unitstringhoursdaysweeksmonthsyears
-
-
tostring · date-timenullable
-
-
bookingRestrictionstringsoldOutbookIntoWaitlistrequireConfirmation -
paymentMethodsobject4 properties
-
sepaCreditTransferobjectnullable3 properties
-
internalboolean -
cashAccountid -
notestringat most 300 characters
-
-
sepaDirectDebitobjectnullable3 properties
-
internalboolean -
cashAccountid -
notestringat most 300 characters
-
-
onlineobjectnullable4 properties
-
internalboolean -
notestringat most 300 characters
-
stripebooleannullabledefault
true -
paypalbooleannullabledefault
false
-
-
cashobjectnullable2 properties
-
internalboolean -
notestringat most 300 characters
-
-
-
displaySettingsobject2 properties
-
seatsAvailableThresholdintegerat least 0
-
unlistedboolean
-
-
ratesStatisticsobject of object -
offeridnullable -
ratesobject[]4 properties
-
idstringexactly 8 characters
-
namestring1–50 characters
-
availableAmountintegernullable -
chargeobject3 properties
-
typestringpricepunchCard -
priceobjectnullable12 properties
-
isNetboolean -
priceinteger0–9999999999
-
priceNetinteger0–9999999999
-
priceGrossinteger0–9999999999
-
taxCodestringnullable1–5 characters
-
taxRatenumbernullableat most 99
-
accountinteger1–999999999
-
costCenter1numbernullable1–99999999
-
costCenter2numbernullable1–99999999
-
dimensionsobject[]2 properties
-
dimensionIdid -
optionKeystring1–64 characters
-
-
minSlotPriceintegerat most 9999999999
-
maxSlotPriceintegerat most 9999999999
-
-
punchCardobjectnullable4 properties
-
punchCardid -
punchCardNamestring -
punchCardPriceobject12 properties
-
isNetboolean -
priceinteger0–9999999999
-
priceNetinteger0–9999999999
-
priceGrossinteger0–9999999999
-
taxCodestringnullable1–5 characters
-
taxRatenumbernullableat most 99
-
accountinteger1–999999999
-
costCenter1numbernullable1–99999999
-
costCenter2numbernullable1–99999999
-
dimensionsobject[]2 properties
-
dimensionIdid -
optionKeystring1–64 characters
-
-
minSlotPriceintegerat most 9999999999
-
maxSlotPriceintegerat most 9999999999
-
-
pointsinteger
-
-
-
-
-
-
registrationsobject[]15 properties
-
_idid -
statusstringwaitlistedofferedpendingconfirmedcanceledcheckedIn -
bookingNumberstringexactly 10 characters
-
createdAtstring · date-timenullable -
namestring -
applicantobject4 properties
-
namestring1–81 characters
-
personNamestring1–81 characters
-
emailstring -
phonestring | string · phone
-
-
waitlistedAtstring · date-timenullable -
bookingidnullable -
rateIdstring -
rateNamestring -
divisionstringnullableexactly 10 characters
-
teamidnullable -
priceintegernullableat least 0
-
paymentStatusstringnullableunpaidpartialpaid -
openintegerat least 0
-
-
totalsobject2 properties
-
priceintegerat least 0
-
openintegerat least 0
-
{
"event": {
"_id": "000000000000000000000001",
"period": {
"from": "2026-06-15T22:30:00Z",
"to": "2026-06-15T22:30:00Z",
"status": "available"
},
"statistics": {
"attendees": 0,
"waitlisted": 0,
"offered": 0,
"pending": 0,
"confirmed": 0,
"canceled": 0,
"checkedIn": 0
},
"archivedAt": "2026-06-15T22:30:00Z",
"cancelation": {
"canceledAt": "2026-06-15T22:30:00Z"
},
"info": {
"title": "string"
},
"schedule": {
"timezone": "string"
},
"settings": {
"waitlist": {
"mode": "ordered",
"offerAvailableHours": 1
}
},
"offer": {
"mode": "disabled",
"availability": {
"fromType": "anytime",
"fromDate": "2026-06-15T22:30:00Z",
"fromRelative": {
"value": 1,
"unit": "hours"
},
"from": null,
"toType": "start",
"toDate": "2026-06-15T22:30:00Z",
"toRelative": {
"value": 1,
"unit": "hours"
},
"to": null
},
"bookingRestriction": "soldOut",
"paymentMethods": {
"sepaCreditTransfer": {
"internal": true,
"cashAccount": "000000000000000000000001",
"note": "string"
},
"sepaDirectDebit": {
"internal": true,
"cashAccount": "000000000000000000000001",
"note": "string"
},
"online": {
"internal": true,
"note": "string",
"stripe": true,
"paypal": false
},
"cash": {
"internal": true,
"note": "string"
}
},
"displaySettings": {
"seatsAvailableThreshold": 0,
"unlisted": true
},
"ratesStatistics": {
"key": {
"attendees": 0,
"waitlisted": 0,
"offered": 0,
"pending": 0,
"confirmed": 0,
"canceled": 0,
"checkedIn": 0
}
},
"offer": "000000000000000000000001",
"rates": [
{
"id": "string",
"name": "string",
"availableAmount": 1,
"charge": {
"type": "price",
"price": {
"isNet": true,
"price": 0,
"taxCode": "string",
"taxRate": 1,
"account": 1,
"costCenter1": 1,
"costCenter2": 1,
"dimensions": [
{
"dimensionId": "000000000000000000000001",
"optionKey": "string"
}
]
},
"punchCard": {
"punchCard": "000000000000000000000001",
"punchCardName": "string",
"punchCardPrice": {
"isNet": true,
"price": 0,
"taxCode": "string",
"taxRate": 1,
"account": 1,
"costCenter1": 1,
"costCenter2": 1,
"dimensions": [
{
"dimensionId": null,
"optionKey": "string"
}
]
},
"points": 1
}
}
}
]
}
},
"registrations": [
{
"_id": "000000000000000000000001",
"status": "waitlisted",
"bookingNumber": "string",
"name": "string",
"applicant": {
"name": "string",
"email": "",
"phone": ""
},
"waitlistedAt": "2026-06-15T22:30:00Z",
"booking": "000000000000000000000001",
"rateId": "string",
"rateName": "string",
"division": "string",
"team": "000000000000000000000001",
"price": 0,
"paymentStatus": "unpaid",
"open": 0
}
],
"totals": {
"price": 0,
"open": 0
}
}
Errors
No errors of its own are known for this endpoint.
Errors nearly every request can meet are listed under Errors.