Skip to content
The Yoto Developer Challenge is on, with $10,000 to win!

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.

Responses

200 ok application/json
statusstring

Body application/json

Path Parameters

deviceId string Required
POST
/device-v2/{deviceId}/command/status
Server URL: https://api.yotoplay.com
Authorization (bearerAuth)
Request Body
Terminal window
curl "https://api.yotoplay.com/device-v2/{deviceId}/command/status"
--header "Authorization: Bearer [YOUR_TOKEN]"