Example Payload

  "token": "T************************"        // Your Token
  "allowed_actions": {                        // Dictionary of queries and actions
    "install_script": ["get"],
    "download": ["get"]
    "device": ["get","put"],
    "device_data": ["put"],
    "device_commands": ["get"]
  "accounts": ["A0000000000000000000"],
  "devices": ["ID1"]                          // or "*" to access all devices in account

Returns a new access token with the permissions specified in the body of the request. The maximum permissions allowed are those of the current token being used.


Secret Token

The secret is only available when you create a token, so please record it somewhere for future use. You will need to send it into the query as a mc_secret parameter.

Click Try It! to start a request and see the response here!