Get a registration type
GET
/events/{event_id}/registration_types/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
readPath parameters
event_idintegerrequiredEvent id
idintegerrequiredRegistration type id
Responses
200Success
itemRegistrationTyperequiredShow propertiesHide properties
idobjectrequirednameobjectrequireddescriptionobjectrequiredcapacityobjectrequireddefaultobjectrequiredvisibleobjectrequiredparticipants_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/0" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("http://localhost:3000/api/v2/events/0/registration_types/0", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"http://localhost:3000/api/v2/events/0/registration_types/0",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"item": {
"id": {},
"name": {},
"description": {},
"capacity": {},
"default": {},
"visible": {},
"participants_count": {}
},
"metadata": {}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}