Obtaining your API Key
To get started, you need to generate a unique key from your dashboard.- Navigate to the API Settings page.
- If no key is present, click Generate New Key.
- Copy and save your 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
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.