The Gliiv API uses API keys to authenticate requests. This ensures that every message sent programmatically is authorized and linked to your specific account.Documentation Index
Fetch the complete documentation index at: https://www.gliiv.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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.