Getting Started
The TTG API lets you browse live entertainment events, check real-time inventory, and complete ticket purchases on behalf of your customers. This guide covers everything you need to make your first successful API call.
Prerequisites
Before you start, you’ll need two things:
- API key —
sk_test_*for staging,sk_live_*for production (see Managing API Keys below) - Retailer ID — your retailer identifier, used in the
X-TT-Retailerheader (provided during onboarding)
Managing API Keys
Generate and manage API keys from the Settings page in the partner portal:
- Log in to the portal.
- Click your name in the bottom left to open Settings.
- Generate an API key and copy it to a secure location — the full key is only shown once.
- From Settings you can manage and revoke keys at any time.
Start in staging. Your onboarding contact will create your portal account on staging first. Once your integration is working, request a production account to generate live keys.
Each person who needs portal access requires their own account. Provide a first name, last name, and email address for each user to your onboarding contact.
Base URLs
Authentication & Headers
All requests require these headers:
Keep your keys safe. Store API keys in environment variables or a secrets manager — never commit them to source control or expose them in client-side code.
Make Your First Request
Confirm your credentials work by listing your available markets — no additional parameters required:
A successful response looks like:
Troubleshooting
Next Steps
- API Conventions — Response envelopes, money format, timezones, IDs, pagination, and forward-compatibility guidance.
- Purchase Flow — End-to-end walkthrough from browsing events to completing a checkout.
- Inventory Types — Understanding assigned seats, general admission, and pricing.
- Error Handling — Error format, common codes, retry strategies, and idempotency.