# Retrieve risk score blocklist rules

Retrieves risk score blocklist rules.

Endpoint: GET /risk-score-rules/blocklists
Version: latest
Security: SecretApiKey, JWT

## Security:

  - `SecretApiKey` (unknown)
    apiKey in header REB-APIKEY

  - `JWT` (unknown)
    http bearer JWT

## Response 200:

  - `200` (unknown)
    Risk score blocklist rules retrieved.

## Response 200 fields (application/json):

  - `permanentlyBlockList` (object | null)
    Items permanently blocklisted when TTL is equal to `0`.

  - `permanentlyBlockList.address` (object)
    Rule that permanently blocklists items when TTL is equal to `0`.

  - `permanentlyBlockList.address.riskScoreThreshold` (integer, required)
    Pass and fail threshold for the blocklist.

  - `temporaryBlockList` (object | null)
    Items temporarily blocklisted when TTL is greater than `0`.

  - `temporaryBlockList.address` (object)
    Items temporarily blocklisted when TTL is greater than `0`.

  - `temporaryBlockList.address.riskScoreThreshold` (integer, required)
    Pass and fail threshold for the blocklist.

  - `temporaryBlockList.address.ttl` (integer, required)
    Amount of seconds a blocklist exists before it expires.
This value must be greater than 0.

## Response 401:

  - `401` (unknown)
    Unauthorized access.
Invalid credentials used.

## Response 401 fields (application/json):

  - `status` (integer)
    HTTP status code.

  - `type` (string)
    Problem type in the form of a [URI](https://tools.ietf.org/html/rfc3986) reference.
It should provide human-readable documentation for the problem type.
When this member is not present, its value is assumed to be "about:blank".

  - `title` (string)
    Short, human-readable summary of the problem type.
Other than for the purposes of localization, this should not change from occurrence to occurrence of the problem.

  - `detail` (string)
    Human-readable explanation that is specific to this occurrence of the problem.

  - `instance` (string)
    URI reference that identifies the specific occurrence of the problem.
It may or may not yield further information if dereferenced.

## Response 403:

  - `403` (unknown)
    Access forbidden.
If the organization requires multi-factor authentication (MFA) and the session has not passed MFA, `error` is `mfa_required`.

## Response 403 fields (application/json):

  - `status` (integer)
    HTTP status code.

  - `error` (string)
    Message that describes why the request is forbidden.
Most responses use a descriptive message, such as `Not allowed to change security settings`.
If the organization requires multi-factor authentication (MFA) and MFA verification has not been completed for the session, this value is `mfa_required`.
If the request sets `requireMfa` to `true` and MFA verification has not been completed for the session, this value is `mfa_required_for_caller`.

  - `type` (string)
    Problem type in the form of a [URI](https://tools.ietf.org/html/rfc3986) reference.
It should provide human-readable documentation for the problem type.
When this member is not present, its value is assumed to be "about:blank".

  - `title` (string)
    Short, human-readable summary of the problem type.
Other than for the purposes of localization, this should not change from occurrence to occurrence of the problem.

  - `detail` (string)
    Human-readable explanation that is specific to this occurrence of the problem.

  - `instance` (string)
    URI reference that identifies the specific occurrence of the problem.
It may or may not yield further information if dereferenced.

