Skip to content
Last updated

Generate a user report

Prerequisites

User reporting endpoints

EndpointMethodDescription
/v1/usersGETList all users on the authenticated client account
/v1/users/{id}GETRetrieve details for a specific user

Option A: List all users

Send GET /v1/users to retrieve every user associated with the client account linked to your API key.

curl https://api.dev.paradisegateway.net/v1/users \
  -H "APIKEY: YOUR-API-KEY"

Response example

The response is an array of user objects.

[
  {
    "id": "USER-3MtwBwLkdIwHu7ix28a3tqPa",
    "object": "user",
    "first_name": "John",
    "last_name": "Doe",
    "email": "john.doe@example.com",
    "phone": "+15551234567",
    "time_zone": "America/New_York",
    "is_mfa_active": true,
    "is_active": true,
    "is_locked": false,
    "correlation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  {
    "id": "USER-5NvxCyMmeKxIv8jz39b4urQb",
    "object": "user",
    "first_name": "Jane",
    "last_name": "Smith",
    "email": "jane.smith@example.com",
    "phone": "+15559876543",
    "time_zone": "America/Chicago",
    "is_mfa_active": false,
    "is_active": true,
    "is_locked": false,
    "correlation_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
  }
]

Option B: Retrieve a specific user

Send GET /v1/users/{id} to get the full details of a single user.

curl https://api.dev.paradisegateway.net/v1/users/USER-3MtwBwLkdIwHu7ix28a3tqPa \
  -H "APIKEY: YOUR-API-KEY"

Key user fields

FieldDescription
idUnique user identifier
emailEmail address (also the login username)
is_activeWhether the user can log in
is_lockedWhether the account is locked (too many failed logins)
is_mfa_activeWhether multi-factor authentication is enabled
time_zoneUser's configured time zone

Common reporting use cases

GoalApproach
Audit active usersList all users, filter for is_active: true
Find locked accountsList all users, filter for is_locked: true
MFA compliance checkList all users, identify those with is_mfa_active: false
User lookup by emailRetrieve the full list and search client-side, or use GET /v1/users/{id} if the ID is known

Next steps