GetCAPI
OverviewContainersSignals GatewayDomainsCustom LoaderPower-upsTemplatesIntegrationsLogsEvent TesterData StoreConsent AnalyticsBetaAlerts
Help & SupportLove GetCAPI? Leave a review

API Documentation

Integrate GetCapi into your applications.

Full Docs
Quick Start
Send your first server-side event in minutes
1

Get your API Key

Find it in Settings > API Keys

Get Key
2

Copy your container ID

Open a container and copy the ID shown under its name

Containers
3

Send an event

curl -X POST https://api.getcapi.co/api/v1/events \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "event_name": "Purchase",
    "event_type": "conversion",
    "container_id": "YOUR_CONTAINER_ID",
    "payload": {
      "value": 99.99,
      "currency": "USD",
      "transaction_id": "txn_123456"
    },
    "user_data": {
      "email": "customer@example.com",
      "phone": "+15551234567",
      "external_id": "user_123"
    },
    "event_id": "order_123456",
    "event_time": 1704067200000
  }'
  • Authenticate every request with the X-API-Key header. Bearer tokens are not accepted.
  • event_time is a Unix timestamp in milliseconds (optional, defaults to now).
  • Send a stable event_id (max 64 characters), such as your order ID, so retries and browser/server duplicates are counted once.
API Reference
Endpoints you can call with an API key. Base URL: https://api.getcapi.co
Full referenceOpenAPI spec
POST/api/v1/eventsSend a server-side eventX-API-Key
GET/api/v1/events/healthEvent ingestion health checkNo key needed
SDKs & Libraries
Node.js and Python clients are in development and not yet published to npm or PyPI. Until then, call the REST API directly as shown above: it is the same request the SDKs will send.

Node.js / TypeScript

@getcapi/sdk

Coming soon

Python

getcapi

Coming soon