curl --location --request POST 'https://rest.clicksend.com/v3/automations/fax/receipts' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "EMAIL_FIXED",
"action_address": "john@doe.com",
"enabled": 1,
"match_type": 2,
"rule_name": "My Rule"
}'
{
"data": {
"action": "EMAIL_FIXED",
"action_address": "john@doe.com",
"enabled": 1,
"match_type": 2,
"receipt_rule_id": 4,
"rule_name": "My Rule"
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Your new Fax receipt has been added."
}