Export Audit Logs
POST
https://sandbox-api.truthlocks.com/v1/audit/exportsAuth requiredInitiates an asynchronous export of audit logs for the specified time range. The export will be delivered via webhook or available for download once completed.
Body Parameters
start_datestringrequiredISO 8601 start date for the export range
Defaults to 2026-02-01T00:00:00Z
end_datestringrequiredISO 8601 end date for the export range
Defaults to 2026-02-18T23:59:59Z
formatstringExport format (json, csv)
Defaults to json
Responses
{
"job_id": "job_9y8x7w_vut",
"status": "PENDING",
"estimated_completion": "2026-02-18T19:30:00Z"
}POST
/v1/audit/exportsLanguage
CredentialsHEADER
Authorization
Response
Click Try It! to send a real request, or view sample responses: