{
"type": "track",
"event": "Server Started",
"timestamp": "2023-10-24T12:00:00Z"
}
{
"type": "identify",
"userId": "usr_99x",
"traits": {"tier": "enterprise"}
}
Bypass ad-blockers and browser restrictions. Send customer traits, behavioral events, and custom catalog data directly from your backend servers with 100% accuracy.
Our REST API is designed to handle every facet of your business data, from user identities to complex B2B object relationships.
Create or update a user’s profile. Send traits like email, subscription status, or LTV directly from your database.
Record server-side actions that client-side SDKs might miss, such as recurring billing successes or backend state changes.
Link users to Companies, Workspaces, or sync product catalogs. Perfect for B2B SaaS tracking and account-level analytics.
curl -X POST https://api.yourcdp.com/v1/track \ -H 'Content-Type: application/json' \ -H 'Authorization: Basic {YOUR_API_KEY}' \ -d '{ "userId": "user_123", "event": "Order Completed", "properties": { "order_id": "50314", "revenue": 29.99 } }'
const axios = require('axios'); await axios.post('https://api.yourcdp.com/v1/track', { userId: 'user_123', event: 'Order Completed', properties: { order_id: '50314', revenue: 29.99 } }, { headers: { 'Authorization': 'Basic {YOUR_API_KEY}' } });
// Select a language and endpoint to view the snippet. // (Mockup: Imagine Python, PHP, and other endpoint codes here) print("Snippet loaded.")
Safely retry failed requests. Include a messageId in your payload, and our API ensures that the same event is never processed or counted twice.
Processing historical data? Use the /v1/batch endpoint to send up to 10,000 events or profiles in a single HTTP request to minimize network overhead.
Secure your webhook payloads and API calls using HMAC SHA-256 signatures, ensuring data integrity and preventing man-in-the-middle attacks.
Our API edge nodes are globally distributed. Expect sub-20ms response times regardless of where your backend servers are hosted.
Generate your API key, grab the Postman collection, and start sending server-side events to your CDP in minutes.