Audit Logs (Changelog) Tutorial
The Audit Logs (Changelog) Service exposes a query API for tenant-wide change history of platform entities such as orders, customers, companies, products, segments, groups, coupons, and custom entities created with the Schema Service.
This functionality is in preview mode - some of the features may not be fully operational yet.
If you have any questions, contact the Emporix Support Team or post directly in the Community
Authentication
Request a service access token with one of these scopes:
changelog.changelog_readchangelog.changelog_manage
How to retrieve logs
Send a request to the Retrieving logs endpoint.
To test the endpoint, open the API reference or check the example of a curl request.
curl -L \
--request GET \
--url 'https://api.emporix.io/changelog/{tenant}/changelogs?page=1&size=20' \
--header 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}'Pagination uses page (1-based, default 1) and size (default 20, maximum 100). Results are ordered by occurrence time.
How to filter by entity and document ID
Scope history to a single document with entity and entityId in the q parameter. There is no path-based history endpoint.
How to filter by change type, actor, and time
Supported q fields include:
type
type:update
actor
actor:system, actor:John*, actor:~^sys
occurredAt
occurredAt:(>"2026-06-01T00:00:00.000Z" AND <"2026-06-30T23:59:59.999Z")
Possible type values are create, update, and delete.
How to query related entities
Find changed entries that reference another entity, for example group-assignment entries related to a group:
You can also use elemMatch syntax or compound logical queries:
Last updated
Was this helpful?

