nisebookings Events API
The events API from nisebookings — 2 operation(s) for events.
The events API from nisebookings — 2 operation(s) for events.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/nisebookings-com:nisebookings-com-events-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: nisebookings — public Events API
version: '2026-10-13'
summary: Hosted appointment booking, packages, waiting lists and event tickets.
description: 'Public, unauthenticated API for one business account, identified by its **public key** in the
path (Instellingen → Insluiten in the admin). Used by the embeddable widgets and by custom
front-ends. Test against a 24-hour sandbox: `POST https://app.nisebookings.com/api/sandbox`.
## Rules that matter
- All instants are ISO 8601 UTC. `from`/`until` are business-local calendar dates (`YYYY-MM-DD`).
- The server never trusts client amounts, staff, extras or persons: every request is re-resolved
and re-checked against the live schedule, then written transactionally with per-staff locks.
- Two customers can never book the same seat: the loser of a race receives `409 slot_unavailable`
with the 0-based index of the failing item.
- Send back the exact `start` (and `staffId`) that a slot search returned. Times are never
constructed client-side.
- CORS: the request `Origin` is reflected when the account''s allowed-websites list (`allowedOrigins`) is empty or
contains that origin; otherwise `403 origin_not_allowed`. `OPTIONS` is answered with 204.
- Responses are `Cache-Control: no-store`, except `GET services` (`public, max-age=60`).
- Retries: send an `Idempotency-Key` header on `POST bookings` and `POST tickets`. A retry with the
same key and body returns the original response (`Idempotent-Replayed: true`) instead of creating
a second order. Keys are kept 24 hours.
## Versioning and rate limits
- Send `X-Api-Version: 2026-10-13` to pin a version; omit it for the latest, which every response
echoes — except the unknown-version `400` itself. An unknown value is `400 bad_request` and lists
the supported `versions`.
- Per minute and per client IP: 120 requests, or 20 for booking commits (`POST bookings`,
`POST bookings/{token}/reschedule`, `POST uploads` and `POST tickets`); `OPTIONS` preflights have
their own bucket of 120. Over that is `429 rate_limited`. Counted responses carry `X-RateLimit-Limit`,
`X-RateLimit-Remaining` and `X-RateLimit-Reset` (epoch seconds); a 429 adds `Retry-After`
(seconds). The unknown-version `400` and `OPTIONS` preflights carry no rate-limit state.
- A breaking change ships as a new dated version; the old one stays supported for at least six
months, announced with `Deprecation` and `Sunset` headers.
- This document is served on the app origin as `GET /openapi.json`; the management API spec as
`GET /api/v1/openapi.json`.
Limits: 60 items per order, 10 chain parts, 52 recurrence occurrences, 31 days per slots call,
2000-character notes, 40-character coupon codes, 1–50 tickets per type (max 20 types).
Errors use stable `error` codes: `not_found`, `origin_not_allowed`, `validation`,
`slot_unavailable`, `sold_out`, `sales_closed`, `payment_unavailable`, `bad_request`,
`idempotency_in_progress`, `idempotency_mismatch`, `rate_limited`, `server`.'
license:
name: Proprietary
servers:
- url: https://app.nisebookings.com
tags:
- name: Events
paths:
/api/public/{key}/events:
parameters:
- $ref: '#/components/parameters/Key'
- $ref: '#/components/parameters/ApiVersion'
get:
tags:
- Events
summary: Published events with open ticket sales
operationId: listEvents
responses:
'200':
description: Events
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Event'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/OriginNotAllowed'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/ServerError'
/api/public/{key}/events/{id}/tickets:
parameters:
- $ref: '#/components/parameters/Key'
- name: id
in: path
required: true
schema:
type: string
format: uuid
- $ref: '#/components/parameters/ApiVersion'
post:
tags:
- Events
summary: Buy tickets
description: 'Tickets are always paid in full (no deposits, no coupons). Codes are returned only once the
order is approved: free = immediately, local = after the desk completes the payment, mollie =
after the payment completes. 1–20 distinct ticket types, 1–50 tickets each.'
operationId: postTickets
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- tickets
- name
- email
properties:
tickets:
type: array
minItems: 1
maxItems: 20
items:
type: object
required:
- type
- qty
properties:
type:
type: string
format: uuid
qty:
type: integer
minimum: 1
maximum: 50
name:
type: string
maxLength: 255
email:
type: string
format: email
maxLength: 255
phone:
type: string
maxLength: 50
gateway:
$ref: '#/components/schemas/Gateway'
payFull:
type: boolean
returnUrl:
type: string
format: uri
maxLength: 2000
responses:
'201':
description: Ticket order created
content:
application/json:
schema:
type: object
required:
- orderToken
- attendees
- payment
properties:
orderToken:
type: string
attendees:
type: array
description: Empty until the order is approved.
items:
type: object
required:
- code
properties:
code:
type: string
example: ABCD-EFGH
payment:
$ref: '#/components/schemas/PaymentRef'
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/OriginNotAllowed'
'404':
$ref: '#/components/responses/NotFound'
'409':
description: '`sold_out` (with `type`: ticket type id), `sales_closed`, or `idempotency_in_progress`'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
$ref: '#/components/responses/Validation'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/ServerError'
'502':
description: Mollie could not be reached. The ticket order is written and then set to rejected/cancelled.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
description: 'Optional; 1–255 visible ASCII characters (use a UUID, one per checkout attempt). Same key + same
body within 24 hours → the stored status and body, with header `Idempotent-Replayed: true`; nothing
is booked or mailed again. Same key + different body → 422 `idempotency_mismatch`. First request
still running → 409 `idempotency_in_progress` (`Retry-After: 1`). Malformed → 400 `bad_request`.
5xx responses are not stored, so the retry runs for real.
'
schema:
type: string
minLength: 1
maxLength: 255
pattern: ^[\x21-\x7E]+$
ApiVersion:
name: X-Api-Version
in: header
required: false
description: Defaults to the latest version when omitted.
schema:
type: string
enum:
- '2026-10-13'
Key:
name: key
in: path
required: true
description: The account's public key, 1–64 chars of `[A-Za-z0-9_-]`.
schema:
type: string
pattern: ^[A-Za-z0-9_-]{1,64}$
headers:
X-RateLimit-Remaining:
description: Requests left in the current minute.
schema:
type: integer
X-RateLimit-Reset:
description: Epoch seconds when the current window resets.
schema:
type: integer
X-RateLimit-Limit:
description: Requests allowed per minute for this identity (client IP).
schema:
type: integer
Retry-After:
description: Seconds until the rate-limit window resets. Sent on 429 only.
schema:
type: integer
schemas:
PaymentRef:
type: object
required:
- status
properties:
status:
type: string
enum:
- pending
- completed
- none
checkoutUrl:
type: string
description: Present for Mollie orders; redirect the browser here.
Event:
type: object
required:
- id
- title
- info
- imageUrl
- start
- end
- tickets
properties:
id:
type: string
format: uuid
title:
type: string
info:
type: string
imageUrl:
type:
- string
- 'null'
start:
type: string
end:
type: string
tickets:
type: array
items:
type: object
required:
- id
- title
- price
- left
properties:
id:
type: string
format: uuid
title:
type: string
price:
type: number
left:
type: integer
Gateway:
type: string
enum:
- local
- mollie
description: '`local` = pay on site, `mollie` = online (iDEAL/card on Mollie''s page).'
Error:
type: object
required:
- error
properties:
error:
type: string
enum:
- not_found
- origin_not_allowed
- validation
- slot_unavailable
- cannot_reschedule
- sold_out
- sales_closed
- payment_unavailable
- plan_limit
- too_large
- bad_request
- idempotency_in_progress
- idempotency_mismatch
- rate_limited
- server
message:
type: string
description: 'Present for `plan_limit`: a sentence for the customer, in the account language.'
limit:
type: integer
description: 'Present for a reached booking limit (`plan_limit`): bookings per month.'
used:
type: integer
description: 'Present for a reached booking limit (`plan_limit`): bookings this month.'
payment:
type: boolean
description: Present for `plan_limit` when the subscription is read-only after a missed payment.
fields:
type: object
description: 'Present for `validation`. For the request''s own fields: a code (`invalid`, `required`, `too_long`;
`coupon` carries the coupon''s status, e.g. `expired`). For an intake question (keyed by its field id)
and for uploads: a message in the account language, ready to show.
'
additionalProperties:
type: string
item:
type: integer
description: 0-based index of the failing item.
min:
type: integer
description: 'Present with `fields.persons`: the fewest persons that fit.'
max:
type: integer
description: 'Present with `fields.persons`: the most persons that fit.'
type:
type: string
description: Ticket type id for `sold_out`.
versions:
type: array
description: Present for `bad_request` when `X-Api-Version` is unknown; the supported versions.
items:
type: string
example: '2026-10-13'
retryAfter:
type: integer
description: Present for `rate_limited` (429), same value as the `Retry-After` header.
responses:
NotFound:
description: Unknown key, service, event, package, payment or booking token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Validation:
description: Invalid input; `fields` names the offending fields.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
OriginNotAllowed:
description: The request `Origin` is not in the account's allowed websites (`allowedOrigins`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: Unsupported `X-Api-Version` (`bad_request` with the supported `versions`), or a malformed `Idempotency-Key`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ServerError:
description: Unexpected server error (details are logged server-side only).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
TooManyRequests:
description: 'Rate limit exceeded (`rate_limited`): 120 requests per minute per client IP, or 20 for booking
commits.
'
headers:
Retry-After:
$ref: '#/components/headers/Retry-After'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'