HubSpot
Import Conversions
Learn how to import conversion data from advertising platforms into HubSpot using Heeet integration.
Import Conversions
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
| 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 |
Let me know if you'd like this output styled for a static documentation page or converted into HTML again.