Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getpg.ai/llms.txt

Use this file to discover all available pages before exploring further.

The PG:AI API gives you programmatic access to account intelligence, territory data, contacts, content, and AI-powered insights. Use it to pull intelligence into your own tools, automate workflows, or build custom integrations.

Base URL

https://api.getpg.ai/public-api/v1

Quick Start

1

Get your API key

Generate an API key in Settings > API Keys within your PG:AI workspace.
2

Make your first request

curl -X POST "https://api.getpg.ai/public-api/v1/accounts" \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{}'
3

Explore the endpoints

Browse the API Reference for interactive endpoint documentation, or read the guides below.

Endpoint Reference

Authentication

API key setup, permissions, and error handling

Companies

Company data, profiles, content, contacts, and tech stacks

Contacts

List and retrieve contacts with full profile data

Territories

Territory management and company lists

Search

Unified search across companies, contacts, and content

Organization

Organization settings and credit usage

Available Endpoints

MethodEndpointDescription
GET/v1/healthHealth check (no auth required)
POST/v1/accountsSearch accounts
GET/v1/companies/{company_id}Get company by ID
GET/v1/companies/{company_id}/profileGet customizable company profile
GET/v1/companies/{company_id}/contentGet company content
POST/v1/companies/{company_id}/contactsSearch company contacts
POST/v1/companies/{company_id}/technologiesGet company tech stack
GET/v1/contactsList contacts
GET/v1/contacts/{contact_id}Get contact by ID
GET/v1/territoriesList territories
GET/v1/territories/{territory_id}Get territory details
GET/v1/territories/{territory_id}/companiesList territory companies
GET/v1/searchUnified search
GET/v1/organization/creditsGet organization credits

Rate Limits

API requests are rate-limited based on your plan. When you hit the limit, the API returns 429 Too Many Requests. See the Authentication page for details on rate limit headers.

Interactive API Reference

The API Reference tab in the sidebar provides an interactive playground powered by our live OpenAPI specification. You can test endpoints directly from the docs with your API key.