Skip to main content
POST
Exportar resumen de visitas por trackers

Authorizations

Authorization
string
header
required

Token de sesión Better Auth o API token (atk_...) en el header Authorization: Bearer <token>. Los JWT legacy ya no son válidos.

Query Parameters

from
string
required

Fecha de inicio (ejemplo: 01/01/2025 o 01/01/2025 08:30)

to
string
required

Fecha de fin (ejemplo: 31/01/2025 o 31/01/2025 17:45)

Body

application/json
format
enum<string>
required

Formato de archivo a generar (pdf o xlsx).

Available options:
pdf,
xlsx
Example:

"pdf"

trackerIds
string[]

IDs de los trackers a filtrar (opcional)

Example:
minDuration
integer
default:180

Duración mínima de permanencia en segundos (default: 180 = 3 min)

Required range: x >= 0
Example:

180

Response

Archivo generado exitosamente

The response is of type file.