Authentication
The Verts API supports two authentication methods depending on your use case.
API Keys (Recommended for Backend Services)
API keys are the recommended authentication method for server-to-server integrations. They provide secure, long-lived access to the API.
Creating an API Key
- Log in to your Verts Dashboard
- Navigate to Settings → API Keys
- Click Create API Key
- Give your key a descriptive name
- Copy and securely store the key (it won't be shown again)
Using API Keys
Include your API key in the Authorization header as a Bearer token:
curl https://api.verts.dev/v1/account \
-H "Authorization: Bearer verts_key_xxx..."
API Key Best Practices
- Never expose keys in client-side code - API keys should only be used server-side
- Use separate keys for different environments - Create distinct keys for development, staging, and production
- Rotate keys periodically - Delete old keys and create new ones regularly
- Set descriptive names - Make it easy to identify which key is used where
Managing API Keys
You can manage your API keys through the Verts Dashboard:
- Navigate to Settings → API Keys
- View all your active API keys
- Create new keys or delete existing ones
Security Considerations
Rate Limiting
API endpoints are rate-limited to ensure fair usage. See Rate Limiting for details.
Revoking Access
Delete API keys from the dashboard when they are no longer needed or may have been compromised.