Authentication Methods
- API Keys
- Bearer Tokens
- OAuth 2.0
API keys are the default authentication method for server-to-server integrations. They are long-lived credentials scoped to your organization and provide a straightforward way to authorize requests without a token exchange step.Include your API key in the Full request example
Authorization header of every request using the Bearer scheme:Credential Security Best Practices
Protecting your credentials is your responsibility as an API partner. Apply the following practices across all environments.Use Environment Variables
Store all credentials — API keys, client secrets, and tokens — in environment variables or a secrets manager. Never hardcode credentials in source code or configuration files.
Rotate Compromised Keys Immediately
If you suspect an API key has been exposed, revoke it immediately from the Partner Portal and issue a replacement. Treat all previously issued requests using that key as potentially unauthorized.
Separate Sandbox and Production Keys
Always use distinct credentials for sandbox and production environments. This prevents accidental writes to production data during testing and simplifies access auditing.
Never Expose Credentials Client-Side
API keys and client secrets must only be used in server-side code. Do not include credentials in browser bundles, mobile app binaries, or any output that could be inspected by end users. Never log request headers containing authorization values.