Blacklist

Get Blacklist Logs

Retrieves the blacklist logs.

get/v1/shops/{shopId}/blacklist-logs

Request body

pageinteger

Page number.

perPageinteger

Items per page, 1-100. Must be at least 1. Must not be greater than 100.

orderColumn'id' | 'value' | 'decision' | 'rule_id' | 'rule_type' | 'invoice_id' | 'created_at'
orderDirection'asc' | 'desc'
idinteger

Filter by log ID.

valuestring

Filter by matched value.

decision'allow' | 'block'
rule_type'blacklist' | 'whitelist'
rule_idinteger

Filter by rule ID.

created_at_startstring

Must be a valid date.

created_at_endstring

Must be a valid date. Must be a date after or equal to <code>created_at_start</code>.

Example request

{
  "page": 1
}

Response

current_pageinteger
first_page_urlstring
frominteger
last_pageinteger
last_page_urlstring
next_page_urlstring
pathstring
per_pageinteger
prev_page_urlstring
tointeger
totalinteger

Example response

{
  "current_page": 1,
  "data": [
    {
      "id": 1,
      "shop_id": 1,
      "value": "blocked@sellauth.test",
      "decision": "block",
      "rule_id": 1,
      "rule_type": "blacklist",
      "invoice_id": null,
      "created_at": "2026-08-28T18:23:02.000000Z",
      "updated_at": "2026-08-28T18:23:02.000000Z",
      "rule": {
        "id": 1,
        "value": "blocked@sellauth.test",
        "type": "email"
      },
      "invoice": null
    }
  ],
  "first_page_url": "http://api.sellauth.test/v1/shops/1/blacklist-logs?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "http://api.sellauth.test/v1/shops/1/blacklist-logs?page=1",
  "links": [
    {
      "url": null,
      "label": "&laquo; Previous",
      "active": false
    },
    {
      "url": "http://api.sellauth.test/v1/shops/1/blacklist-logs?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next &raquo;",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "http://api.sellauth.test/v1/shops/1/blacklist-logs",
  "per_page": 20,
  "prev_page_url": null,
  "to": 1,
  "total": 1
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.