Organizations

Update the IP blocked message

PATCH
/api/organizations/{organizationId}/ip-blocked-message

Updates the customer-facing message shown to webchat visitors whose IP is on the org blocklist. Empty strings revert to the default ("Due to previous violations your IP has been blocked").

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

organizationId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/organizations/string/ip-blocked-message" \  -H "Content-Type: application/json" \  -d '{    "message": "Access from your network is currently restricted. Please contact support."  }'
{  "success": true,  "data": {    "ipBlockedMessage": "Access from your network is currently restricted. Please contact support."  }}