GET
/
v1
/
sanctions
/
cases
curl "https://v2.app-dev.zquence.com/v1/sanctions/cases?state=PENDING" \
  -H "x-api-key: $ZQUENCE_PUBLIC_KEY" \
  -H "x-api-secret: $ZQUENCE_SECRET_KEY"
{
  "items": [
    {
      "_id": "68bbd741f4c6f683f94ca211",
      "environmentId": "69f9b5fa0600ccbf9c677005",
      "userId": "customer-1842",
      "entityName": "Jane Merchant",
      "projection": {
        "state": "PENDING",
        "version": 1,
        "latestAttemptId": "68bbd741f4c6f683f94ca212",
        "latestOutcome": "REVIEW_REQUIRED",
        "accountRestricted": false
      }
    }
  ],
  "total": 1,
  "page": 1,
  "limit": 25
}
Requires API-key scope sanctions.read and tenant permission sanctions.case.view.

Query parameters

userId
string
state
string
page
number
default:"1"
limit
number
default:"25"
Maximum 100.
curl "https://v2.app-dev.zquence.com/v1/sanctions/cases?state=PENDING" \
  -H "x-api-key: $ZQUENCE_PUBLIC_KEY" \
  -H "x-api-secret: $ZQUENCE_SECRET_KEY"
{
  "items": [
    {
      "_id": "68bbd741f4c6f683f94ca211",
      "environmentId": "69f9b5fa0600ccbf9c677005",
      "userId": "customer-1842",
      "entityName": "Jane Merchant",
      "projection": {
        "state": "PENDING",
        "version": 1,
        "latestAttemptId": "68bbd741f4c6f683f94ca212",
        "latestOutcome": "REVIEW_REQUIRED",
        "accountRestricted": false
      }
    }
  ],
  "total": 1,
  "page": 1,
  "limit": 25
}

Case states

CLEAR, PENDING, FAILED, ESCALATED, FALSE_POSITIVE, CLEARED_AFTER_REVIEW, ACCEPTED_RISK, BLOCKED, or RESTORED.