Audit Logs

Publish an audit log entry

Publish an audit log entry to the Org audit trail. This endpoint records user actions, system events, and operational changes with configurable severity levels and contextual metadata. Ideal for compliance requirements, security monitoring, debugging, and business intelligence reporting.

post/auditLogs/orgs/{orgId}

Request

  • Base URL: https://api.flipdish.co (the document declares no server; this is the origin it was published from)
  • URL: https://api.flipdish.co/auditLogs/orgs/{orgId}
  • Auth: HTTP bearer

Path parameters

orgIdstring required

Org ID in standard format

Example:org123

Request body

status'success' | 'failed' | 'info' | 'warning' required

The status of the audit log event indicating the outcome or severity level

namestring required

Event name following the format 'service.event_name' (e.g., 'doordash.job_updated'). Must be lowercase letters and underscores only, no spaces or numbers allowed.

messagestring required

A descriptive message explaining what action was performed or what event occurred

dataobject

Additional contextual data related to the audit event. Can contain any relevant information about the action performed

Example request

{
  "status": "success",
  "message": "User successfully updated menu item pricing for 'Margherita Pizza'",
  "name": "doordash.job_updated",
  "data": {
    "userId": "user789",
    "menuItemId": "item456",
    "previousPrice": 12.99,
    "newPrice": 14.99,
    "timestamp": "2024-01-15T10:30:00Z",
    "action": "price_update"
  }
}

Response

Ok

messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.