Everything about FAX Delivery Receipt Automations
Everything about FAX Delivery Receipt Automations
Get all inbound fax automations
Get all inbound fax automations
Parameter | In | Type | Required | Description |
---|---|---|---|---|
page | query | integer(int32) | false | Page number |
limit | query | integer(int32) | false | Number of records per page |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
'https://rest.clicksend.com/v3/automations/fax/inbound'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "Your inbound fax.", "data": { "total": 2, "per_page": 15, "current_page": 1, "last_page": 1, "next_page_url": null, "prev_page_url": null, "from": 1, "to": 2, "data": [ … ] } }
Create new inbound fax automation
Create new inbound fax automation
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
dedicated_number | string | true | none | Dedicated Number. Can be '*' to apply to all numbers. |
rule_name | string | true | none | Rule Name. |
action | string | true | none | Action to be taken (AUTO_REPLY, EMAIL_USER, EMAIL_FIXED, URL, SMS, POLL, GROUP_SMS, MOVE_CONTACT, CREATE_CONTACT, CREATE_CONTACT_PLUS_EMAIL, CREATE_CONTACT_PLUS_NAME_EMAIL CREATE_CONTACT_PLUS_NAME, SMPP, NONE). |
action_address | string | true | none | Action address. |
enabled | number | true | none | Enabled: Disabled=0 or Enabled=1. |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
--request POST \
--header "Content-Type: application/json" \
--data-binary " {
\"dedicated_number\":\"+61298441484\",
\"rule_name\":\"Rule Name\",
\"action\":\"EMAIL_FIXED\",
\"action_address\":\"email@domain.com\",
\"enabled\":1
}" \
'https://rest.clicksend.com/v3/automations/fax/inbound'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "New rule has been added.", "data": { "inbound_rule_id": 1, "dedicated_number": "19", "rule_name": "Email", "user_id": 1, "action": "EMAIL_FIXED", "action_address": "test@test.com", "enabled": 1 } }
Get specific inbound fax automation
Get specific inbound fax automation
Parameter | In | Type | Required | Description |
---|---|---|---|---|
inbound_rule_id | path | integer(int32) | true | Inbound rule id |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
'https://rest.clicksend.com/v3/automations/fax/inbound/{inbound_rule_id}'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "Your inbound fax.", "data": { "inbound_rule_id": 1, "dedicated_number": "19", "rule_name": "Email", "user_id": 1, "action": "EMAIL_FIXED", "action_address": "test@test.com", "enabled": 1 } }
Update inbound fax automation
Update inbound fax automation
Parameter | In | Type | Required | Description |
---|---|---|---|---|
inbound_rule_id | path | integer(int32) | true | Inbound rule id |
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
dedicated_number | string | true | none | Dedicated Number. Can be '*' to apply to all numbers. |
rule_name | string | true | none | Rule Name. |
action | string | true | none | Action to be taken (AUTO_REPLY, EMAIL_USER, EMAIL_FIXED, URL, SMS, POLL, GROUP_SMS, MOVE_CONTACT, CREATE_CONTACT, CREATE_CONTACT_PLUS_EMAIL, CREATE_CONTACT_PLUS_NAME_EMAIL CREATE_CONTACT_PLUS_NAME, SMPP, NONE). |
action_address | string | true | none | Action address. |
enabled | number | true | none | Enabled: Disabled=0 or Enabled=1. |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
--request PUT \
--header "Content-Type: application/json" \
--data-binary " {
\"dedicated_number\":\"+61298441484\",
\"rule_name\":\"Rule Name\",
\"action\":\"EMAIL_FIXED\",
\"action_address\":\"email@domain.com\",
\"enabled\":1
}" \
'https://rest.clicksend.com/v3/automations/fax/inbound/{inbound_rule_id}'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "Your inbound fax.", "data": { "inbound_rule_id": 1, "dedicated_number": "19", "rule_name": "Email", "user_id": 1, "action": "EMAIL_FIXED", "action_address": "test@test.com", "enabled": 1 } }
Delete inbound fax automation
Delete inbound fax automation
Parameter | In | Type | Required | Description |
---|---|---|---|---|
inbound_rule_id | path | integer(int32) | true | Inbound rule id |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
--request DELETE \
'https://rest.clicksend.com/v3/automations/fax/inbound/{inbound_rule_id}'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "Your fax inbound rule has been deleted.", "data": [] }
Get all fax delivery receipt automations
Get all fax delivery receipt automations
Parameter | In | Type | Required | Description |
---|---|---|---|---|
page | query | integer(int32) | false | Page number |
limit | query | integer(int32) | false | Number of records per page |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
'https://rest.clicksend.com/v3/automations/email/receipt'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "Here is your result.", "data": { "total": 2, "per_page": 15, "current_page": 1, "last_page": 1, "next_page_url": null, "prev_page_url": null, "from": 1, "to": 2, "data": [ … ] } }
Create fax delivery receipt automations
Create fax delivery receipt automations
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
rule_name | string | true | none | Rule Name. |
match_type | number | true | none | Match Type. 0=All reports. |
action | string | true | none | Action to be taken (AUTO_REPLY, EMAIL_USER, EMAIL_FIXED, URL, SMS, POLL, GROUP_SMS, MOVE_CONTACT, CREATE_CONTACT, CREATE_CONTACT_PLUS_EMAIL, CREATE_CONTACT_PLUS_NAME_EMAIL CREATE_CONTACT_PLUS_NAME, SMPP, NONE). |
action_address | string | true | none | Action address. |
enabled | number | true | none | Enabled: Disabled=0 or Enabled=1. |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
--request POST \
--header "Content-Type: application/json" \
--data-binary " {
\"rule_name\":\"My Rule\",
\"match_type\": 0,
\"action\":\"URL\",
\"action_address\":\"http://yourdomain.com\",
\"enabled\":1
}" \
'https://rest.clicksend.com/v3/automations/email/receipt'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "Your new Fax receipt has been added.", "data": { "receipt_rule_id": 1, "rule_name": "Email Test Rule", "match_type": 0, "action": "URL", "action_address": "http://yourdomain.com", "enabled": 1 } }
Get specific fax delivery receipt automation
Get specific fax delivery receipt automation
Parameter | In | Type | Required | Description |
---|---|---|---|---|
receipt_rule_id | path | integer(int32) | true | Receipt rule id |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
'https://rest.clicksend.com/v3/automations/email/receipt/{rule_id}'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "Your rule incoming fax receipt.", "data": { "receipt_rule_id": 1, "rule_name": "Email Test Rule", "match_type": 0, "action": "URL", "action_address": "http://yourdomain.com", "enabled": 1 } }
Update fax delivery receipt automation
Update fax delivery receipt automation
Parameter | In | Type | Required | Description |
---|---|---|---|---|
receipt_rule_id | path | integer(int32) | true | Receipt rule id |
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
rule_name | string | true | none | Rule Name. |
match_type | number | true | none | Match Type. 0=All reports. |
action | string | true | none | Action to be taken (AUTO_REPLY, EMAIL_USER, EMAIL_FIXED, URL, SMS, POLL, GROUP_SMS, MOVE_CONTACT, CREATE_CONTACT, CREATE_CONTACT_PLUS_EMAIL, CREATE_CONTACT_PLUS_NAME_EMAIL CREATE_CONTACT_PLUS_NAME, SMPP, NONE). |
action_address | string | true | none | Action address. |
enabled | number | true | none | Enabled: Disabled=0 or Enabled=1. |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
--request PUT \
--header "Content-Type: application/json" \
--data-binary " {
\"rule_name\":\"My Rule\",
\"match_type\": 0,
\"action\":\"URL\",
\"action_address\":\"http://yourdomain.com\",
\"enabled\":1
}" \
'https://rest.clicksend.com/v3/automations/email/receipt/{rule_id}'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "Your rule incoming fax receipt has been updated.", "data": { "receipt_rule_id": 1, "rule_name": "Email Test Rule", "match_type": 0, "action": "URL", "action_address": "http://yourdomain.com", "enabled": 1 } }
Delete fax delivery receipt automation
Delete fax delivery receipt automation
Parameter | In | Type | Required | Description |
---|---|---|---|---|
receipt_rule_id | path | integer(int32) | true | Receipt rule id |
Refer to Status Codes for definitions of HTTP status code responses.
curl --include \
--header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \
--request DELETE \
'https://rest.clicksend.com/v3/automations/email/receipt/{rule_id}'
{ "http_code": 200, "response_code": "SUCCESS", "response_msg": "Your rule incoming fax receipt has been deleted.", "data": null }