Documentazione API
Questa è la documentazione per gli endpoint API disponibili, che sono costruiti attorno all'architettura REST. Tutti gli endpoint API restituiranno una risposta JSON c
Autenticazione
Tutti i punti di accesso API richiedono una chiave API inviata tramite il metodo di autenticazione Bearer
Authorization: Bearer {api_key}
curl --request GET \
--url 'https://hootmaps.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://hootmaps.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
Errors
Our API uses conventional HTTP status codes to indicate the success or failure of a request.
{
"errors": [
{
"title": "Non hai accesso all'API",
"status": 401
}
]
}
200 Request completed successfully
400 Bad request - Required parameters are missing or invalid
401 Unauthorized - API key is missing or invalid
404 The requested resource was not found
429 Too many requests - Rate limit exceeded
500 Internal server error - this means there is a problem on our end
All API endpoint results work with the UTC timezone unless specified otherwise.
Utente
Siti web
Pageviews
Lightweight tracking
Pageviews
Advanced tracking
Sessioni
Advanced tracking
Events children
Advanced tracking
Outbound clicks
Advanced tracking / Lightweight tracking
Ripetizioni
Advanced tracking
Visitatori
Advanced tracking
Saved views
Advanced tracking / Lightweight tracking
Goals
Advanced tracking / Lightweight tracking
Goal conversions
Advanced tracking / Lightweight tracking
Mappe di calore
Advanced tracking
Statistiche del sito web
Advanced tracking / Lightweight tracking
Pagamenti dell'account
Referred signups
Registri account