Retrieve audit events

You can retrieve a record of all audit events associated with your Vonage account. You can also filter this list based on dates, keyword, user and event type.

In this tutorial

You will see how to retrieve a filtered list of audit events:


In order to work through this tutorial you'll need:

  • A Vonage account.
  • A Terminal application running into which you can type or paste Curl commands. Alternatively you could use Paw, Postman or a similar application.
  • You will need to know your VONAGE_API_KEY and VONAGE_API_SECRET which you can obtain from your dashboard.

You can also refer to the Audit API documentation.

NOTE: In the examples below, please replace VONAGE_API_KEY and VONAGE_API_SECRET with actual values obtained from your dashboard.

Retrieve a list of audit events

To receive a list of all audit events enter the following into your terminal:

$ curl "" \

When you run this command you will receive a list of all audit events.

Retrieve a filtered list of audit events

The list of audit events you receive in the previous step may well be overwhelming, especially if you have been using your Vonage account for some time. You can filter this list based on several parameters:

Query Parameter Description
event_type The type of the audit event, for example: APP_CREATE, NUMBER_ASSIGN, and so on. You can specify a comma-delimited list of event types here.
search_text JSON compatible search string. Look for specific text in an audit event.
date_from Retrieve audit events from this date (in ISO-8601 format).
date_to Retrieve audit events to this date (in ISO-8601 format).
page Page number starting with page 1.
size Number of elements per page (between 1 and 100, default 30).

So for example, to filter based on dates you can enter the following command:

$ curl "" \

This will return all audit events that occurred during August 2018.

You can narrow this down further in various ways. For example you can also filter based on audit event type.

So for example, to find audit events in August of type NUMBER_ASSIGN you could enter the following:

$  curl "" \

You can further filter based on search_text. For example to find all audit events containing the text "password" you can enter the following command:

$  curl "" \

Retrieve a specific audit event

If you know the UUID for a specific audit event you can retrieve the information for that audit event object. For example if the event UUID is aaaaaaaa-bbbb-cccc-dddd-0123456789ab you would enter:

$ curl "" \

This would then return the audit event object JSON for the specified audit event.


Using the filtering capabilities of the Audit API you have complete control regarding the audit events that you retrieve.