Introduction
Welcome to the Entria API documentation.
Entria powers ticketing and commerce for attractions, museums and venues, timed-admission tickets, memberships, gift vouchers and donations.
This is a public API, you can build a complete storefront of your own on it: read the catalog, check availability, preview prices, build a cart, hand the shopper to a hosted payment page, and read the finished order back.
If you want to explore the API in a tool like Postman, you can download the OpenAPI file here:
OpenAPI JSON
The x-entria store header
Every store-scoped request must carry an x-entria header. It identifies which store the request is for, it is not authentication and not a secret, so it’s safe to send from a browser. You’re given its value once your Entria backend has been created and configured.
- Header missing →
400 - Header present but not a known store →
404
Authentication
Authentication is a separate concern from the store header, and most of this API needs none:
- Catalog, schedules and cart operations only need the
x-entriaheader. GET /api/members,GET /api/membership/alterations,GET /api/ticket/find, andPOST /api/ticket/exchange-for-couponadditionally requireAuthorization: Bearer <token>. Obtain one fromPOST /oauth/token— the key pair behind it is registered for your store during setup.GET /api/member/meandGET /api/member/alterationsrequire a member token instead, sent asAuthorization: Bearer <token>. The shopper gets a login code by email fromPOST /api/member/login, andPOST /api/member/sessionexchanges that code for the token. A member token and aPOST /oauth/tokentoken are not interchangeable.DELETE /api/cacheis an operational endpoint and uses a Bearer token fromPOST /oauth/token.
Getting Started
To build a storefront on top of the API:
- Browse —
GET /api/catalog/categories, thenGET /api/catalogfor a category. - Product detail —
GET /api/product/handle/{handle}. - Availability —
GET /api/schedules/ticketfor the dates, timeslots, capacity and indicative prices a calendar is built from. - Cart —
POST /api/cart, thenPOST /api/cart/lines;PATCH/DELETEon cart lines as the shopper edits the basket, andPOST /api/cart/discountsto apply discount codes. - Pay — send the shopper to the cart’s
checkoutUrl. Payment always happens on that hosted page; card details never pass through this API. - Receipt —
GET /api/order/confirmation(orGET /api/subscription/confirmationfor a recurring contract).
See the API Reference in the sidebar for the full set of endpoints, grouped by Catalog, Ticketing, Cart, Order, Subscription, Membership, OTP Members and Auth.
