Risk

List risk flags

Highest severity first, newest first within one. evidence carries what the check saw. New flags are created by the risk checks, which run on plans with fraud monitoring; history stays readable on every plan.

Scope: read

get/v1/risk_flags

Request

  • Base URL: https://api.affiliaterail.com
  • URL: https://api.affiliaterail.com/v1/risk_flags
  • Auth: HTTP bearer

Query parameters

program_idstring required
status'open' | 'reviewing' | 'resolved' | 'dismissed'
partner_idstring
limitstring

1 to 100, default 50

offsetstring

Response

Risk flags

has_moreboolean required
total_countinteger required

Example response

{
  "data": [
    {
      "id": "rsk_7uSyy9FqVLCFWrdPeZaK",
      "partner": {
        "id": "part_7uSyy9FqVLCFWrdPeZaK"
      },
      "customer": {
        "id": "cus_7uSyy9FqVLCFWrdPeZaK"
      },
      "resolved_at": "2026-08-21T10:15:30.000Z",
      "created_at": "2026-08-21T10:15:30.000Z"
    }
  ]
}

Changes

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