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.
Successful response
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": [
- {
- "inbound_rule_id": 1,
- "dedicated_number": 19,
- "rule_name": "Email",
- "user_id": "1",
- "action": "EMAIL_FIXED",
- "action_address": "test@test.com",
- "enabled": "1"
}, - {
- "inbound_rule_id": 2,
- "dedicated_number": 19,
- "rule_name": "URL",
- "user_id": "1",
- "action": "URL",
- "enabled": "0"
}
]
}
}
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.
Successful response
{- "dedicated_number": "*",
- "rule_name": "test rule",
- "action": "URL",
- "enabled": 1
}
{- "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.
Successful response
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.
Successful response
{- "dedicated_number": "+61411111111",
- "rule_name": "test rule",
- "action": "URL",
- "enabled": 1
}
{- "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.
Successful response
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.
Successful response
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": [
- {
- "receipt_rule_id": 1,
- "rule_name": "Email Test Rule",
- "match_type": 0,
- "action": "URL",
- "enabled": 1
}, - {
- "receipt_rule_id": 2,
- "rule_name": "test",
- "match_type": 0,
- "action": "URL",
- "enabled": 1
}
]
}
}
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.
Successful response
{- "rule_name": "test",
- "match_type": 0,
- "action": "URL",
- "enabled": 1,
}
{- "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",
- "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.
Successful response
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",
- "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.
Successful response
{- "action_address": "test.com"
}
{- "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",
- "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.
Successful response
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
}