Login History Report
User login sessions with duration, IP address, and origin platform.
GET
/apidev/v1/reports/general/loginsPermissionAPICLI_RPTGT_LOGINS
Rate Limit10 req/min
Cache300s
Max Range31 days
Overview
Returns user login sessions over the selected period, including login and last-activity timestamps, session duration, client IP address, and the platform the user signed in from (web, Android, etc.). Use it to review access activity and session length.
- User filter —
user_idlimits results to a single user - Session duration —
elapsed_secondsreports how long each session lasted
Request
Request Headers
Every request to a protected endpoint requires these headers:
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token obtained from the Login endpoint. Format: Bearer <token> |
X-API-Key | Yes | Company integration key provided during onboarding. Format: gtk_xxx... |
tenant | Yes | Your assigned tenant domain (default: geotareas.com) — always send your assigned tenant |
Content-Type | Conditional | application/json — required for POST and PUT requests |
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
startdate | string | Yes | — | ISO 8601 start date-time (e.g. 2026-03-01T00:00:00). |
enddate | string | Yes | — | ISO 8601 end date-time. Max range 31 days from startdate. |
user_id | string | No | — | Filter by user ID. Max length 40. |
limit | integer | No | 25 | Number of records per page (1 |