Audit Logs

Export Audit Logs

Export Audit Logs (async bulk export)

Triggers a background task to export audit log entries matching the given filters as CSV or JSON. Only MERCHANT_ADMIN can trigger exports.

Returns immediately with a taskId. Poll GET /giftcards/audit-logs/export/{taskId} to check status and get the download URL.

post/v2/giftcards/audit-logs/export

Request

Headers

X-Eposn-Merchant-Tokenstring nullable

Request body

formatstring
merchantIdstring nullable
subjectIdstring nullable
actorIdstring nullable
subjectNamestring nullable
actorNamestring nullable
merchantNamestring nullable
actionsstring[] nullable
resourceTypesstring[] nullable
fromDatestring date-time nullable
toDatestring date-time nullable

Response

Successful Response

taskIdstring required
statusstring required
downloadUrlstring nullable
errorstring nullable

Changes

No recorded changes to this operation across all 7 revisions of this API.