1. API Operations
  2. Get loggers

Deprecated

You are viewing a deprecated version of our API Reference. Please visit the up-to-date documentation.

Get loggers

This operation returns the list of loggers belonging to the current user, including their information.


Request

Parameters
Parameter
op
Type
string
required
true

Get the list of loggers. The value is "get_loggers".

{
  "op": "get_loggers"
}

Response

Attributes
Attribute
op_status
Type
string

The status of the operation. The value can be "success" or "fail".

Attribute
loggers
Type
array

The list of loggers for the current user. Returned in case of a successful operation.

Attribute
error
Type
string

Error message. Returned in case of a failed operation.

{
  "op_status": "success",
  "loggers": [
    {
      "id": 43987,
      "label": "mypentest",
      "handler_url": "https://pentest-tools.com/logger/sNbp0DMXOs",
      "active_days": 54,
      "num_requests": 5,
      "requests_left": 95
    },
    {
      "id": 12144,
      "label": "may_pentest",
      "handler_url": "https://pentest-tools.com/logger/akvG6h1fqy",
      "active_days": 12,
      "num_requests": 78,
      "requests_left": 22
    }
  ]
}