Skip to main content

Event Registrations

The Event Registrations API allows you to create, retrieve, update, and delete event registrations. Registrations represent users who have signed up to attend an event.

Authentication

All requests to the Event Registrations API must be authenticated using the ONLIVE.SITE authentication scheme. Please refer to the Authentication Guide for detailed instructions.

Base URL

https://openapi.onlive.site/api/v1/event-registrations

Endpoints


Create Registration

Creates a new event registration.

HTTP Request

POST /api/v1/event-registrations

Request Body

FieldTypeRequiredDescription
occurrenceIdstring (uuid)YesThe occurrence identifier for the registration
externalUserIdstringYesThe external user identifier for the registration
fieldsobjectNoJSON fields provided by the registrant

Example Request Body

{
"occurrenceId": "123e4567-e89b-12d3-a456-426614174001",
"externalUserId": "ext_user_12345",
"fields": {
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"company": "Tech Corp",
"role": "Developer"
}
}

Response

201 Created

Returns the created EventRegistration object.

Example Response

{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"status": "CONFIRMED",
"fields": {
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe"
},
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"organizationId": "987e6543-e21a-34b5-c678-426614174000",
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"role": "attendee",
"avatar": "https://example.com/avatars/user.jpg",
"isActive": true
},
"occurrence": {
"id": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"startDate": "2025-12-25T10:00:00.000Z",
"endDate": "2025-12-25T18:00:00.000Z",
"capacity": 100,
"registrations": 50
},
"event": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"name": "Annual Tech Conference 2025",
"slug": "annual-tech-conference-2025",
"description": "Join us for the biggest tech conference of the year featuring keynote speakers, workshops, and networking opportunities."
}
}

Get Registration

Retrieves a specific event registration by its ID.

HTTP Request

GET /api/v1/event-registrations/{id}

Path Parameters

ParameterTypeRequiredDescription
idstring (uuid)YesThe unique identifier of the registration

Query Parameters

ParameterTypeRequiredDescription
withTrashedbooleanNoInclude trashed registrations

Response

200 OK

Returns the EventRegistration object.

Example Response

{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"status": "CONFIRMED",
"fields": {
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe"
},
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"organizationId": "987e6543-e21a-34b5-c678-426614174000",
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"role": "attendee",
"avatar": "https://example.com/avatars/user.jpg",
"isActive": true
},
"occurrence": {
"id": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"startDate": "2025-12-25T10:00:00.000Z",
"endDate": "2025-12-25T18:00:00.000Z",
"capacity": 100,
"registrations": 50
},
"event": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"name": "Annual Tech Conference 2025",
"slug": "annual-tech-conference-2025",
"description": "Join us for the biggest tech conference of the year featuring keynote speakers, workshops, and networking opportunities."
}
}

Update Registration

Updates an existing event registration.

HTTP Request

PUT /api/v1/event-registrations/{id}

Path Parameters

ParameterTypeRequiredDescription
idstring (uuid)YesThe unique identifier of the registration

Request Body

All fields are optional. Only the fields you want to update need to be included.

FieldTypeDescription
statusstringRegistration status: PENDING, CONFIRMED, CANCELLED, WAITING_LIST, or ATTENDED
fieldsobjectJSON fields provided by the registrant

Example Request Body

{
"status": "ATTENDED",
"fields": {
"ticketType": "VIP",
"notes": "Arrived early"
}
}

Response

200 OK

Returns the updated EventRegistration object.


Search Registrations

Retrieves a paginated list of event registrations based on query parameters.

HTTP Request

GET /api/v1/event-registrations

Query Parameters

ParameterTypeRequiredDescription
limitnumberNoMaximum number of items to return (default: 10, min: 1)
pagenumberNoPage number (starts at 1, default: 1, min: 1)
sortstringNoField name and direction to sort results by. Use "ASC" or "DESC". (default: "createdAt DESC")
eventIdstring (uuid)NoLimits the results to registrations that belong to a specific event
occurrenceIdstring (uuid)NoLimits the results to registrations that belong to a specific occurrence
statusstringNoFilters registrations by their current status: PENDING, CONFIRMED, CANCELLED, WAITING_LIST, or ATTENDED
searchstring (max 255)NoPerforms a case-insensitive search across event name, event ID, user ID, user email, phone, first or last name
categoriesarray of strings (uuid)NoArray of category UUIDs to filter registrations. Returns registrations for events that belong to at least one of these categories.
withTrashedbooleanNoInclude soft-deleted registrations in the results

Example Request

GET /api/v1/event-registrations?eventId=4c4f93e6-38bb-4a1e-8286-e89f9853cf52&status=CONFIRMED&search=john

Response

200 OK

Returns an array of EventRegistration objects.

Example Response

[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"status": "CONFIRMED",
"fields": {
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe"
},
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"organizationId": "987e6543-e21a-34b5-c678-426614174000",
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"role": "attendee",
"avatar": "https://example.com/avatars/user.jpg",
"isActive": true
},
"occurrence": {
"id": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"startDate": "2025-12-25T10:00:00.000Z",
"endDate": "2025-12-25T18:00:00.000Z",
"capacity": 100,
"registrations": 50
},
"event": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"name": "Annual Tech Conference 2025",
"slug": "annual-tech-conference-2025",
"description": "Join us for the biggest tech conference of the year featuring keynote speakers, workshops, and networking opportunities."
}
}
]

Delete Registration

Deletes an event registration by its ID.

HTTP Request

DELETE /api/v1/event-registrations/{id}

Path Parameters

ParameterTypeRequiredDescription
idstring (uuid)YesThe unique identifier of the registration

Query Parameters

ParameterTypeRequiredDescription
withTrashedbooleanNoInclude trashed registrations

Response

200 OK

Returns the deleted EventRegistration object.


EventRegistration Object

The EventRegistration object represents a user's registration for an event.

Properties

PropertyTypeDescription
idstring (uuid)The unique identifier of the registration
createdAtstring (ISO 8601)The date and time when the registration was created
updatedAtstring (ISO 8601)The date and time when the registration was last updated
statusstringRegistration status. Possible values: PENDING, CONFIRMED, CANCELLED, WAITING_LIST, ATTENDED
fieldsobjectJSON fields provided by the registrant
userobjectThe user object associated with the registration
occurrenceobjectThe event occurrence object
eventobjectThe event object
organizationobjectThe organization associated with the event registration
deletedAtstring (ISO 8601)The deletion date of the registration (if deleted)