Skip to content

List User Accounts

Retrieve a paginated list of user accounts belonging to your admin key.

Request

http
GET /v1/admin/users
Authorization: Bearer {admin_key}

Query Parameters

ParameterTypeDefaultDescription
limitinteger20Number of results (1-100)
offsetinteger0Pagination offset
statusstring-Filter by status: active, suspended, pending

Example Request

bash
curl -X GET "https://api.insight.iagon.com/v1/admin/users?status=active&limit=10" \
  -H "Authorization: Bearer YOUR_ADMIN_KEY"

Response

Success (200 OK)

json
{
  "success": true,
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "admin_key_id": "660e8400-e29b-41d4-a716-446655440001",
      "admin_entity_name": "YourCompany",
      "external_id": "cust_abc123",
      "name": "Acme Corporation",
      "email": "api@acme.com",
      "metadata": {},
      "created_at": "2026-01-26T12:00:00Z",
      "updated_at": null,
      "status": "active",
      "billing_plan": "pro"
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440002",
      "admin_key_id": "660e8400-e29b-41d4-a716-446655440001",
      "admin_entity_name": "YourCompany",
      "external_id": "cust_xyz789",
      "name": "Beta Inc",
      "email": "dev@beta.io",
      "metadata": {},
      "created_at": "2026-01-25T10:00:00Z",
      "updated_at": null,
      "status": "active",
      "billing_plan": "starter"
    }
  ],
  "pagination": {
    "limit": 10,
    "offset": 0,
    "total": 2,
    "hasMore": false
  }
}

Pagination

The response includes pagination info:

FieldDescription
limitRequested page size
offsetCurrent offset
totalTotal number of matching users
hasMoreWhether more results exist

Notes

  • Results are ordered by created_at descending (newest first)
  • You can only see users created by your admin key
  • Use status filter to find suspended users that need attention