How to import conversions with Hubspot


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 require authentication using your API key in the header:

X-API-KEY: your_api_key

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

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

Let me know if you'd like this output styled for a static documentation page or converted into HTML again.

End Google Tag Manager (noscript)