Skip to main content
POST
Exportar reporte de tareas

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.

Body

application/json
from
string
required

Fecha de inicio (DD/MM/YYYY HH:mm:ss)

Example:

"01/01/2025 08:00:00"

to
string
required

Fecha de fin (DD/MM/YYYY HH:mm:ss)

Example:

"31/01/2025 17:45:00"

format
enum<string>
required

Formato del archivo a generar

Available options:
pdf,
xlsx
statuses
enum<string>[]

Estados de tarea a filtrar (opcional)

Available options:
unassigned,
assigned,
done,
failed,
delayed,
arrived,
faulty
employeeIds
string[]

IDs de empleados a filtrar (opcional)

formLabels
string[]

Nombres de formularios a filtrar (opcional)

Response

Archivo generado exitosamente

The response is of type file.