Skip to main content
Version: Next

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​

Websocket subscription created

Response Headers
    Location

    URL of the newly created subscription