arrow_back Back to all endpoints
POST https://test-api.finerworks.com/v3/list_event_logs

List Event Logs

Provides a list of event logs. Requires special permissions to be able to use this endpoint.

Body

Name Description Type Additional information
type Optional - Filter by type. This can be be "error", "warning", "success", or "other". text None.
search_term Optional - Will search by word or phrase in the event details or name. text None.
page_number Optional - Page number. number None.
per_page Optional - Default is 10 however you can display up to 50 at a time. number None.
sort_field Optional - Default is by id. Alternatively these fields can also be used: name or type. text None.
sort_direction Optional - Default is "DESC" for descending order however if you want it to be ascending order, use "ASC". text None.

Example JSON Body

application/json, text/json

{
  "type": "sample string 1",
  "search_term": "sample string 2",
  "page_number": 3,
  "per_page": 4,
  "sort_field": "sample string 5",
  "sort_direction": "sample string 6"
}

Sample Code Library

curl --location --request POST 'https://test-api.finerworks.com/v3/list_event_logs' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "type": "sample string 1",
  "search_term": "sample string 2",
  "page_number": 3,
  "per_page": 4,
  "sort_field": "sample string 5",
  "sort_direction": "sample string 6"
}'