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 IoT Core
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Publish
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • HTTP request
  • Path parameters
  • Body parameters
  • Response
  1. Devices API reference
  2. REST
  3. DeviceData
  4. Publish

IoT Core Service, REST: DeviceData.Publish

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

Publishes message on behalf of specified device

HTTP request

POST https://iot-data.api.cloud.yandex.net/iot-devices/v1/devices/{deviceId}/publish

Path parameters

Field

Description

deviceId

string

Required field. ID of device publishing message

Body parameters

{
  "topic": "string",
  "data": "string"
}

Field

Description

topic

string

Required field. Topic where message should be published

data

string (bytes)

Content of the message

Response

HTTP Code: 200 - OK

Was the article helpful?

Previous
Overview
Next
Overview
Yandex project
© 2025 Yandex.Cloud LLC