Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex API Gateway
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Get
        • Send
        • Disconnect
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • HTTP request
  • Path parameters
  • Body parameters
  • Response
  1. Websocket API reference
  2. REST
  3. Connection
  4. Send

API Gateway WebSocket Connection Service, REST: Connection.Send

Written by
Yandex Cloud
Updated at November 26, 2024
  • HTTP request
  • Path parameters
  • Body parameters
  • Response

Sends data to the specified connection.

HTTP requestHTTP request

POST https://apigateway-connections.api.cloud.yandex.net/apigateways/websocket/v1/connections/{connectionId}:send

Path parametersPath parameters

Field

Description

connectionId

string

Required field. ID of the connection to which send.

Body parametersBody parameters

{
  "data": "string",
  "type": "string"
}

Field

Description

data

string (bytes)

Required field. Data to send.

type

enum (DataType)

Type of the sending data.

  • DATA_TYPE_UNSPECIFIED
  • BINARY: Binary data.
  • TEXT: Text data.

ResponseResponse

HTTP Code: 200 - OK

Was the article helpful?

Previous
Get
Next
Disconnect
Yandex project
© 2025 Yandex.Cloud LLC