Create message datapoint by DSN

This API creates a message datapoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
The following sample is an example request body:
{
  "datapoint": {
    "value": "",
    "metadata": {
      "key1": "",
      "key2": ""
    }
  }
}

The "value" key supports the following MIME types:
- application/json
- text/plain
- application/octet-stream

"application/json" example:
{
      "datapoint" : {
          "value" : "{\"json_out\":\"Hello json message\"}"
          "metadata": {}
      }
  }

"text/plain" example:
{
    "datapoint" : {
        "value" : "Hello string message"
        "metadata": {}
    }
}

"application/octet-stream" example:
{
"datapoint" : {
        "value" : "escaped bytes in the format \u0000"
        "metadata": {}
    }
}
Path Params
string
required

Unique device serial number.

string
required

Device property name.

Body Params
json
Responses

401

Unauthorized

404

Not Found

422

Unprocessable Entity

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json