Onboard
Community API

Events

List a club's upcoming events and reserve and check out event tickets for a member through the Onboard Community API.

List the club's upcoming events, and buy tickets on behalf of a member in two steps: reserve an order, then check it out.

List upcoming events

GET /community-api/events

Returns the club's events that start now or later, earliest first. Supports pagination with page and limit.

curl "https://data.onboard.blue/community-api/events?limit=20" \
  -H "x-api-key: YOUR_API_KEY"
{
  "items": [
    {
      "id": "65fbca72-82a4-4eb0-b719-826ea2817b0f",
      "title": "Beginner sailing course",
      "description": "<p>Three evenings on the water.</p>",
      "start": "2026-11-21T09:00:00+00:00",
      "end": "2026-11-21T12:00:00+00:00",
      "join_start": "2026-11-01T00:00:00+00:00",
      "location": "Copenhagen Harbor",
      "status": "published",
      "tickets": [
        {
          "id": "a8d18bec-7cd2-484f-a239-710d36bf3017",
          "name": "Adult",
          "show": true,
          "price": 25000,
          "max_participants": 10,
          "available": 7
        }
      ],
      "repetition_type": "never",
      "image": "https://example.com/event-image.jpg",
      "availableTicketsCount": 7,
      "tags": [{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Beginner" }],
      "earliest_join_date": "2026-10-02T10:00:00+00:00",
      "last_join_date": "2026-10-12T14:30:00+00:00"
    }
  ],
  "page": 1,
  "limit": 20,
  "total": 1,
  "hasMore": false
}
FieldTypeDescription
idstringEvent ID. Use it in eventId when you reserve an order.
titlestring | nullTitle
descriptionstring | nullDescription as HTML
start, endstring | nullStart and end, ISO 8601
join_startstring | nullWhen registration opens, ISO 8601
locationstring | nullLocation text
statusstring | nullFor example draft or published
ticketsarray | nullTicket types, see below. Empty or null when the event has no ticket types.
repetition_typestring | nullFor example never, daily, weekly, monthly
imagestring | nullCover image URL
availableTicketsCountnumberSum of max_participants over all ticket types minus tickets issued. 0 without ticket types.
tagsarray | null{ id, name } tags, or null
earliest_join_datestring | nullWhen the first ticket for the event was created
last_join_datestring | nullWhen the most recent ticket for the event was created

Each item in tickets:

FieldTypeDescription
idstringTicket type ID. Use it in selectedTicketTypesIds.
namestring | nullName of the ticket type
showbooleanWhether the ticket type is shown to members. Hidden types are included in the list.
pricenumber | nullPrice in the smallest currency unit (øre for DKK)
max_participantsnumber | nullCapacity of this ticket type
availablenumbermax_participants minus tickets issued for this type. Only meaningful when max_participants is set.
The list is not filtered on status, so draft events can appear. Show only events with "status": "published" to the public.

Buy tickets for a member

Ticket purchases happen in two calls. Both identify the member by the club's membership number (membership in the member list), which must match exactly one member of the club.

  1. POST /community-api/events/order reserves the tickets and returns an order in state reserved. The reservation holds the tickets for 15 minutes (reservation_expires_at).
  2. POST /community-api/events/checkout completes the reserved order before the reservation expires.
    • Free order: the order becomes completed and the member is registered for the event.
    • Paid order: the order becomes pending and checkout_url contains a payment page. Send the member to that URL to pay.
The reservation step runs on an older order flow that Onboard has marked as deprecated internally. It works today, but expect this part of the API to change.

Reserve an order

POST /community-api/events/order
curl -X POST https://data.onboard.blue/community-api/events/order \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "eventId": "65fbca72-82a4-4eb0-b719-826ea2817b0f",
    "selectedTicketTypesIds": ["a8d18bec-7cd2-484f-a239-710d36bf3017", "a8d18bec-7cd2-484f-a239-710d36bf3017"],
    "membership": "12345"
  }'
FieldTypeRequiredDescription
eventIdstringyesEvent ID
selectedTicketTypesIdsstringyesAt least one ticket type ID. Repeat an ID to buy several tickets of the same type.
membershipstringyesMembership number of the member the tickets are for

Response 201 Created — the reserved order:

{
  "id": "2ba9bab8-8f0d-466a-87d0-8e9f65229f30",
  "created_at": "2026-10-15T12:36:23.89952+00:00",
  "community": "c2e828fa-17c5-416e-af4a-a915d7924d40",
  "event": "65fbca72-82a4-4eb0-b719-826ea2817b0f",
  "user": "6892cfb8-4818-4feb-883e-04d5530d650b",
  "state": "reserved",
  "reference_number": "1792067783871-reserved",
  "reservation_expires_at": "2026-10-15T12:51:23.641+00:00",
  "title": "Beginner sailing course",
  "total_price": 50000,
  "checkout_url": null,
  "tickets": [],
  "order_lines": []
}

Keep id; you need it for checkout. tickets lists the reserved tickets and order_lines the priced lines (amounts in the smallest currency unit). The OpenAPI reference at the base URL lists every field of both arrays.

Check out an order

POST /community-api/events/checkout
curl -X POST https://data.onboard.blue/community-api/events/checkout \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "orderId": "2ba9bab8-8f0d-466a-87d0-8e9f65229f30",
    "membership": "12345",
    "comment": "Needs a life jacket in size S"
  }'
FieldTypeRequiredDescription
orderIdstringyesid from the reserve call
membershipstringyesMembership number of the member
commentstringnoComment from the member, stored on the order

Response 201 Created — the updated order, with the same fields as the reserve response. Check these two:

FieldDescription
statecompleted for a free order, pending while a paid order awaits payment
checkout_urlPayment page for a paid order. null for a free order.

Errors

Errors from the order steps are passed through with their own status code and body, for example { "statusMessage": "Bad State", "message": "Order is not reserved" }.

StatusmessageStepCause
400list of validation messagesbothMissing or invalid body fields
404Member not foundbothNo single member of the club has that membership number
404Event not foundbothUnknown eventId
400No ticket types defined on eventreserveThe event sells no tickets
400Selected ticket type is not defined on eventreserveA ticket type ID does not belong to the event
400Ikke nok plads på begivenhedreserveThe event is full (message is in Danish)
400Ikke nok billetter tilbagereserveNot enough tickets left of a type (message is in Danish)
404Order not foundcheckoutUnknown orderId
400Order is not reservedcheckoutThe order is no longer reserved, for example already checked out or cancelled
400Order has no ticketscheckoutThe order is empty
Copyright © 2026