All API requests (exceptDocumentation Index
Fetch the complete documentation index at: https://docs.getpg.ai/llms.txt
Use this file to discover all available pages before exploring further.
/health) require authentication via an API key passed in the x-api-key request header.
Getting Your API Key
Generate a key
Click Generate API Key, give it a descriptive name, and select the permission scopes it should have.
Using Your API Key
Include the API key in thex-api-key header on every request:
Base URL
All API endpoints use the following base URL:Permissions & Scopes
API keys are scoped with granular permissions. Each endpoint requires a specific permission — requests made with a key that lacks the required scope will receive a403 Forbidden response.
| Scope | Description |
|---|---|
insights:read | Read company intelligence, profiles, content, and technologies |
insights:write | Create or modify company data |
accounts:read | Search and list accounts |
contacts:read | Read contact data |
contacts:write | Create or modify contacts |
org_settings:read | Read organization settings and credits |
* | Full access (all permissions) |
insights:* grants both insights:read and insights:write.
Rate Limits
API requests are rate-limited based on your plan. If you exceed the limit, the API returns a429 Too Many Requests response.
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests allowed per window |
X-RateLimit-Remaining | Requests remaining in current window |
X-RateLimit-Reset | Unix timestamp when the rate limit resets |
Error Responses
All error responses follow a consistent format:| Status Code | Description |
|---|---|
400 | Bad Request — invalid parameters or missing required fields |
401 | Unauthorized — missing or invalid API key |
403 | Forbidden — API key lacks the required permission scope |
404 | Not Found — the requested resource does not exist |
429 | Rate Limited — too many requests |
500 | Internal Server Error — something went wrong on our end |
