Authentication

Authenticate your API requests using API keys

Overview

The TBit API uses API keys for authentication. Include your API key in the X-API-Key header with every request.

Getting Your API Key

Navigate to Settings > API in the TBit dashboard to reveal your API key. Each agent has a unique API key.

Usage

Include the X-API-Key header in every request:

Security Best Practices

  • Never expose your API key in client-side code or public repositories
  • Use environment variables to store your API key
  • Rotate your API key if you suspect it has been compromised
  • Only use HTTPS when making API requests