API Authentication — AppHandoff Documentation

The AppHandoff REST API authenticates requests using Bearer tokens issued during the OAuth flow or via API keys generated in the portal settings. Every API call must include an Authorization header with a valid token. Tokens issued through OAuth expire after one hour and can be refreshed using the token endpoint.

API keys are long-lived credentials intended for CI/CD pipelines and server-to-server integrations. Generate keys in the portal under Settings > API Keys. Each key is scoped to a single project and can be revoked at any time. Rate limits apply per token: 100 requests per minute for OAuth tokens and 200 per minute for API keys.