API Documentation
Integrate GetCapi into your applications.
Quick Start
Send your first server-side event in minutes
1
Get your API Key
Find it in Settings > API Keys
2
Install the SDK
npm install @getcapi/sdk3
Send an event
import { GetCapiClient } from '@getcapi/sdk';
const client = new GetCapiClient({
apiKey: process.env.GETCAPI_API_KEY
});
await client.events.send({
eventName: 'purchase',
eventTime: Math.floor(Date.now() / 1000),
userData: {
em: 'e@example.com',
ph: '1234567890'
},
customData: {
currency: 'USD',
value: 99.99
}
});API Reference
All available endpoints
Events
Containers
Data Store
Logs
SDKs & Libraries
Official client libraries for popular languages
Node.js
@getcapi/sdk
Python
getcapi-python
REST API
OpenAPI Spec