Skip to main content

API Key Authentication

Every request requires an API key. Pass it as a query parameter:
Never expose your API key in frontend code. Use JWT tokens for client-side applications.

Getting Your API Key

  1. Sign up at tik.tools
  2. Go to the Dashboard
  3. Your Sandbox key is generated automatically. Sandbox is a free 7-day evaluation counted from the day your account was created
  4. Move to a paid plan (Basic, Pro, Ultra, or Agency) at tik.tools/pricing to keep access after the evaluation and for higher limits

JWT Authentication (Frontend)

For web applications where the frontend needs to connect directly to the WebSocket, use JWT tokens to avoid exposing your API key.

How It Works

  1. Server-side: Generate a JWT using your API key via the /authentication/jwt endpoint
  2. Client-side: Connect to the WebSocket using the JWT token instead of the API key

Generate a JWT

Use the JWT in Frontend

JWT Parameters

Rate Limit Headers

Every API response includes rate limit information in headers: See Rate Limits for tier-specific limits.