TheWavlyDocs
DocsAPI reference

Events

The audit log: every change, as an immutable event. The same events are sent to your webhook endpoints.

The security log: sign-ins, failed attempts, lockouts, keys, roles, exports, erasures and single sign-on changes, newest first, kept a year

GET/v1/security_eventsSecret key · scope security_events:read

Parameters

NameInDescription
limitquery
starting_afterqueryAn id from the previous page
severityqueryone of info, warn, high
typequery

Returns

FieldTypeDescription
object required"list"
data requiredarray of object
has_more requiredboolean

Errors

Errors return {"error": {"code", "message", "field", "request_id"}} with a 4xx or 5xx status. See Errors.

curl https://thewavly.com/v1/security_events \
  -H "Authorization: Bearer $WAVLY_API_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "object": "security_event",
      "id": "chk_P1iENx01EDRJ",
      "type": "type"
    }
  ],
  "has_more": true
}

The audit log

GET/v1/eventsSecret key · scope events:read

Parameters

NameInDescription
limitquery
starting_afterqueryAn id from the previous page
typequery

Returns

FieldTypeDescription
object required"list"
data requiredarray of object
has_more requiredboolean

Errors

Errors return {"error": {"code", "message", "field", "request_id"}} with a 4xx or 5xx status. See Errors.

curl https://thewavly.com/v1/events \
  -H "Authorization: Bearer $WAVLY_API_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "object": "event",
      "id": "chk_P1iENx01EDRJ",
      "type": "type"
    }
  ],
  "has_more": true
}