API Authentication

Learn how to authenticate with the tahc API using API keys.

API authentication is coming soon! This page provides a preview of how API keys will work when the tahc API launches.

How It Will Work

When the API launches, all requests will require authentication via API key.

Getting Your API Key

Go to API Settings

Navigate to Settings > API in your dashboard.

Generate a new key

Click Generate API Key.

Name your key

Give it a descriptive name (e.g., "Production Server", "Zapier Integration").

Copy and save

Copy the key immediately — it won't be shown again.

Using Your API Key

Include your API key in the Authorization header:

Authorization header
curl -X GET "https://app.tahc.ai/api/v1/conversations" \
-H "Authorization: Bearer YOUR_API_KEY"

Security Best Practices (Preview)

When you receive your API key:

Do:

  • Store in environment variables
  • Use secrets management (AWS Secrets Manager, Vault)
  • Encrypt at rest
  • Rotate keys periodically

Don't:

  • Commit to version control
  • Share in plain text
  • Store in client-side code

Example Environment Setup

.env file
# Never commit this file
TAHC_API_KEY=your_api_key_here
Usage in Node.js
require('dotenv').config();
const apiKey = process.env.TAHC_API_KEY;

Planned Features

When API authentication launches, you'll have:

  • Multiple API keys per workspace
  • Key naming and organization
  • Last-used tracking
  • Easy key rotation
  • Revocation controls

Future updates may include:

  • Read-only keys
  • Scoped permissions
  • IP restrictions

Get Notified

Want to know when the API is available?

  • Follow us on social media for updates
  • Check back on this page
  • Contact [email protected] to join the beta list

Available Now

While the API is in development, you can use these integrations today:

Next Steps

Was this helpful?