curl --request GET \
--url https://www.getinboxzero.com/api/v1/rules/{id} \
--header 'API-Key: <api-key>'{
"rule": {
"id": "<string>",
"name": "<string>",
"enabled": true,
"runOnThreads": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"condition": {
"conditionalOperator": "AND",
"aiInstructions": "<string>",
"static": {
"from": "<string>",
"to": "<string>",
"subject": "<string>"
}
},
"actions": [
{
"type": "LABEL",
"fields": {
"label": "<string>",
"to": "<string>",
"cc": "<string>",
"bcc": "<string>",
"subject": "<string>",
"content": "<string>",
"webhookUrl": "<string>",
"folderName": "<string>"
},
"delayInMinutes": 123
}
]
}
}Get a single automation rule for the scoped inbox account.
curl --request GET \
--url https://www.getinboxzero.com/api/v1/rules/{id} \
--header 'API-Key: <api-key>'{
"rule": {
"id": "<string>",
"name": "<string>",
"enabled": true,
"runOnThreads": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"condition": {
"conditionalOperator": "AND",
"aiInstructions": "<string>",
"static": {
"from": "<string>",
"to": "<string>",
"subject": "<string>"
}
},
"actions": [
{
"type": "LABEL",
"fields": {
"label": "<string>",
"to": "<string>",
"cc": "<string>",
"bcc": "<string>",
"subject": "<string>",
"content": "<string>",
"webhookUrl": "<string>",
"folderName": "<string>"
},
"delayInMinutes": 123
}
]
}
}