POST /api/v2/audit_logs/export

Allowed For

Limits

This endpoint's rate limit is different from the account-wide rate limit. The rate limit is one request per minute per account. When this limit is reached, you'll get a 429 Too Many Requests response code.

Headers

API responses include usage limit information in the headers for this endpoint.

Zendesk-RateLimit-audit-logs-export: total={number}; remaining={number}; resets={number}

Within this header, “Total” signifies the initial allocation, “Remaining” indicates the remaining allowance for the current interval, and “Resets” denotes the wait time in seconds before the limit refreshes. You can see the Total, and Interval values in the below table.

Details

The rate limit is one request per minute per account. If you exceed this, you'll receive the following error: "Rate limit for Audit log CSV Export exceeded. Please wait 1 minute and try again."

Servers

Query parameters

Name Type Required Description
filter[source_type] String No

Filter audit logs by the source type. For example, user or rule

filter[actor_id] Integer No

Filter audit logs by the actor id

filter[ip_address] String No

Filter audit logs by the ip address

filter[action] String No

Filter audit logs by the action

filter[source_id] Integer No

Filter audit logs by the source id. Requires filter[source_type] to also be set.

filter[created_at] String No

Filter audit logs by the time of creation. When used, you must specify filter[created_at] twice in your request, first with the start time and again with an end time

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.