For the complete documentation index, see llms.txt. This page is also available as Markdown.

Punch Logs API

Retrieve attendance punch logs for a selected date range and employee.

Use the Punch Logs API to retrieve attendance punch records.

Overview

  • Base URL: https://api.in.we360.ai

  • Path: /query/attendance/logs

  • Method: POST

  • Response type: application/json

Authentication

Send this header with every request:

  • Authorization: Bearer ${access_token}

Get the token from OAuth for Direct API Access.

Request body

{
  "start_date": "2026-08-12T00:00:00.474505",
  "end_date": "2026-08-12T23:59:59.474505",
  "group_id": "",
  "user_id": "5afe8449-33b7-4ab4-a344-585da2c37238",
  "page": 1,
  "limit": 0,
  "datewise": false,
  "summary": false,
  "cat_name": "",
  "app": "",
  "url": "",
  "report": false,
  "type": "",
  "attendance_type": "all",
  "name": "",
  "sort_by": "",
  "desc": false,
  "type_name": "",
  "policy_wise": false,
  "return_all": false,
  "report_group_by": "userwise",
  "shift_filter": "none",
  "source": "aggregate"
}

Parameters

Parameter
Description

start_date

Start of the ISO datetime range.

end_date

End of the ISO datetime range.

user_id

User UUID to filter. Leave empty to include all users.

group_id

Group UUID to filter. Leave empty to include all groups.

page

Page number. Use 1 for the first page.

limit

Records per page. Use 0 to request all records.

attendance_type

Attendance filter. Use all for every attendance type.

datewise

Set true to group results by date.

summary

Set true to request summary results.

sort_by

Field used for sorting. Leave empty for the default order.

desc

Set true for descending order.

report_group_by

Result grouping. Use userwise for user-level results.

shift_filter

Shift filter. Use none to avoid shift filtering.

source

Data source. Use aggregate for aggregated attendance data.

cURL example

Request guidance

  • Set start_date and end_date to the required reporting period.

  • Supply a user or group UUID to narrow the results.

  • Use pagination for larger result sets.

Last updated

Was this helpful?