NexaSync Developers
1.0.0-pilot Manage API access

Daily distance

Get one row per employee per attendance day. A measured zero is 0 metres. An unavailable total is null. Use quality_state to tell why.

API access is not activated in this environment

GET /reports/daily-distance Bearer token

API base URL https://portal.nexasync.io/api/public/v1

Required permissions company:read reports:daily-distance:read

Individual and bulk reports

For one employee, pass their UUID as employee_id. If you have their registered mobile number, use POST /employees/resolve to find their UUID. Omit employee_id to include everyone in the approved teams. Read all pages and interpret missing totals.

Query parameters

employee_iduuidoptional

Use the UUID from the employee directory or phone lookup. Omit to include all employees in approved teams.

fromdaterequired

First attendance date (YYYY-MM-DD), in the report timezone. Choose today or one of the previous 365 days.

todaterequired

Last attendance date (YYYY-MM-DD), up to today. Use the same date as from for a single day, or request up to 31 days inclusive.

limitintegeroptional

Rows per page. Keep this value when requesting the next page.

cursorstringoptional

Pass meta.next_cursor from the previous response with the same filters and page size. Cursors expire after 24 hours.

Request limits, errors and retries