curl --request POST \
--url https://api.zo.computer/rules/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition": "<string>",
"instruction": "<string>"
}
'{
"id": "<string>",
"condition": "<string>",
"instruction": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}Create a new rule for the user.
The rule will be added to the end of the rules list.
curl --request POST \
--url https://api.zo.computer/rules/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition": "<string>",
"instruction": "<string>"
}
'{
"id": "<string>",
"condition": "<string>",
"instruction": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}Zo API key (zo_sk_...)