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