Authentication
API keys are issued per Project
All requests (except verify_account)
require an API key in the Authorization header.
Authorization header
How to get credentials
API keys are issued per Project by the TREVEX team. Contact your account manager or email integrations@trevex.io to provision a Project for your integration. You’ll receive two separate secrets:
Each Project must also have a webhook_url configured to receive approval
notifications.
Example request
Security notes
Treat API keys and webhook signing secrets as production credentials. Store them in a secret manager, not in source control. Rotate immediately if either is exposed.
- API keys scope to a single Project. Different environments (staging, prod) should use different keys.
- Webhook signing secrets are separate from API keys. Losing or rotating one doesn’t affect the other.
- If either secret is compromised, notify TREVEX to revoke it.
- The
verify_accountendpoint is public by design - it is hit by the user’s browser from the email verification link.
