Skip to main content

API Key Authentication

API keys provide a simple way to authenticate requests to the FLTR API. They’re perfect for server-side applications, scripts, and integrations.

Quick Start

1

Generate an API Key

  1. Log in to www.tryfltr.com
  2. Navigate to SettingsAPI Keys
  3. Click Create API Key
  4. Give your key a descriptive name
  5. Copy and save the key securely
2

Use the API Key

Include your API key in the Authorization header:
3

Test Your Key

Verify the key works by listing your datasets:

API Key Format

FLTR API keys follow this format:
  • Prefix: fltr_ identifies the key as a FLTR credential
  • Type: sk indicates a secret key
  • ID: Random alphanumeric string

Using API Keys

In HTTP Requests

Include the API key in the Authorization header with the Bearer scheme:

Environment Variables

Store API keys in environment variables, never hard-code them:

SDK Usage

Official SDKs are coming soon. For now, use the REST API directly with your preferred HTTP client.

Key Management

Creating Keys

You can have multiple API keys for different purposes: Recommended naming conventions:
  • production-api - Production server
  • staging-api - Staging environment
  • ci-cd-pipeline - Automated testing
  • zapier-integration - Zapier workflows
Per environment:
  • Create separate keys for dev, staging, and production
  • Easier to rotate compromised keys
  • Better audit trail in logs

Rotating Keys

Rotate API keys regularly for security:
1

Create New Key

Generate a new API key in the dashboard with the same name + date:
2

Update Applications

Deploy the new key to your applications one environment at a time:
  1. Staging first
  2. Test thoroughly
  3. Then production
3

Monitor Usage

Verify the old key shows zero usage after migration
4

Revoke Old Key

Delete the old key once you’ve confirmed the new key works
Set a calendar reminder to rotate keys every 90 days.

Revoking Keys

Revoke compromised keys immediately:
  1. Go to SettingsAPI Keys
  2. Find the compromised key
  3. Click Delete or Revoke
  4. Generate a new key to replace it
When to revoke:
  • ✅ Key accidentally committed to GitHub
  • ✅ Key shared via insecure channel
  • ✅ Employee with access leaves
  • ✅ Suspected unauthorized access
  • ✅ Compliance requirements

Rate Limits

API key requests are limited to 1,000 requests per hour per account.

Checking Your Limit

Response headers show your current rate limit status:
  • X-RateLimit-Limit: Total requests allowed per hour
  • X-RateLimit-Remaining: Requests remaining in current window
  • X-RateLimit-Reset: Unix timestamp when limit resets

Handling Rate Limits

When you exceed the limit, you’ll receive a 429 error:
Best practices:

Increasing Limits

Need more than 1,000 requests per hour?

Upgrade to OAuth

Get 15,000 requests/hour with OAuth 2.1

Contact Sales

Enterprise plans with custom limits

Security Best Practices

✅ Do’s

Never hard-code API keys in your source code:
Separate keys for development, staging, and production:
Set up a key rotation schedule:
  • Every 90 days for production keys
  • After employee departures
  • After security incidents
Prevent accidental commits:
Use tools to detect leaked keys:
  • GitHub Secret Scanning
  • GitGuardian
  • TruffleHog
  • Pre-commit hooks

❌ Don’ts

Never do these things with API keys:
  • ❌ Commit keys to version control (Git, SVN, etc.)
  • ❌ Embed keys in client-side JavaScript
  • ❌ Share keys via email, Slack, or chat
  • ❌ Use the same key across multiple projects
  • ❌ Post keys in GitHub issues or Stack Overflow
  • ❌ Store keys in plain text files on servers

Compromised Keys

If you accidentally expose an API key:
1

Revoke Immediately

Go to Settings → API Keys and delete the compromised key
2

Generate New Key

Create a replacement key with a new name
3

Update Applications

Deploy the new key to all services using the old key
4

Audit Access

Check logs for suspicious activity with the compromised key
5

Notify Team

Alert your team and review security practices

Troubleshooting

Invalid API Key Error

Causes:
  • Key was revoked or deleted
  • Incorrect key format
  • Missing “Bearer” prefix
  • Extra whitespace in key
Solutions:

Key Not Working After Creation

Wait 5-10 seconds after creating a key for it to propagate across our systems.

Multiple Keys Not Increasing Limit

Rate limits are per account, not per key. Creating multiple API keys doesn’t increase your rate limit from 1,000 requests/hour. To get higher limits, use OAuth authentication (15,000 req/hour).

Integration Examples

Zapier

GitHub Actions

Add FLTR_API_KEY to your repository secrets.

Docker

Run with:

FAQ

Yes, you can create multiple API keys for different services, but they all share the same 1,000 req/hour rate limit.
No, API keys don’t expire automatically. Rotate them manually for security.
Not yet. API keys have full access to your account. Use OAuth for scope-based permissions.
All requests using that key will immediately return 401 Unauthorized errors.
Currently, usage is tracked per account, not per key. Per-key analytics are coming soon.

Next Steps

Getting Started

Make your first API call with your new key

OAuth Setup

Upgrade to OAuth for higher rate limits

Rate Limits

Learn more about rate limiting

API Reference

Explore all available endpoints