API Gateway WebSocket Connection Service, REST: Connection.Send
Written by
Updated at August 8, 2025
Sends data to the specified connection.
HTTP request
POST https://apigateway-connections.api.cloud.yandex.net/apigateways/websocket/v1/connections/{connectionId}:send
Path parameters
|
Field |
Description |
|
connectionId |
string Required field. ID of the connection to which send. |
Body parameters
{
"data": "string",
"type": "string"
}
|
Field |
Description |
|
data |
string (bytes) Required field. Data to send. |
|
type |
enum (DataType) Type of the sending data.
|
Response
HTTP Code: 200 - OK