instant messages

Api reference content
post/api/messages/instant

Starts a new instant message using a file. Actions field lists target devices and also if any relays should me activated.

Request body

Content typeSchema
application/json
{
  "name": "string",
  "file_id": "string",
  "actions": [
    {
      "mac": "string",
      "audio": "boolean",
      "relays": "[double]"
    }
  ],
  "special_volume": "double"
}

Responses

StatusDescription
201
Response in headers
["x-aip-id"]
400
application/json
{
  "errors": "[string]"
}