Update a Rule
PUT
/automations/email/receipt/{rule_id}
Automation Rules
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://rest.clicksend.com/v3/automations/email/receipt/8' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "URL",
"action_address": "http://yourdomain.com",
"enabled": 1,
"match_type": 0,
"rule_name": "My Rule"
}'
Response Response Example
{
"data": {
"action": "URL",
"action_address": "http://yourdomain.com",
"enabled": 1,
"match_type": 0,
"receipt_rule_id": 8,
"rule_name": "My Rule"
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Automation email receipt rule has been updated."
}
Request
Path Params
rule_id
numberÂ
required
Example:
8
Body Params application/json