Skip to main content

Skybox Integration

Integration with the Skybox ticket platform API.

Overview

Skybox is used for:

  • Inventory management
  • Price updates
  • Purchase processing
  • Event data

Authentication

Skybox uses multiple authentication tokens:

  • SKYBOX_ACCOUNT - Account ID
  • SKYBOX_API_TOKEN - API authentication token
  • SKYBOX_APPLICATION_TOKEN - Application-level token
  • SKYBOX_PRODUCTION_API_URL - Production API endpoint
  • SKYBOX_WEBHOOK_TOKEN - Webhook authentication token
  • SKYBOX_WEBHOOK_SECRET - Webhook secret
  • SKYBOX_GATEWAY_URL - Gateway URL

Token Extraction

For VividSeats Skybox, X-Auth-Tokens are extracted using the skybox_token_extractor service:

  • Playwright-based automation
  • Extracts tokens from login flow
  • Provides REST API for token extraction
  • Used by sprout_backend and sprout_etl

API Integration

sprout_backend

The backend integrates with Skybox for:

  • Fetching inventory data
  • Updating prices
  • Processing purchases
  • Webhook handling

sprout_etl

The ETL service uses Skybox for:

  • Inventory synchronization
  • Price monitoring
  • Event matching

Data Flow

  1. Token Extraction: skybox_token_extractor gets X-Auth-Token
  2. API Calls: Services use token to call Skybox API
  3. Data Processing: Inventory and price data processed
  4. Storage: Data stored in PostgreSQL and indexed in MeiliSearch

Configuration

All Skybox credentials are stored in Doppler:

  • Account information
  • API tokens
  • Service URLs

References