Documentación de API

Learn how to connect and integrate with our API.

 

Authentication

All the API endpoints require an API key sent by the Bearer Authentication method.

Authorization: Bearer {api_key}
curl --request GET \
--url 'https://analytics.gestinet.net/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \

Errors

Our API uses conventional HTTP status codes to indicate the éxito or failure of a request.

{
    "errors": [
        {
            "title": "You do not have access to the API.",
            "status": 401
        }
    ]
}
200 Request completed éxitofully
400 Bad request - Required parámetros are missing or invalid
401 Unauthorized - API key is missing or invalid
404 The requested resource was not found
429 Too many requests - Rate límite exceeded
500 Internal server error - este means there is a problem on our end
All API endpoint results work with the UTC timezone unless specified otherwise.
User
Sitios web
Páginas vistas
Visitantes
Objetivos
Conversiones de objetivos
Sitio web estadísticas
Registros de cuenta