Get Your API Key
Before your application can communicate with INNORIX, it must be authenticated. Exacoola uses an Access Token (JWT) issued after login for authentication.
- Login (
POST /api/auth/login) — Sign in with your account to receive an Access Token and Refresh Token. - Generate API Key (
POST /api/auth/generate-key) — Generate a long-lived API key for Command Automation triggers. Use it in thex-api-keyheader.
Include the following headers with all authenticated API requests.
Login
POST /api/auth/login — User login
Response:
Use data.user.accessToken in the Authorization: Bearer header for subsequent requests. When the Access Token expires, request a new token using GET /api/auth/get-token or POST /api/auth/refresh-token.
Generate an API Key (For Command Automation)
POST /api/auth/generate-key — Generate an API key for the authenticated user
Response:
Use the generated apiKey in the x-api-key header when sending Command Automation trigger requests. Revoke the key using DELETE /api/auth/revoke-key.
Token Refresh & Session Management
When the Access Token expires, use the Refresh Token to obtain a new Access Token.
POST /api/auth/refresh-token — Refresh session tokens
Response:
Additional session management endpoints:
| Purpose | Method · Endpoint |
|---|---|
| Get a new Access Token | GET /api/auth/get-token |
| Logout | GET /api/auth/logout |
| Revoke an API Key | DELETE /api/auth/revoke-key (body: { "apiKey": "a3f2c1..." }) |