Getting Started

Welcome to the TTG API. This guide covers authentication, required headers, and core concepts.

Base URLs

EnvironmentURL
Productionhttps://api.ttix.io
Staginghttps://staging.todaytix.com

Authentication

All API requests require an API key in the X-TT-API-Key header.

$X-TT-API-Key: sk_live_abc123

Key prefixes:

PrefixEnvironment
sk_live_*Production
sk_test_*Staging / Test

Required Headers

Every request must include X-Client-Platform. Other headers are recommended for tracing and localization.

HeaderRequiredDescription
X-TT-API-KeyYesYour API key (e.g. sk_live_abc123)
X-Client-PlatformYesOne of: ios, android, web, server
X-Client-VersionConditionalSemantic version (e.g. 3.1.0). Required for ios, android, web.
Accept-LanguageNoLanguage preference (e.g. en-US). Defaults to en-US.
X-Request-IDNoClient-generated trace ID (format: req_abc123xyz). Echoed in response.

Core Concepts

Money

All monetary values use minor units (cents) to avoid floating-point precision errors.

AmountCurrencyDisplay
18500USD$185.00
8500GBP£85.00
9500EUR€95.00

Timezones

  • Occurrence times (startsAt, endsAt) use the venue’s local timezone with ISO 8601 offset (e.g. 2026-03-15T19:30:00-05:00).
  • System timestamps (createdAt, expiresAt) use UTC (e.g. 2026-03-15T19:40:00Z).

Next Steps