Voice (1.0.0)

Everything about Voice Delivery Receipt Automations

View Voice Delivery Receipt Rules

Get all voice delivery receipt automations

Get all voice delivery receipt automations

Parameters

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.

This endpoint requires authentication, more info...
Request
header Parameters
Content-Type
string
Example: application/json
Responses
200

Successful response

get/v3/automations/voice/receipts
Request samples
curl --include \
     --header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA=="  \
'https://rest.clicksend.com/v3/automations/voice/receipts'
Response samples
application/json
{
  • "http_code": 200,
  • "response_code": "SUCCESS",
  • "response_msg": "Your voice receipts.",
  • "data": {
    }
}

Create Voice Delivery Receipt Rule

Create voice delivery receipt automations

Create voice delivery receipt automations

Properties

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.

This endpoint requires authentication, more info...
Request
header Parameters
Content-Type
string
Example: application/json
Request Body schema: application/json
object
Responses
200

Successful response

post/v3/automations/voice/receipts
Request samples
application/json
{
  • "rule_name": "test",
  • "match_type": 1,
  • "action": "URL",
  • "action_address": "http://test.com",
  • "enabled": 1
}
Response samples
application/json
{
  • "http_code": 200,
  • "response_code": "SUCCESS",
  • "response_msg": "Your new voice receipt has been added.",
  • "data": {
    }
}

View Voice Delivery Receipt Rule

Get specific voice delivery receipt automation

Get specific voice delivery receipt automation

Parameters

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.

This endpoint requires authentication, more info...
Request
path Parameters
receipt_rule_id
required
string
header Parameters
Content-Type
string
Example: application/json
Responses
200

Successful response

get/v3/automations/voice/receipts/{receipt_rule_id}
Request samples
curl --include \
     --header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA=="  \
'https://rest.clicksend.com/v3/automations/voice/receipts/{receipt_rule_id}'
Response samples
application/json
{
  • "http_code": 200,
  • "response_code": "SUCCESS",
  • "response_msg": "Your rule incoming voice receipt.",
  • "data": {
    }
}

Update Voice Delivery Receipt Rule

Update voice delivery receipt automation

Update voice delivery receipt automation

Parameters

Parameter In Type Required Description
receipt_rule_id path integer(int32) true Receipt rule id

Properties

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.

This endpoint requires authentication, more info...
Request
path Parameters
receipt_rule_id
required
string
header Parameters
Content-Type
string
Example: application/json
Request Body schema: application/json
object
Responses
200

Successful response

put/v3/automations/voice/receipts/{receipt_rule_id}
Request samples
application/json
{
  • "rule_name": "test",
  • "match_type": 1,
  • "action": "URL",
  • "action_address": "http://test.com",
  • "enabled": 1
}
Response samples
application/json
{
  • "http_code": 200,
  • "response_code": "SUCCESS",
  • "response_msg": "Your rule incoming voice receipt.",
  • "data": {
    }
}

Delete Voice Delivery Receipt Rule

Delete voice delivery receipt automation

Delete voice delivery receipt automation

Parameters

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.

This endpoint requires authentication, more info...
Request
path Parameters
receipt_rule_id
required
string
header Parameters
Content-Type
string
Example: application/json
Responses
200

Successful response

delete/v3/automations/voice/receipts/{receipt_rule_id}
Request samples
curl --include \
     --header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA=="  \
     --request DELETE \
'https://rest.clicksend.com/v3/automations/voice/receipts/{receipt_rule_id}'
Response samples
application/json
{
  • "http_code": 200,
  • "response_code": "SUCCESS",
  • "response_msg": "Your rule voice receipt has been deleted.",
  • "data": [ ]
}
Copyright © ClickSend 2024. All right reserved.