List registration types
GET
/events/{event_id}/registration_typesAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
readPath parameters
event_idintegerrequiredEvent id
Responses
200Success
itemsRegistrationType[]requiredShow propertiesHide properties
Array of
RegistrationTypeidobjectrequirednameobjectrequireddescriptionobjectrequiredcapacityobjectrequireddefaultobjectrequiredvisibleobjectrequiredparticipants_countobjectrequiredmetadataMetadatarequired401Missing, invalid, expired, or revoked OAuth token
errorstring404Not found
errorstring429Rate limit exceeded
errorstringRequest
curl -X GET "http://localhost:3000/api/v2/events/0/registration_types" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("http://localhost:3000/api/v2/events/0/registration_types", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"http://localhost:3000/api/v2/events/0/registration_types",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"items": [
{
"id": {},
"name": {},
"description": {},
"capacity": {},
"default": {},
"visible": {},
"participants_count": {}
}
],
"metadata": {}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}