Skip to main content
POST
Exportar reporte de check-ins

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
employeeIds
string[]

IDs de empleados a filtrar (opcional)

formIds
string[]

IDs de formularios a filtrar (opcional)

includeTaskForms
boolean
default:true

Incluir los formularios asociados a las tareas

Texto de búsqueda libre (opcional)

Response

Archivo generado exitosamente

The response is of type file.