Authentication
The Waxiomatic API uses two auth modes: scoped API keys for server-to-server traffic and session cookies for the dashboard. You probably want API keys.
API keys
Mint keys at /dashboard/settings/api-keys. Each key is scoped to your organization, can be restricted to a subset of scopes (read-contacts, send-messages, manage-templates, etc.), tracks last-used-at + last-used-IP, and can be revoked individually.
Use it as a Bearer token
curl https://api.waxiomatic.com/v1/contacts \
-H "Authorization: Bearer wax_live_xxxxxxxxxxxxxxxx"TypeScript SDK
import { WaxiomaticClient } from '@waxiomatic/sdk-js';
const wax = new WaxiomaticClient({
apiKey: process.env.WAXIOMATIC_API_KEY!,
// baseUrl defaults to https://api.waxiomatic.com
});
const contacts = await wax.contacts.list({ limit: 50 });Scopes
| Scope | Grants |
|---|---|
read:contacts | List + read contacts, attributes, consent history |
write:contacts | Create / update / delete; bulk import |
send:messages | Send template + free-form messages |
manage:templates | Submit, edit, delete templates |
manage:broadcasts | Create + schedule + cancel broadcasts |
read:analytics | Read message / broadcast / outcome analytics |
Rate limits
Each org gets a per-minute fixed-window rate limit on the public API, scaling with plan tier:
- Free Forever — 60 req/min
- Starter — 300 req/min
- Growth — 1,200 req/min
- Scale — 6,000 req/min
- Enterprise — negotiated
Every response carries X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers. Our SDKs respect them automatically; if you're hand-rolling a client, back off on 429.
Session cookies (dashboard)
The web dashboard uses BetterAuth session cookies. You shouldn't need to think about these unless you're embedding parts of the dashboard elsewhere. See /dashboard/settings/security for 2FA + session management.