API
Sync Conversion
How to sync your conversions with Heeet
How to sync your conversions
Our REST API provides programmatic access to your tracking data.
All API requests should be made to:
https://api.heeet.io/api/revenues
Authentication
All API requests must include your API key in the request header for authentication. For detailed instructions, refer to the API Authentication guide.
Example Request
curl -X POST https://api.heeet.io/api/revenues \
-H "X-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '[{
"conversionCurrency": "EUR",
"conversionValue": 99.99,
"conversionDatetime": "2024-01-15T14:30:00Z",
"conversionTimezone": "Europe/Paris",
"conversionId": "order_123",
"conversionName": "Purchase",
"conversionEmail": "customer@example.com"
}]'
Request Body Fields
| Field | Type | Description |
|---|---|---|
conversionCurrency | String | The currency code (e.g. EUR, USD) |
conversionValue | Number | The monetary value of the conversion |
conversionDatetime | String | The date and time of conversion in ISO 8601 format |
conversionTimezone | String | The timezone identifier (e.g. Europe/Paris) |
heeetId | String | The unique identifier provided by Heeet tracking script |