Getting Started with the API

API & Developers · 5 min read

Authentication

Server-to-server ingestion and tracking requests (/v1/events/*, /v1/arb/leads) authenticate via an API key in the x-api-key header, while workspace management endpoints (/v1/links, /v1/webhooks, /v1/arb/roi) require a user session token:

x-api-key: gp_live_sk_YOUR_API_KEY

Getting Your API Key

  1. Go to Integrations → API Keys.
  2. Click Generate Key.
  3. Copy the key - it's only shown once.
  4. Give it a descriptive name (e.g., "Production Server").

Base URL

https://api.grampixel.com/v1

Rate Limits

  • Global API Limit (/v1 and /api/v1) - 300 requests/minute per IP across endpoints
  • Batch Events - up to 100 events per request via POST /v1/events/ingest or POST /v1/events/batch
  • Webhooks & Pre-landing Routes - 60 requests/minute (auth endpoints: 10 requests/minute)

Standard rate-limit headers are included on responses: RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset.

Available Features

Beyond event ingestion, the API allows you to manage webhooks (create/delete), generate dynamic invite links, verify custom domains, check health status, and bulk import conversions. All endpoints are fully documented.

Full Documentation

Visit the API Reference for complete endpoint documentation with examples.

Was this helpful?