Host and event content
Show the host's profile, an event's lineup, sponsors, gallery and moments.
Beyond tickets, the API returns everything you need to build a full event page: who is hosting, who is performing, who is sponsoring, and what the event looked like. All of these are the same for every visitor, so you can fetch them on your server and render them into the page.
| What | Endpoint | SDK |
|---|---|---|
| Host profile | GET /host | getHost() |
| Lineup | headliners on GET /events/{slug} | getEvent(slug) |
| Gallery | GET /events/{slug}/gallery | getEventGallery(slug) |
| Sponsors | GET /events/{slug}/sponsors | listSponsors(slug) |
| Moments | GET /events/{slug}/moments | listMoments(slug) |
Every endpoint here supports ETags, so you can revalidate cheaply.
Host profile
GET /host returns the host that owns your API key. Use it for your site
header or footer.
const { data: host } = await client.getHost()
host.name // "Acme Events"
host.slug // the host's handle on Jetron Ticket
host.imageURL // profile image or logo
host.bannerImageURL // wide banner, absent when the host has none
host.isVerified // whether Jetron Ticket has verified the hostLineup
The event's lineup comes with the event itself, as headliners on
GET /events/{slug}. It lists every public guest and performer shown on the
event page.
| Field | What it tells you |
|---|---|
name, role, imageURL | The performer's name, an optional role such as "DJ" or "Host", and a photo. |
isMainArtist | true for the main act. Use it to give them top billing. |
artist | A linked Spotify or Deezer profile, when the host added one. |
const { data: event } = await client.getEvent('my-event')
const mainAct = event.headliners.find((guest) => guest.isMainArtist)
const supporting = event.headliners.filter((guest) => !guest.isMainArtist)Sponsors
GET /events/{slug}/sponsors lists the event's sponsors in the order the host
added them. Each has a name, a logo in imageURL, and a website in url
when the host gave one.
const { data: sponsors } = await client.listSponsors('my-event')
for (const sponsor of sponsors.items) {
renderLogo(sponsor.imageURL, sponsor.url)
}Moments
Moments are photos attendees post from the event in the Jetron Ticket app.
GET /events/{slug}/moments returns them newest first, so you can show a live
photo wall during the event and a recap after it. Moments that were removed
are left out.
const { data: page } = await client.listMoments('my-event', { limit: 20 })
for (const moment of page.items) {
moment.imageURL
moment.aspectRatio // width / height, to size the tile before it loads
moment.caption // absent when there is none
moment.author.name // who posted it
moment.author.imageURL
}
if (page.nextCursor) {
const { data: next } = await client.listMoments('my-event', { cursor: page.nextCursor })
}limit takes 1 to 50 and defaults to 20. Pass nextCursor back as cursor for
the next page; see Pagination. New moments appear
within a minute, so refetch the first page now and then rather than every few
seconds.
Moments are posted by attendees
Each moment shows its author's name, username and photo, as Jetron Ticket shows them publicly. Credit the author when you display a moment.

