List events
Retrieve a paginated list of events in a community.
GET /v1/communities/:community_id/events
Query parameters:
| Parameter | Type | Description |
|---|
status | string | Filter by status: upcoming, past, all. |
page | int | Page number (default: 1). |
per_page | int | Items per page (max 50). |
Get event
Retrieve the details of a specific event.
GET /v1/communities/:community_id/events/:id
Create event
Create a new event inside a community.
POST /v1/communities/:community_id/events
Request body:
{
"title": "Marketing Workshop",
"description": "Learn advanced marketing strategies",
"event_type": "online",
"starts_at": "2025-03-15T14:00:00Z",
"ends_at": "2025-03-15T16:00:00Z",
"max_attendees": 100,
"price": 0
}
| Field | Type | Required | Description |
|---|
title | string | Yes | Event title. |
description | string | No | Detailed description of the event. |
event_type | string | Yes | Format of the event: online or in_person. |
starts_at | string | Yes | Start time in ISO 8601 format. |
ends_at | string | Yes | End time in ISO 8601 format. |
max_attendees | int | No | Maximum number of registrations (omit for unlimited). |
price | number | No | Ticket price. Use 0 for free events. |
Set price to 0 for free events. For paid events, make sure you have Stripe connected to process payments.
Register for event
Register the authenticated user for an event.
POST /v1/communities/:community_id/events/:id/register
Response: Returns the registration record with a unique ticket_code.
For paid events, the registration is only confirmed after payment is completed through Tryno Pay.
Check-in
Check in a registered attendee at an event using their ticket code.
POST /v1/communities/:community_id/events/:id/checkin
Request body:
{
"ticket_code": "ABC123"
}
| Field | Type | Required | Description |
|---|
ticket_code | string | Yes | The unique ticket code issued during registration. |
Each ticket code can only be used for check-in once. Duplicate check-in attempts return a 400 error.