API Documentation

Authenticate with an API key and query your venue's events, orders, and tickets.

API Key

To use the API, you need to create an API key in Pro > Settings > API key (https://lunoa.app/en/pro/settings/api-key).

API Documentation

Use this API to read data for the venue linked to your API key.

Authentication

Create or regenerate a key in Pro > Settings > API key.

Send the key on every request using the following header:

x-api-key: lunoa_xxxxxxxxxxxxxxxxx

If the key is missing or invalid, the API returns 401 Unauthorized.

Base URL

https://lunoa-production.up.railway.app/

Scope and access

  • Every endpoint is automatically scoped to the venue linked to the API key.
  • If a resource does not belong to that venue, the detail endpoint returns 404 Not Found.

Example request

curl -X GET "https://lunoa-production.up.railway.app/api/events" \
  -H "x-api-key: lunoa_xxxxxxxxxxxxxxxxx"

Endpoints

Events

  • GET /api/events
  • GET /api/events/:eventUid

Orders

  • GET /api/orders
  • GET /api/orders/:orderUid

Tickets

  • GET /api/tickets
  • GET /api/tickets/:ticketUid