Get organization audit log
Get the complete audit log of all trading account changes for your organization.
Shows all changes (single updates and bulk operations) with full before/after values.
Filters:
| Filter | Description |
|---|---|
accountId | Filter by specific account |
adminEmail | Filter by admin (partial match) |
batchId | Filter by bulk operation batch |
startDate | Changes from this date onwards |
endDate | Changes until this date |
Example:
# Get all recent changes
curl "https://api.example.com/platform/v1/organization/audit-log" \
-H "X-API-Key: hp_live_your_key_here"
# Get changes from a specific date range
curl ".../audit-log?startDate=2026-02-17&endDate=2026-02-18"
# Get changes by a specific admin
curl ".../audit-log?adminEmail=admin@example.com"
Response includes:
- All changes with before/after values
- Account number for each change
- List of recent bulk operations
Authorizations
JWT Bearer token for user session auth. Format: "Bearer {token}". Used by User and Organization endpoints.
Query Parameters
Filter by specific account ID
Filter by admin email (partial match)
Filter by batch ID
Filter changes from this date
Filter changes until this date
Results per page
1 <= x <= 100Offset for pagination
x >= 0Cursor for pagination. Pass the nextCursor value from the previous response to get the next page. When using cursor, do not send offset — it will be ignored.
How it works: The cursor is an opaque string that points to the last item you received. The server uses it to efficiently fetch the next set of results without scanning previous pages.
Backwards compatible: If you don't send a cursor, offset/limit pagination works as before.
Sort results. Format: field:direction where direction is asc or desc.
Allowed fields: created_at
Default: created_at:desc
Examples: created_at:asc, current_balance:desc
Related topics
Get audit logsGet team members for your organizationMCP connector (AI agents)IntroductionList API request logs