Skip to main content
Send a message into a WebSocket connection

Path Parameters

token
string
required

Connection to deliver to, named by the token the server sent that client when its socket was opened.

Minimum string length: 1
Example:

"Xq2FhT7bK9mR4sVnP0wZcL6yD8jG1uAe"

Body

application/json
message
any
required

What is to be delivered. It is passed to the client exactly as it arrives and the platform reads nothing out of it; by convention clients send an object naming the kind of message and the data belonging to it.

Example:

Response

The message was written to the client's connection.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"