---
title: "Send IoT Data"
slug: "send-iot-data"
updated: 2026-07-29T16:47:58Z
published: 2026-07-29T16:47:58Z
canonical: "learn.servitly.com/send-iot-data"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://learn.servitly.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Send IoT Data
Post/data
Send IoT data for a specific asset ID and path.
SecurityHTTPType basic
The base64-encoded credentials (username:password) defined in the connection configuration of a thing mapped on the HTTP Connector.
Query parametersassetIdstringRequired
The asset id configured in the thing connection mapping.
ExampleA00123
pathstringRequired
The path configured in the thing connection mapping concatenated with the metric mapping path.
Examplemeasures
Body parameters
The metric payload.
Array of object object tsinteger (int64)
The timestamp associated to the metric values.
Example1732866613000
dataobject
The metric values (JSON encoded) by metric mapping name.
Example{
"status": "WORKING",
"temperature": "25",
"active": "True"
}
string Exampletimestamp,status,temperature,active\n1732866613000,25,true
Responses204
Metric data publishing succeeded.
400
Request data (parameters or payload) not valid.
object messagestring
The error response.
ExampleBad request
401
Client not authorized.
object messagestring
The error response.
ExampleClient not authorized
404
Asset ID not found.
object messagestring
The error response.
ExampleAssetID not found
413
Request payload too large (max 2MB).
object messagestring
The error response.
ExampleRequest payload too large
429
API call rate limit exeeded. Checkout the [HTTP Connector](https://learn.servitly.com/docs/direct-http-connector#request-rate-limits) article for more details.
HeadersRetry-AfterintegerRemaining time, in seconds, until a new request can be performed.
object messagestring
The error response.
ExampleAPI call rate limit exeeded
500
Internal server error.
object messagestring
The error response.
ExampleInternal Server Error