Base URL
All API requests should be made to:Authentication
The Gleap API uses Bearer token authentication along with a project identifier header.Getting your API Key and Project ID
- Navigate to your Gleap dashboard
- Go to Project Settings → Security → API Key
- Generate your API key
- Your Project ID is also displayed on this page
Keep your API key secure and never expose it in client-side code or public
repositories.
Required Headers
Include both headers in every API request:Querying
All find endpoints (GET requests that return lists of resources) support querying on any property that exists on the document.Discovering Available Properties
To see which attributes are available on a document, fetch a single document first:Query Examples
Exact Match
Query for tickets with a specific status:Date Range Queries
Query using comparison operators (>=, <=, >, <) for date fields:
YYYY-MM-DDTHH:mm:ss.sssZ
Combining Multiple Query Parameters
You can combine multiple query parameters using&:
Multiple Values
Query for documents matching any of several values:Rate Limits
The API enforces rate limits to ensure fair usage:- Rate limit: 1000 requests per 60 seconds per project
429 Too Many Requests response. Wait before retrying your request.