Proteside Docs
Endpoint referencePolicies

List approval policies

GET
/policies

store_id=X returns organization-level policies (store_id: null) plus the store's own.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API token created in Settings → API. Scopes are attached to the token; each operation lists its required scope in x-scope.

Query Parameters

org_id?string

Partners only (orgs:manage): act on this child organization. May also be sent as org_id in JSON bodies.

Formatuuid
store_id?string

Filter by store

Formatuuid
active?boolean
limit?integer
Range1 <= value <= 100
Default50
cursor?string

Opaque cursor from next_cursor

Response Body

Policies

application/json
  1. response
data?array<>
next_cursor?string|null
curl -X GET "https://example.com/policies"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",      "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",      "name": "string",      "description": "string",      "version": 0,      "active": true,      "mode": "recommend",      "priority": 0,      "match": {        "origin": "first_party",        "domain": [          "string"        ],        "path_glob": [          "string"        ],        "category": [          "string"        ],        "vendor_id": [          "string"        ]      },      "conditions": {        "same_origin": true,        "prevalence_min": 0,        "no_sensitive_field_access": true,        "not_in_threat_list": true,        "in_threat_list": true,        "store_provider": true,        "max_size_kb": 0,        "has_integrity_attr": true      },      "action": "authorize",      "justification_template": "string",      "expires_days": 0,      "is_default": true,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}