Obtaining your API Key
To get started, generate a unique key from your account dashboard. You can create up to 3 API keys per account.- Navigate to the API Settings page.
- Click the Create Key button to open the configuration modal.
- Configure your key settings (optional):
- Name: Give your key a descriptive label (defaults to
"API Key"if left blank). - Expires at: Select an expiration date and time (defaults to Never / Valid forever if left blank).
- Name: Give your key a descriptive label (defaults to
- Click submit, then copy and save your generated key immediately.
Header Authentication
All API requests must include thex-api-key header. Requests that omit this header or provide an invalid key will be rejected with a 401 Unauthorized response.
Header Specification
string
required
Your secret API key (formatted as
gliiv_xxxxxxxxxxxxxxxx).Example Header
Your request headers should be structured as follows:Security Best Practices
- Server-Side Only: Never expose your
x-api-keyin client-side code, frontend JavaScript, or public repositories. - Storage: Store your key securely using environment variables or a secrets management service.
- Replacement: If you suspect your key has been compromised, revoke it immediately in the dashboard and generate a replacement.