---
title: "Get Blacklist Logs"
method: GET
path: "/v1/shops/{shopId}/blacklist-logs"
tags: ["Blacklist"]
---

# Get Blacklist Logs

`GET /v1/shops/{shopId}/blacklist-logs`

Retrieves the blacklist logs.

## Request body

- object
  - `page` integer — Page number.
  - `perPage` integer — 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'
  - `id` integer — Filter by log ID.
  - `value` string — Filter by matched value.
  - `decision` 'allow' | 'block'
  - `rule_type` 'blacklist' | 'whitelist'
  - `rule_id` integer — Filter by rule ID.
  - `created_at_start` string — Must be a valid date.
  - `created_at_end` string — Must be a valid date. Must be a date after or equal to <code>created_at_start</code>.

## Response `200`

- object
  - `current_page` integer
  - `data` object[]
    - `id` integer
    - `shop_id` integer
    - `value` string
    - `decision` string
    - `rule_id` integer
    - `rule_type` string
    - `invoice_id` string
    - `created_at` string
    - `updated_at` string
    - `rule` object
      - `id` integer
      - `value` string
      - `type` string
    - `invoice` string
  - `first_page_url` string
  - `from` integer
  - `last_page` integer
  - `last_page_url` string
  - `links` object[]
    - `url` string
    - `label` string
    - `active` boolean
  - `next_page_url` string
  - `path` string
  - `per_page` integer
  - `prev_page_url` string
  - `to` integer
  - `total` integer

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) · [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sellauth/sellauth-api/revisions/05f1b5c3c6c8/schema)
