Get Audit Records for Login History

Use this API to retrieve the login history of all users or a specific user for audit purposes.

πŸ—’

Things to Know

  • If a date range and specific userId is not specified in the request, the response will include the login history for all users over the past 7 days.
  • If a date range is not specified but a specific userId is specified in the request, the response will include the login history for that specific user over the past 365 days.
  • If a date range is specified but a specific userId is not specified in the request, the response will include the login history for all users over the specified date range.
  • If the date range does not fall within the last 365 days, the response will return an error.
Query Params
uuid

The unique identifier of a specific user to filter login history.

date-time

The start date for the login history search. Format: YYYY-MM-DDTHH:MM:SSZ

date-time

The end date for the login history search. Format: YYYY-MM-DDTHH:MM:SSZ

int32
β‰₯ 0
Defaults to 0

The page number to retrieve.

int32
1 to 2000
Defaults to 20

The number of records per page.

Responses

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

Language
Credentials
OAuth2
Missing 1 required scope
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*