Skip to navigation

GetAuditLog

View as Markdown

Gets the history of account changes.

Allowed roles: Owner.

Example request: Get the three log items from the 2018-02-01 00:00:00 to the 2018-03-01 00:00:00 and filter.

Authentication

AuthorizationBearer

Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the Authorization header as a Bearer value:

Authorization: Bearer $VOXIMPLANT_TOKEN

See Authorization for ready-to-copy snippets in bash, Python, Node.js and Go that turn your credentials.json into a token.

Query parameters

from_datestringRequired

The UTC 'from' date filter in 24-h format: YYYY-MM-DD HH:mm:ss

to_datestringRequired

The UTC 'to' date filter in 24-h format: YYYY-MM-DD HH:mm:ss

audit_log_idlist of integersOptional

The audit history ID list separated by semicolons (;)

filtered_admin_user_idstringOptional
The admin user ID to filter
filtered_iplist of stringsOptional

The IP list separated by semicolons (;) to filter

filtered_cmdlist of stringsOptional

The function list separated by semicolons (;) to filter

advanced_filtersstringOptional

A relation ID to filter (for example: a phone_number value, a user_id value, an application_id value)

desc_orderbooleanOptionalDefaults to false
Whether to get records in the descent order
with_total_countbooleanOptionalDefaults to false

Whether to include the 'total_count' and increase performance

countintegerOptionalDefaults to 100
The max returning record count
offsetintegerOptionalDefaults to 0

The first N records are skipped in the output

Response

Successful response
resultlist of objectsOptional
total_countintegerOptional
The total found item count
countintegerOptional
The returned item count
timezonestringOptional
The used timezone