- Overview
- Application Guides
- Dashboard
- Authentication
- Security
- API References
- Authentication
- Token
- Mutli-Factor Authentication (MFA)
- Role And Permission
- User Management
- Organization
GET User Login Logs
GET
https://api.ssojet.com/api/v1/users/{{userid}}/loginlogs
List User Login Logs#
Response#
{
"login_logs": [
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-10T12:16:19.647Z"
}
]
}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
client_id
string
required
Example:
string
Header Params
accept
string
required
Example:
*/*
accept-language
string
required
Example:
en-US,en;q=0.9
user-agent
string
required
Example:
SSOJET API
Content-Type
string
optional
Default:
application/json
User-Agent
string
optional
Default:
SSOjet/1.0.0 (https://ssojet.com)
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.ssojet.com/api/v1/users/{{userid}}/loginlogs?client_id=string&client_id=' \
--header 'accept: */*' \
--header 'accept-language: en-US,en;q=0.9' \
--header 'user-agent: SSOJET API' \
--header 'User-Agent: SSOjet/1.0.0 (https://ssojet.com)' \
--header 'Content-Type: application/json'
Responses
⚪0GET User Login Logs
application/json
Body
login_logs
array [object {8}]
required
IpAddress
string
required
Country
string
required
City
string
required
UserAgent
string
required
Name
string
required
Os
string
required
Device
string
required
CreatedAt
string
required
Example
{
"login_logs": [
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-10T12:16:19.647Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-10T13:18:37.031Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T04:37:58.788Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T05:10:59.995Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T07:21:15.14Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T07:57:47.266Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T08:33:34.256Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T09:13:00.404Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T11:45:38.782Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T12:04:38.16Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T12:11:36.647Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-11T12:43:16.175Z"
},
{
"IpAddress": "150.107.189.226",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-13T06:47:28.434Z"
},
{
"IpAddress": "150.107.189.226",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-13T06:49:23.766Z"
},
{
"IpAddress": "150.107.189.226",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-13T07:07:22.779Z"
},
{
"IpAddress": "150.107.189.226",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-13T08:10:19.02Z"
},
{
"IpAddress": "2409:40d4:12b:c6c3:5183:3409:ec6d:964d",
"Country": "India",
"City": "UnknownCity",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-13T11:11:10.976Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-15T04:13:49.556Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-15T04:19:21.307Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-15T05:05:12.052Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-15T05:36:15.483Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-15T06:24:53.436Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-15T06:25:38.33Z"
},
{
"IpAddress": "183.83.177.227",
"Country": "India",
"City": "Jaipur",
"UserAgent": "",
"Name": "Amazon CloudFront",
"Os": "",
"Device": "",
"CreatedAt": "2024-07-15T06:28:51.758Z"
}
]
}