Authentication
ATIS POS supports two authentication methods: API keys for server-to-server integrations and bearer JWT access tokens for short-lived sessions. OAuth 2.0 for third-party apps is on the roadmap.
API keys
Create keys from the Developer Dashboard. Keys are prefixed atk_live_ and atk_test_. Treat them as passwords — never commit them to source control or expose them in browser code.
Authorization: Bearer atk_live_9f2b...Bearer tokens (JWT)
Exchange an API key for a short-lived access token (1 hour). Prefer this for browser extensions, mobile apps or when you need per-user scoping.
POST /v1/auth/token
Content-Type: application/json
{ "api_key": "atk_live_..." }
→ 200 OK
{ "access_token": "eyJhbGci...", "token_type": "Bearer", "expires_in": 3600 }Refreshing tokens
Call POST /v1/auth/refresh with your current token before it expires to receive a new one. Tokens are refreshed with a rolling 30-day window; after that, re-exchange the API key.
Scopes
API keys can be restricted to one or more scopes. If a request requires a scope your key does not hold, the API returns 403 forbidden.
read:sales,write:salesread:inventory,write:inventoryread:customers,write:customersread:reportsmanage:webhooks
OAuth 2.0 (coming soon)
For third-party apps distributed to multiple ATIS POS businesses, OAuth 2.0 with per-business consent screens is in development. Contact developer support to join the private beta.