Skip to main content
POST
/
automation
/
commands
/
setstate
Set automation state
curl --request POST \
  --url https://api.example.com/automation/commands/setstate \
  --header 'Content-Type: application/json' \
  --data '
{
  "rules": [
    {
      "id": "<string>",
      "name": "<string>",
      "triggers": [
        {
          "id": "<string>",
          "value": {}
        }
      ],
      "actions": [
        {
          "id": "<string>",
          "value": {}
        }
      ]
    }
  ],
  "variables": [
    {
      "id": "<string>",
      "name": "<string>",
      "type": "<string>",
      "value": "<string>"
    }
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://opendonationassistant.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
rules
object[]
required
variables
object[]
required

Response

State successfully updated