Heeet Docs
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

FieldTypeDescription
conversionCurrencyStringThe currency code (e.g. EUR, USD)
conversionValueNumberThe monetary value of the conversion
conversionDatetimeStringThe date and time of conversion in ISO 8601 format
conversionTimezoneStringThe timezone identifier (e.g. Europe/Paris)
heeetIdStringThe unique identifier provided by Heeet tracking script