Yoto Developers
Send Device Command

Send Device Command

This endpoint is used to send a MQTT command to a device within the user's family.

Request Body

The request body must be a JSON object. This matches the request specified within the separate MQTT Command documentation.

Response

On a successful request, the response will return a JSON object specifying the success or failure of the command request.

Required Scope

family:devices:control

Responses

200 okapplication/json
statusstring

Body application/json

Path Parameters

deviceIdstringRequired
POST
/device-v2/{deviceId}/command/status
Server URL: https://api.yotoplay.com
Request Body
curl "https://api.yotoplay.com/device-v2/{deviceId}/command/status"