cURL
curl --request GET \ --url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/audit-logs \ --header 'Authorization: <api-key>'
{ "logs": [ { "id": "log-123", "timestamp": "2024-01-01T10:00:00Z", "action": "CREATE", "resource": "quote", "resourceId": "quote-123", "userId": "user-123", "ipAddress": "192.168.1.1", "details": { "field": "status", "oldValue": "pending", "newValue": "confirmed" } } ], "pagination": { "page": 1, "limit": 10, "total": 100, "totalPages": 10 } }
Get authorization, data changes, and message exchange ledger
Filter by action
Filter by resource
Filter by user ID
Filter from date
Filter to date
Page number
Items per page
Audit logs
Show child attributes