Update a rule
PUT
/automations/voice/receipts/{receipt_rule_id}
Automation Rules
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://rest.clicksend.com/v3/automations/voice/receipts/2' \
--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": "URL",
"action_address": "http://yourdomain.com",
"enabled": 1,
"match_type": 3,
"receipt_rule_id": 2,
"rule_name": "My Rule 2"
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Your rule incoming voice receipt."
}
Request
Path Params
receipt_rule_id
numberÂ
required
Example:
2
Body Params application/json