Create a new system websocket subscription
POST
/system/v2/event-publisher/websockets/subscription
Platform support: MT
Token Cost: 2 tokens (low)
Creates a websocket subscription and returns the id and the opaque
wss:// url to connect to. Requires an api_key credential; an empty
tenant_codes resolves to its tenant scope, and any tenant outside
that scope is rejected. This endpoint is available only on Multi
Tenant edition.
Request
Responses
- 201
- 400
- 403
- 409
- 500
Websocket subscription created
Response Headers
Location
URL of the newly created subscription
Invalid websocket subscription request. The request body is limited to 64 KB; a larger body is answered as unreadable.
Access denied due to missing or invalid service identity
The configured websocket subscription limit has been reached
Internal server error