Organizations

Get blocked IPs for an organization

GET
/api/organizations/{organizationId}/blocked-ips

Returns the list of IPs blocked for webchat sessions on this organization plus the customer-facing ipBlockedMessage shown when a blocked IP attempts to connect. Admin can read own org; SuperAdmin can read any org.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

organizationId*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/organizations/string/blocked-ips"
{  "success": true,  "data": {    "blockedIPs": [      "203.0.113.42",      "198.51.100.7"    ],    "ipBlockedMessage": "Due to previous violations your IP has been blocked"  }}