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 type | Schema |
---|---|
application/json | { "name": "string", "file_id": "string", "actions": [ { "mac": "string", "audio": "boolean", "relays": "[double]" } ], "special_volume": "double" } |
Responses
Status | Description |
---|---|
201 | Response in headers ["x-aip-id"] |
400 | application/json { "errors": "[string]" } |