Getting started
The Lupeno API gives your own software the core of what your organization's screens show: events and their ticket tiers, orders, tickets and attendees with the answers to your checkout form, discount codes, check-ins and invoices. It speaks JSON over HTTPS, and every operation is in the API reference.
- Base URL:
https://api.lupeno.com - Version:
/v1— every path starts with it. - Format: JSON in, JSON out; times in ISO 8601 UTC; money in minor units with a currency code.
- Description:
https://api.lupeno.com/openapi.json(OpenAPI 3.1).
1. Make a key
In Lupeno, open Organization → Integrations → API keys and make one. Only owners and admins of the organization can make one.
- Live or test. A
lup_live_…key sees your real events and orders. Alup_test_…key sees only events in test mode and their test orders — a sandbox inside your own account, never billed, never in analytics. Build against a test key first, once an event is in test mode. - The whole organization or one event. A key limited to one event reaches nothing else: every other event answers
404, as if it did not exist. Give an agency or a partner a key for their event only. - Scopes.
readlists and gets.writecreates and changes, and includesread.checkinrecords and reverts entries at the door, and includesread.piishows buyers' and holders' e-mail addresses unmasked and adds the checkout form's answers (answerson orders, tickets and attendees, a consent with its wording's id — 1.2.0); without it addresses come back masked (j***@example.com) and there are no answers.
The key is shown once. Store it in your secret manager straight away; a lost key is revoked and replaced, never recovered. Revoking takes effect on the next request.
Keys belong on servers. Lupeno's own pages refuse live keys outright (api.live_key_in_browser), and you should never ship one in a web page or an app.
2. Make a request
Send the key as a bearer token:
curl https://api.lupeno.com/v1/organization \
-H "Authorization: Bearer $LUPENO_API_KEY"
{
"organization": { "id": "1d4c…", "name": "Vlnobití z.s.", "verificationStatus": "verified" },
"key": { "mode": "test", "scopes": ["read"], "eventId": null }
}
Then list your events:
curl "https://api.lupeno.com/v1/events?limit=10" \
-H "Authorization: Bearer $LUPENO_API_KEY"
3. Or use the SDK
npm install @lupeno/sdk
import { createLupeno, unwrap } from '@lupeno/sdk';
const lupeno = createLupeno({ apiKey: process.env.LUPENO_API_KEY! });
const events = unwrap(await lupeno.GET('/v1/events', { params: { query: { limit: 10 } } }));
for (const event of events.items) console.log(event.title, event.startsAt);
Every path, parameter and answer is typed from the published description. See the SDK guide.
Test mode
A test key sees nothing until one of your events is in test mode — its first GET /v1/events is an empty list, not an error. To start:
- In Lupeno, open the event's Overview and switch Test mode on (how test mode works).
- Make a
lup_test_…key, for the organization or for that event.
What to know before you build on it:
- Test mode is per event, and can be switched on only until the event's first real order. An event that already sells cannot be tested on; make a copy of it for testing.
- Test and live keys never see the same event. A test key sees an event only while it is in test mode, a live key only once it is not. When the organizer switches the event to live, the event and its test orders disappear from the test key and the event appears for the live key — change keys at go-live.
- A test-mode event holds at most 50 test tickets (
409 order.test_limit_reached); delete test orders to make room. - Test orders count against the daily reach like real ones: each still mails a real address (see Limits).
- Webhooks: test events reach test-mode endpoints only, and Send a test event on the Webhooks screen tries a receiver without any order (Webhooks).
Limits
Each key may make 300 requests a minute, in bursts of up to 60. Past that the API answers 429 with a Retry-After header in seconds — wait that long and carry on. Pages of up to 100 items keep most integrations far below the limit.
The daily reach. Every order you create (POST /v1/events/{eventId}/orders) and every holder you name (POST /v1/tickets/{ticketId}/assign) mails a person, so each counts against the organization's daily reach — a rolling 24 hours, shared with the organizer's own attendee messages and comps. How large it is depends on the organization; past it the API answers 409 bulk.over_daily_cap with the limit, what is left and when the oldest counted mail leaves the window:
{
"status": 409,
"code": "bulk.over_daily_cap",
"title": "Today’s reach is spent — each order entered by hand mails someone",
"context": { "limit": 500, "remaining": 0, "resetsAt": "2026-11-25T09:12:00.000Z" }
}
Wait until resetsAt before you try again — a retry sooner is refused the same way. A guest list belongs in the portal's bulk comps rather than in a loop over the API; if your integration needs a higher reach, write to hello@lupeno.com — Lupeno raises it on request.
Next
- Pagination — reading long lists.
- Idempotency — retrying a create safely.
- Errors — what a refusal looks like.
- Webhooks — being told instead of asking.