Jetron TicketFluid

Authentication

Authenticate with your public API key as a Bearer token.

Every authenticated endpoint requires an API key as a Bearer token. Almost every endpoint takes your public API key:

curl https://fluid.jetronticket.com/api/v1/events \
  -H "Authorization: Bearer jt_public_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

With the SDK, pass it once when creating the client:

import { createClient } from '@jetronticket/api'

const client = createClient({
  apiKey: 'jt_public_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
})

The exceptions are the attendee lookups for tickets and add-ons, which take your private key and run on your server.

Host scoping

All events are automatically scoped to the event host that owns the API key. There is no host or tenant parameter to pass. A public key can only see and sell its own host's public events, and the private key can only look up tickets and add-ons for its own host's events.

Key types

Every host has two keys, listed under Manage API Keys in the Jetron Ticket dashboard:

The Manage API Keys page showing a masked private key and a visible public key, each with a Rotate button
KeyWhere it belongsWhat it is for
Public (jt_public_...)Anywhere, including browser codeCalling every endpoint except the attendee lookups
Private (jt_private_...)Your server only, never the browserLooking up attendee tickets and add-ons and verifying webhook signatures

Not sure where a call should run? See Browser or server.

The public key is shown in full because it is safe to expose: it only reaches your host's already-public events and the attendee checkout flow. The private key stays masked, and revealing it is deliberate: it returns attendees' tickets, add-ons and QR codes.

Each endpoint accepts one key type. A server that both reads events and looks up tickets creates two SDK clients, one per key.

ResponseMeaning
401 unauthorizedThe key is missing or invalid.
403The key is valid but the wrong type: a private key on a public endpoint, or a public key on an attendee lookup.

Rotating a key

Rotate issues a new key and invalidates the old one immediately, so update anything using it first.

Rotating the private key breaks webhooks and ticket lookups

Webhook signatures are generated with your private key, so rotating it means every webhook receiver has to be updated with the new value before it can verify deliveries again. Your server's attendee lookups also return 401 until it uses the new key.

Only /health is unauthenticated

Every endpoint except GET /health requires a key. Authenticated endpoints are also rate limited per key: going over the limit returns 429 with a Retry-After header.

On this page