Authentication
Authentication
Sahaala uses API key Bearer tokens for all API requests. Keys are scoped and rotatable from your dashboard.
Obtaining an API Key
- Log in to your Sahaala dashboard
- Navigate to Settings → API Keys
- Click Generate New Key
- Copy and store your key securely — it is shown only once
Making Authenticated Requests
Pass your key as a Bearer token in the Authorization header:
Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxKey Scopes
| Scope | Description |
|---|---|
invoices:read | Read invoice data and status |
invoices:write | Create and submit invoices |
reports:read | Access filing reports and summaries |
webhooks:manage | Register and manage webhook endpoints |
Environment Keys
Use separate keys for sandbox (sk_sandbox_*) and production (sk_live_*) environments. They are never interchangeable.
Full authentication reference will be published with the GA API docs release.