How do I authenticate to the payroll tax API?
Send your key as a bearer token in the Authorization header: the word Bearer, a space, then the key. Test keys start sk_test_ and live keys start sk_live_.
Developers
One header, two kinds of key.
The API authenticates with a bearer key sent in the Authorization header. There is no OAuth dance and no signature to compute. What matters is which kind of key you hold and where you keep it.
Authorization: Bearer sk_test_…
| Key | Use |
|---|---|
sk_test_… | Development and CI. Same engine and data as live. Never billed. 30 requests a minute, 500 a day. |
sk_live_… | Production. Billed at $0.08 per paycheck calculation after the 14-day trial. Needs a payment method on file. |
Omnia-Mode header, live or test, so you can see which kind you used.| Code | Meaning |
|---|---|
missing_key | No Authorization: Bearer header was sent. |
invalid_key | The key is not recognised or was revoked. |
expired_key | The key has passed its expiry. Issue a new one. |
A 402 with payment_method_required is different: the key is valid, but a live key needs a payment method or an active subscription. Check which key you are using with GET /v1/me, which returns the key's details and recent usage.
Payroll tax API test keys · Payroll tax API error codes · REST API for payroll taxes · Payroll tax API rate limits · All guides
Send your key as a bearer token in the Authorization header: the word Bearer, a space, then the key. Test keys start sk_test_ and live keys start sk_live_.
No. Anyone who opens the page could copy it. Call the API from your server.
14-day free trial, then $0.08 per paycheck calculation. Omnia Express calculates; it does not file, deposit tax, or give tax advice. Disclaimer.