Get a list of Webhook Events
- Returns a list of Webhook Events with options could be used to sort and filter them.
Query Parameters
- locale stringPossible values: [ en,es,ru,uk,pl,nl,tr,fr,da]Default value: enLanguage for localizing logs. Value by default is 'en' - English (en)
- Spanish (es)
- French (fr)
- Danish (da)
- Dutch (nl)
- Ukrainian (uk)
- Turkish (tr)
- Polish (pl)
- Russian (ru)
 
- limit integerPossible values: [ 10,20,30,50]Number of items. Value by default is 10 
- page_number integerPossible values: >= 1Page number 
- sort_field stringField name (JSON Key in item entity) 
- sort_type stringPossible values: [ asc,desc]Default value: ascSort type (asc/desc) 
- filter objectFiltering options for Apartment 
- from int64Unix time used to get entities in a specific time window. - Used in conjunction with timeToparam
 
- Used in conjunction with 
- to int64Unix time used to get entities in a specific time window. - Used in conjunction with timeFromparam
 
- Used in conjunction with 
- 200
- 400
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- list_items object[]List of Webhook Events 
- list_option object- Available options for sorting, filtering and pagination of lists - pagination object- Available pagination options for tables total_items integer- The total number of items found and reflected across all pages items_limit integer- Possible values: [ - 10,- 20,- 30,- 50]- Limiting the display of the amount of data for one page total_pages integer- The number of pages that hold the requested data current_page integer- Possible values: - >= 1- Current page number - filter object- Available filter sets for Webhhoks anyOf- MOD1
- MOD2
 filter_field string- Field available for filtering filter_type string- Possible values: [ - equal]- Available filtering type, only equal here filter_format string- Data format, only string here filter_value string- Filter value filter_field string- Field available for filtering filter_type string- Possible values: [ - equal]- Available filtering type, only equal here filter_format string- Data format, only string here filter_value string- Possible values: [ - pending,- success,- failed,- retrying]- This model describes Webhook Event status - sort object- Available sorting options for the selected table field string- Sorting field name asc boolean- Sort direction available_fields undefined[]- Possible values: [ - event_type,- created_at]- Available for sorting fields names - locale object- This model describes available languages can be used to display logs locale string- Possible values: [ - en,- es,- ru,- uk,- pl,- pt,- nl,- tr,- fr,- da,- de]- This model describes available languages can be used to display logs in human readable format available_locales string[]- Possible values: [ - en,- es,- ru,- uk,- pl,- pt,- nl,- tr,- fr,- da,- de]- List of available locales 
{
  "list_items": [
    {
      "item_uid": 3,
      "webhook_uid": 3,
      "status": "success",
      "response": "200 OK",
      "retries": 0,
      "max_retries": 0,
      "event_type": "log.access_granted_by_valid_identifier",
      "created_at": 1540819272
    }
  ],
  "list_option": {
    "pagination": {
      "total_items": 18,
      "items_limit": 10,
      "total_pages": 2,
      "current_page": 1
    },
    "filter": {
      "filter_field": "event_type",
      "filter_type": "equal",
      "filter_format": "string",
      "filter_value": "log.access_granted_by_api_call"
    },
    "sort": {
      "field": "created_at",
      "asc": true,
      "available_fields": [
        "created_at"
      ]
    },
    "locale": {
      "locale": "en",
      "available_locales": [
        "en"
      ]
    }
  }
}
{
  "list_option": {
    "locale": {
      "available_locales": [
        "pl",
        "pt",
        "uk",
        "en",
        "ru",
        "es",
        "nl",
        "tr",
        "fr",
        "da",
        "de"
      ],
      "locale": "en"
    },
    "pagination": {
      "total_pages": 1,
      "items_limit": 10,
      "total_items": 2,
      "current_page": 1
    },
    "filter": {
      "filter_field": "event_type",
      "filter_type": "equal",
      "filter_format": "string",
      "filter_value": "access_granted_by_api_call",
      "available_filtering": true,
      "available_fields": [
        "status",
        "event_type"
      ],
      "is_filtered": true,
      "available_values": {
        "event_type": [
          {
            "text": "SIP registration lost",
            "key": "log.sip_registration_lost"
          },
          {
            "text": "Unknown identifier",
            "key": "log.access_denied_by_unknown_card"
          },
          {
            "text": "Wrong input code",
            "key": "log.access_denied_by_not_valid_input_code"
          },
          {
            "text": "Access granted by remote server",
            "key": "log.access_granted_by_remote_server_api_call"
          },
          {
            "text": "Missed outgoing call",
            "key": "log.outgoing_call_missed"
          },
          {
            "text": "Door is not closed too long",
            "key": "log.door_was_not_closed_too_long"
          },
          {
            "text": "Unknown QR code",
            "key": "log.access_denied_by_unknown_qr"
          },
          {
            "text": "Lock opened by response device",
            "key": "log.access_granted_by_call_host"
          },
          {
            "text": "Door was closed",
            "key": "log.door_was_closed"
          },
          {
            "text": "Lock opened by free access button",
            "key": "log.lock_was_opened_by_free_access_button"
          },
          {
            "text": "Outgoing call",
            "key": "log.outgoing_call"
          },
          {
            "text": "Device booted",
            "key": "log.device_booted"
          },
          {
            "text": "Failed login attempt to the GUI settings",
            "key": "log.incorrect_login_gui_settings"
          },
          {
            "text": "Entered to GUI settings",
            "key": "log.successful_login_gui_settings"
          },
          {
            "text": "Tamper triggered",
            "key": "log.tamper_event"
          },
          {
            "text": "Incoming call",
            "key": "log.incoming_call"
          },
          {
            "text": "Door was opened",
            "key": "log.door_was_opened"
          },
          {
            "text": "Access denied by remote server",
            "key": "log.access_denied_by_remote_server_api_call"
          },
          {
            "text": "Door sensor opened",
            "key": "log.door_sensor_was_opened"
          },
          {
            "text": "Not valid face identifier",
            "key": "log.access_denied_by_not_valid_face_identifier"
          },
          {
            "text": "Failed login attempt to the web interface",
            "key": "log.incorrect_login_api_call"
          },
          {
            "text": "Not valid identifier",
            "key": "log.access_denied_by_not_valid_identifier"
          },
          {
            "text": "Access granted",
            "key": "log.access_granted_by_api_call"
          },
          {
            "text": "Lock opened by identifier",
            "key": "log.access_granted_by_valid_identifier"
          },
          {
            "text": "The lock is open on alarm",
            "key": "log.emergency_lock_is_opened"
          },
          {
            "text": "Lock opened by exit button",
            "key": "log.lock_was_opened_by_exit_btn"
          },
          {
            "text": "General access code entered",
            "key": "log.access_granted_by_master_code"
          },
          {
            "text": "Door sensor closed",
            "key": "log.door_sensor_was_closed"
          },
          {
            "text": "Login to the web interface",
            "key": "log.successful_login_api_call"
          },
          {
            "text": "Outgoing call from web",
            "key": "log.outgoing_call_web"
          },
          {
            "text": "Access denied by unknown identifier",
            "key": "log.access_denied_unknown_identifier"
          },
          {
            "text": "Successful lift call",
            "key": "log.lift_call_success"
          },
          {
            "text": "Failed to call the lift",
            "key": "log.lift_call_error"
          },
          {
            "text": "Cannot access lift module",
            "key": "log.lift_module_access_error"
          },
          {
            "text": "Lift request",
            "key": "log.bond_lift_request"
          }
        ],
        "status": [
          "success",
          "failed",
          "retrying",
          "pending"
        ]
      }
    },
    "sort": {
      "asc": true,
      "field": "event_type",
      "available_fields": [
        "event_type",
        "created_at"
      ]
    }
  },
  "list_items": [
    {
      "item_uid": 1,
      "webhook_uid": 1,
      "status": "success",
      "response": "200 OK",
      "created_at": 1745948315775,
      "retries": 0,
      "max_retries": 5,
      "event_type": "log.access_granted_by_api_call"
    }
  ]
}
Base errors for all entities
- Wrong pagination limit
- Wrong page number
- Wrong filter type
- Wrong filter field
- Wrong filter format
- Wrong filter value
- Wrong sort type
 Errors appeared only in log entities:
- Wrong time format
- Wrong time range: 'to' must be greater then 'from'
 Errors appeared in other entities:
- Wrong sort field
- application/json
- Schema
- Example (from schema)
- Pagination Limit
- Pagination Page Number
- Sort type
- Sort field
- Filter type
- Filter field
- Filter value
- Filter format
- Time format
- Time range
Schema
- error stringError message 
{
  "error": "Administrator rights required"
}
{
  "error": "Wrong pagination limit"
}
{
  "error": "Wrong page number"
}
{
  "error": "Wrong sort type"
}
{
  "error": "Wrong sort field"
}
{
  "error": "Wrong filter type"
}
{
  "error": "Wrong filter field"
}
{
  "error": "Wrong filter value"
}
{
  "error": "Wrong filter format"
}
{
  "error": "Wrong time format"
}
{
  "error": "Wrong time range: 'to' must be greater then 'from'"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringError message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error stringError message 
{
  "error": "Administrator rights required"
}
{
  "error": "Administrator rights required"
}