VoiceBot Action
  • 12 Jul 2022
  • 43 Minutes to read
  • Dark
    Light

VoiceBot Action

  • Dark
    Light

Article summary

VoiceBot Action

VoiceBot Action JSON Format

VoiceBot Action is represented as simple flat JSON objects with the following keys:

NameTypeDescription
xPositionintegerXposition represents the coordinate value of x.
yPositionintegerYposition represents the coordinate value of Y.
idguidId of the voicebot action.
typeenumAllowed values are voicebotActionStart, voicebotActionPlayText, voicebotActionPlayAudio, voicebotActionIVRMenu, voicebotActionCallerAuthentication, voicebotActionEndCall, voicebotActionTransferCall, voicebotActionWebhook, voicebotActionCollectDTMFDigits, voicebotActionCollectSpeechResponse, voicebotActionGoToIntent, voicebotActionCondition, voicebotActionSetVariableValue, voicebotActionClearValue.
voicebotResponseIdguidId of the voicebot response.
voicebotActionClearValuevoicebotActionClearValueReference to Voice Bot Action Clear Value.
voicebotActionCollectDTMFDigitsvoicebotActionCollectDTMFDigitsReference to Voice Bot Action Collect DTMF Digits.
voicebotActionCollectSpeechResponsevoicebotActionCollectSpeechResponseReference to Voice Bot Action Collect Speech Response.
voicebotActionConditionvoicebotActionConditionReference to Voicebot Action Condition.
voicebotActionEndCallvoicebotActionEndCallReference to Voicebot Action End Call.
voicebotActionGoToIntentvoicebotActionGoToIntentReference to Voicebot Action Go To Intent.
voicebotActionIVRMenuvoicebotActionIVRMenuReference to Voicebot Action IVR Menu.
voicebotActionPlayAudiovoicebotActionPlayAudioReference to Voicebot Action Play Audio.
voicebotActionPlayTextvoicebotActionPlayTextReference to Voicebot Action Play Text.
voicebotActionSetVariableValuevoicebotActionSetVariableValueReference to Voicebot Action Set Variable Value.
voicebotActionStartvoicebotActionStartReference to Voicebot Action Start.
voicebotActionTransferCallvoicebotActionTransferCallReference to Voicebot Action Transfer Call.
voicebotActionWebhookvoicebotActionWebhookReference to Voicebot Action Webhook.

Get the list of VoiceBot Action

GET voicebot/voicebotActions

  • Parameters:

NameTypeinRequiredDescription
includestringquerynoAllowed values are voicebotActionClearValue, voicebotActionCollectDTMFDigits, voicebotActionCollectSpeechResponse, voicebotActionCondition, voicebotActionEndCall, voicebotActionGoToIntent, voicebotActionIVRMenu, voicebotActionPlayAudio, voicebotActionPlayText, voicebotActionSetVariableValue, voicebotActionStart, voicebotActionTransferCall, voicebotActionWebhook.
  • Response:

An array of VoiceBot Action

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "xPosition": 1,
      "yPosition": 1,
      "id": "44018834-86bf-4109-8061-afe3f98733f1",
      "type": "",
      "voicebotResponseId": "",
      "voicebotActionClearValue": {
          "variableNames": [
              ""
          ],
          "voicebotActionId": "",
          "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
      },
      "voicebotActionCollectDTMFDigits": {
          "message": "",
          "variableName": "",
          "numberOfDigits": 1,
          "stopGatherAfterPressKey": "",
          "voicebotActionId": "",
          "nextActionId": "d486a8a3-35f9-42fe-ab16-d9b44786e41b"
      },
      "voicebotActionCollectSpeechResponse": {
          "message": "",
          "variableName": "",
          "lowSTTConfidenceMessage": "",
          "lowSTTConfidenceRepeatTimes": 1,
          "isConfirmationRequired": true,
          "confirmationMessage": "",
          "confirmationText": "",
          "confirmationKey": "",
          "voicebotActionId": "",
          "actionIdWhenLowSTTConfidence": "eefe4538-bec3-47ef-89ea-879b59a16941",
          "nextActionId": "33d7d509-15e0-4366-a5e0-373a0156b491"
      },
      "voicebotActionCondition": {
          "otherCaseActionId": "7396de03-33b3-4358-be0c-5c1b243d6950",
          "voicebotActionId": "",
          "voicebotActionConditionCases": [
              {
                  "logicalExpression": "",
                  "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
                  "conditionExpressionType": "",
                  "voicebotActionId": "",
                  "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
                  "order": 1,
                  "voicebotActionConditionCaseConditions": [
                      {
                          "voicebotActionConditionCaseId": "",
                          "order": 1,
                          "operator": "",
                          "fieldName": "{!Variable.Name}",
                          "value": "",
                          "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
                      }
                  ]
              }
          ]
      },
      "voicebotActionEndCall": {
          "voicebotActionId": ""
      },
      "voicebotActionGoToIntent": {
          "intentId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
          "voicebotActionId": ""
      },
      "voicebotActionIVRMenu": {
          "voicebotActionId": "",
          "actionIdWhenInvalidInput": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
          "message": "",
          "invalidInputMessage": "",
          "invalidInputRepeatTime": 1,
          "voicebotActionIVRMenuOptions": [
              {
                  "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
                  "voicebotActionId": "",
                  "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
                  "text": "",
                  "key": "",
                  "order": 1
              }
          ]
      },
      "voicebotActionPlayAudio": {
          "voicebotActionId": "",
          "nextActionId": "a1e714d7-4507-4879-b9d7-b5efb1643a49",
          "audioPath": "",
          "name": ""
      },
      "voicebotActionPlayText": {
          "voicebotActionId": "",
          "nextActionId": "4e6b30bd-19fe-4041-bcdb-77fff0eb0d5c",
          "message": ""
      },
      "voicebotActionSetVariableValue": {
          "variableName": "",
          "value": "",
          "nextActionId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
          "voicebotActionId": ""
      },
      "voicebotActionStart": {
          "voicebotActionId": "",
          "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
      },
      "voicebotActionTransferCall": {
          "voicebotActionId": "",
          "actionIdWhenTransferFailed": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
          "transferTo": ""
      },
      "voicebotActionWebhook": {
          "ifSendChatTranscript": true,
          "url": "",
          "voicebotActionId": "",
          "otherResponseToActionId": "64760a4e-d78e-4f7c-961d-fcbcb0cd9ea7",
          "additionalPostBody": "",
          "voicebotActionWebhookHeaders": [
              {
                  "value": "",
                  "id": "44018834-86bf-4109-8061-afe3f98733f1",
                  "order": 1,
                  "key": "",
                  "voicebotActionId": ""
              }
          ],
          "voicebotActionWebhookResponseCodeToActions": [
              {
                  "responseCode": "",
                  "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
                  "order": 1,
                  "id": "44018834-86bf-4109-8061-afe3f98733f1",
                  "voicebotActionId": ""
              }
          ],
          "voicebotActionWebhookResponseToVariables": [
              {
                  "voicebotActionId": "",
                  "order": 1,
                  "id": "44018834-86bf-4109-8061-afe3f98733f1",
                  "responseKey": "",
                  "variableName": ""
              }
          ]
      }
  }
] 

Get a single VoiceBot Action

GET voicebot/voicebotActions/{id}

  • Parameters:

NameTypeinRequiredDescription
includestringquerynoAllowed values are voicebotActionClearValue, voicebotActionCollectDTMFDigits, voicebotActionCollectSpeechResponse, voicebotActionCondition, voicebotActionEndCall, voicebotActionGoToIntent, voicebotActionIVRMenu, voicebotActionPlayAudio, voicebotActionPlayText, voicebotActionSetVariableValue, voicebotActionStart, voicebotActionTransferCall, voicebotActionWebhook.
  • Response:

VoiceBot Action

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "xPosition": 1,
  "yPosition": 1,
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "type": "",
  "voicebotResponseId": "",
  "voicebotActionClearValue": {
      "variableNames": [
          ""
      ],
      "voicebotActionId": "",
      "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
  },
  "voicebotActionCollectDTMFDigits": {
      "message": "",
      "variableName": "",
      "numberOfDigits": 1,
      "stopGatherAfterPressKey": "",
      "voicebotActionId": "",
      "nextActionId": "d486a8a3-35f9-42fe-ab16-d9b44786e41b"
  },
  "voicebotActionCollectSpeechResponse": {
      "message": "",
      "variableName": "",
      "lowSTTConfidenceMessage": "",
      "lowSTTConfidenceRepeatTimes": 1,
      "isConfirmationRequired": true,
      "confirmationMessage": "",
      "confirmationText": "",
      "confirmationKey": "",
      "voicebotActionId": "",
      "actionIdWhenLowSTTConfidence": "eefe4538-bec3-47ef-89ea-879b59a16941",
      "nextActionId": "33d7d509-15e0-4366-a5e0-373a0156b491"
  },
  "voicebotActionCondition": {
      "otherCaseActionId": "7396de03-33b3-4358-be0c-5c1b243d6950",
      "voicebotActionId": "",
      "voicebotActionConditionCases": [
          {
              "logicalExpression": "",
              "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
              "conditionExpressionType": "",
              "voicebotActionId": "",
              "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
              "order": 1,
              "voicebotActionConditionCaseConditions": [
                  {
                      "voicebotActionConditionCaseId": "",
                      "order": 1,
                      "operator": "",
                      "fieldName": "{!Variable.Name}",
                      "value": "",
                      "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
                  }
              ]
          }
      ]
  },
  "voicebotActionEndCall": {
      "voicebotActionId": ""
  },
  "voicebotActionGoToIntent": {
      "intentId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
      "voicebotActionId": ""
  },
  "voicebotActionIVRMenu": {
      "voicebotActionId": "",
      "actionIdWhenInvalidInput": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
      "message": "",
      "invalidInputMessage": "",
      "invalidInputRepeatTime": 1,
      "voicebotActionIVRMenuOptions": [
          {
              "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
              "voicebotActionId": "",
              "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
              "text": "",
              "key": "",
              "order": 1
          }
      ]
  },
  "voicebotActionPlayAudio": {
      "voicebotActionId": "",
      "nextActionId": "a1e714d7-4507-4879-b9d7-b5efb1643a49",
      "audioPath": "",
      "name": ""
  },
  "voicebotActionPlayText": {
      "voicebotActionId": "",
      "nextActionId": "4e6b30bd-19fe-4041-bcdb-77fff0eb0d5c",
      "message": ""
  },
  "voicebotActionSetVariableValue": {
      "variableName": "",
      "value": "",
      "nextActionId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
      "voicebotActionId": ""
  },
  "voicebotActionStart": {
      "voicebotActionId": "",
      "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
  },
  "voicebotActionTransferCall": {
      "voicebotActionId": "",
      "actionIdWhenTransferFailed": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
      "transferTo": ""
  },
  "voicebotActionWebhook": {
      "ifSendChatTranscript": true,
      "url": "",
      "voicebotActionId": "",
      "otherResponseToActionId": "64760a4e-d78e-4f7c-961d-fcbcb0cd9ea7",
      "additionalPostBody": "",
      "voicebotActionWebhookHeaders": [
          {
              "value": "",
              "id": "44018834-86bf-4109-8061-afe3f98733f1",
              "order": 1,
              "key": "",
              "voicebotActionId": ""
          }
      ],
      "voicebotActionWebhookResponseCodeToActions": [
          {
              "responseCode": "",
              "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
              "order": 1,
              "id": "44018834-86bf-4109-8061-afe3f98733f1",
              "voicebotActionId": ""
          }
      ],
      "voicebotActionWebhookResponseToVariables": [
          {
              "voicebotActionId": "",
              "order": 1,
              "id": "44018834-86bf-4109-8061-afe3f98733f1",
              "responseKey": "",
              "variableName": ""
          }
      ]
  }
} 

Create a new VoiceBot Action

POST voicebot/voicebotActions

  • Parameters:

NameTypeinRequiredDescription
xPositionintegerbodynoXposition represents the coordinate value of x.
yPositionintegerbodynoYposition represents the coordinate value of Y.
typeenumbodyyesAllowed values are voicebotActionStart, voicebotActionPlayText, voicebotActionPlayAudio, voicebotActionIVRMenu, voicebotActionCallerAuthentication, voicebotActionEndCall, voicebotActionTransferCall, voicebotActionWebhook, voicebotActionCollectDTMFDigits, voicebotActionCollectSpeechResponse, voicebotActionGoToIntent, voicebotActionCondition, voicebotActionSetVariableValue, voicebotActionClearValue.
voicebotResponseIdguidbodyyesId of the voicebot response.
voicebotActionClearValuevoicebotActionClearValuebodynoReference to Voice Bot Action Clear Value.
voicebotActionCollectDTMFDigitsvoicebotActionCollectDTMFDigitsbodynoReference to Voice Bot Action Collect DTMF Digits.
voicebotActionCollectSpeechResponsevoicebotActionCollectSpeechResponsebodynoReference to Voice Bot Action Collect Speech Response.
voicebotActionConditionvoicebotActionConditionbodynoReference to Voicebot Action Condition.
voicebotActionEndCallvoicebotActionEndCallbodynoReference to Voicebot Action End Call.
voicebotActionGoToIntentvoicebotActionGoToIntentbodynoReference to Voicebot Action Go To Intent.
voicebotActionIVRMenuvoicebotActionIVRMenubodynoReference to Voicebot Action IVR Menu.
voicebotActionPlayAudiovoicebotActionPlayAudiobodynoReference to Voicebot Action Play Audio.
voicebotActionPlayTextvoicebotActionPlayTextbodynoReference to Voicebot Action Play Text.
voicebotActionSetVariableValuevoicebotActionSetVariableValuebodynoReference to Voicebot Action Set Variable Value.
voicebotActionStartvoicebotActionStartbodynoReference to Voicebot Action Start.
voicebotActionTransferCallvoicebotActionTransferCallbodynoReference to Voicebot Action Transfer Call.
voicebotActionWebhookvoicebotActionWebhookbodynoReference to Voicebot Action Webhook.
  • Response:

VoiceBot Action

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"xPosition":1,"yPosition":1,"type":"","voicebotResponseId":"","voicebotActionClearValue":{"variableNames":[""],"nextActionId":"f526f2fc-49a6-4e20-b954-e0d22824d017"},"voicebotActionCollectDTMFDigits":{"message":"","variableName":"","numberOfDigits":1,"stopGatherAfterPressKey":"","nextActionId":"d486a8a3-35f9-42fe-ab16-d9b44786e41b"},"voicebotActionCollectSpeechResponse":{"message":"","variableName":"","lowSTTConfidenceMessage":"","lowSTTConfidenceRepeatTimes":1,"isConfirmationRequired":true,"confirmationMessage":"","confirmationText":"","confirmationKey":"","actionIdWhenLowSTTConfidence":"eefe4538-bec3-47ef-89ea-879b59a16941","nextActionId":"33d7d509-15e0-4366-a5e0-373a0156b491"},"voicebotActionCondition":{"otherCaseActionId":"7396de03-33b3-4358-be0c-5c1b243d6950","voicebotActionConditionCases":[{"logicalExpression":"","goToActionId":"28593b3e-26a6-46af-bb2b-b8919b30ce39","conditionExpressionType":"","order":1,"voicebotActionConditionCaseConditions":[{"order":1,"operator":"","fieldName":"{!Variable.Name}","value":""}]}]},"voicebotActionEndCall":{},"voicebotActionGoToIntent":{"intentId":"ffa760a6-def3-4517-a399-49a5b0fb169e"},"voicebotActionIVRMenu":{"actionIdWhenInvalidInput":"9ffce41d-260c-4df0-a0e7-95136c4fadf2","message":"","invalidInputMessage":"","invalidInputRepeatTime":1,"voicebotActionIVRMenuOptions":[{"nextActionId":"6c2be44f-c391-4454-8ebe-8d3503905e5a","text":"","key":"","order":1}]},"voicebotActionPlayAudio":{"nextActionId":"a1e714d7-4507-4879-b9d7-b5efb1643a49","audioPath":"","name":""},"voicebotActionPlayText":{"nextActionId":"4e6b30bd-19fe-4041-bcdb-77fff0eb0d5c","message":""},"voicebotActionSetVariableValue":{"variableName":"","value":"","nextActionId":"ffa760a6-def3-4517-a399-49a5b0fb169e"},"voicebotActionStart":{"nextActionId":"f526f2fc-49a6-4e20-b954-e0d22824d017"},"voicebotActionTransferCall":{"actionIdWhenTransferFailed":"9ffce41d-260c-4df0-a0e7-95136c4fadf2","transferTo":""},"voicebotActionWebhook":{"ifSendChatTranscript":true,"url":"","otherResponseToActionId":"64760a4e-d78e-4f7c-961d-fcbcb0cd9ea7","additionalPostBody":"","voicebotActionWebhookHeaders":[{"value":"","order":1,"key":""}],"voicebotActionWebhookResponseCodeToActions":[{"responseCode":"","nextActionId":"44018834-86bf-4109-8061-afe3f98733f1","order":1}],"voicebotActionWebhookResponseToVariables":[{"order":1,"responseKey":"","variableName":""}]}}' 

Response:

HTTP/1.1 201 Created

{
  "xPosition": 1,
  "yPosition": 1,
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "type": "",
  "voicebotResponseId": "",
  "voicebotActionClearValue": {
      "variableNames": [
          ""
      ],
      "voicebotActionId": "",
      "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
  },
  "voicebotActionCollectDTMFDigits": {
      "message": "",
      "variableName": "",
      "numberOfDigits": 1,
      "stopGatherAfterPressKey": "",
      "voicebotActionId": "",
      "nextActionId": "d486a8a3-35f9-42fe-ab16-d9b44786e41b"
  },
  "voicebotActionCollectSpeechResponse": {
      "message": "",
      "variableName": "",
      "lowSTTConfidenceMessage": "",
      "lowSTTConfidenceRepeatTimes": 1,
      "isConfirmationRequired": true,
      "confirmationMessage": "",
      "confirmationText": "",
      "confirmationKey": "",
      "voicebotActionId": "",
      "actionIdWhenLowSTTConfidence": "eefe4538-bec3-47ef-89ea-879b59a16941",
      "nextActionId": "33d7d509-15e0-4366-a5e0-373a0156b491"
  },
  "voicebotActionCondition": {
      "otherCaseActionId": "7396de03-33b3-4358-be0c-5c1b243d6950",
      "voicebotActionId": "",
      "voicebotActionConditionCases": [
          {
              "logicalExpression": "",
              "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
              "conditionExpressionType": "",
              "voicebotActionId": "",
              "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
              "order": 1,
              "voicebotActionConditionCaseConditions": [
                  {
                      "voicebotActionConditionCaseId": "",
                      "order": 1,
                      "operator": "",
                      "fieldName": "{!Variable.Name}",
                      "value": "",
                      "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
                  }
              ]
          }
      ]
  },
  "voicebotActionEndCall": {
      "voicebotActionId": ""
  },
  "voicebotActionGoToIntent": {
      "intentId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
      "voicebotActionId": ""
  },
  "voicebotActionIVRMenu": {
      "voicebotActionId": "",
      "actionIdWhenInvalidInput": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
      "message": "",
      "invalidInputMessage": "",
      "invalidInputRepeatTime": 1,
      "voicebotActionIVRMenuOptions": [
          {
              "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
              "voicebotActionId": "",
              "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
              "text": "",
              "key": "",
              "order": 1
          }
      ]
  },
  "voicebotActionPlayAudio": {
      "voicebotActionId": "",
      "nextActionId": "a1e714d7-4507-4879-b9d7-b5efb1643a49",
      "audioPath": "",
      "name": ""
  },
  "voicebotActionPlayText": {
      "voicebotActionId": "",
      "nextActionId": "4e6b30bd-19fe-4041-bcdb-77fff0eb0d5c",
      "message": ""
  },
  "voicebotActionSetVariableValue": {
      "variableName": "",
      "value": "",
      "nextActionId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
      "voicebotActionId": ""
  },
  "voicebotActionStart": {
      "voicebotActionId": "",
      "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
  },
  "voicebotActionTransferCall": {
      "voicebotActionId": "",
      "actionIdWhenTransferFailed": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
      "transferTo": ""
  },
  "voicebotActionWebhook": {
      "ifSendChatTranscript": true,
      "url": "",
      "voicebotActionId": "",
      "otherResponseToActionId": "64760a4e-d78e-4f7c-961d-fcbcb0cd9ea7",
      "additionalPostBody": "",
      "voicebotActionWebhookHeaders": [
          {
              "value": "",
              "id": "44018834-86bf-4109-8061-afe3f98733f1",
              "order": 1,
              "key": "",
              "voicebotActionId": ""
          }
      ],
      "voicebotActionWebhookResponseCodeToActions": [
          {
              "responseCode": "",
              "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
              "order": 1,
              "id": "44018834-86bf-4109-8061-afe3f98733f1",
              "voicebotActionId": ""
          }
      ],
      "voicebotActionWebhookResponseToVariables": [
          {
              "voicebotActionId": "",
              "order": 1,
              "id": "44018834-86bf-4109-8061-afe3f98733f1",
              "responseKey": "",
              "variableName": ""
          }
      ]
  }
} 

Update the VoiceBot Action

PUT voicebot/voicebotActions/{id}

  • Parameters:

NameTypeinRequiredDescription
xPositionintegerbodynoXposition represents the coordinate value of x.
yPositionintegerbodynoYposition represents the coordinate value of Y.
typeenumbodyyesAllowed values are voicebotActionStart, voicebotActionPlayText, voicebotActionPlayAudio, voicebotActionIVRMenu, voicebotActionCallerAuthentication, voicebotActionEndCall, voicebotActionTransferCall, voicebotActionWebhook, voicebotActionCollectDTMFDigits, voicebotActionCollectSpeechResponse, voicebotActionGoToIntent, voicebotActionCondition, voicebotActionSetVariableValue, voicebotActionClearValue.
voicebotResponseIdguidbodyyesId of the voicebot response.
voicebotActionClearValuevoicebotActionClearValuebodynoReference to Voice Bot Action Clear Value.
voicebotActionCollectDTMFDigitsvoicebotActionCollectDTMFDigitsbodynoReference to Voice Bot Action Collect DTMF Digits.
voicebotActionCollectSpeechResponsevoicebotActionCollectSpeechResponsebodynoReference to Voice Bot Action Collect Speech Response.
voicebotActionConditionvoicebotActionConditionbodynoReference to Voicebot Action Condition.
voicebotActionEndCallvoicebotActionEndCallbodynoReference to Voicebot Action End Call.
voicebotActionGoToIntentvoicebotActionGoToIntentbodynoReference to Voicebot Action Go To Intent.
voicebotActionIVRMenuvoicebotActionIVRMenubodynoReference to Voicebot Action IVR Menu.
voicebotActionPlayAudiovoicebotActionPlayAudiobodynoReference to Voicebot Action Play Audio.
voicebotActionPlayTextvoicebotActionPlayTextbodynoReference to Voicebot Action Play Text.
voicebotActionSetVariableValuevoicebotActionSetVariableValuebodynoReference to Voicebot Action Set Variable Value.
voicebotActionStartvoicebotActionStartbodynoReference to Voicebot Action Start.
voicebotActionTransferCallvoicebotActionTransferCallbodynoReference to Voicebot Action Transfer Call.
voicebotActionWebhookvoicebotActionWebhookbodynoReference to Voicebot Action Webhook.
  • Response:

VoiceBot Action

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"xPosition":1,"yPosition":1,"type":"","voicebotResponseId":"","voicebotActionClearValue":{"variableNames":[""],"nextActionId":"f526f2fc-49a6-4e20-b954-e0d22824d017"},"voicebotActionCollectDTMFDigits":{"message":"","variableName":"","numberOfDigits":1,"stopGatherAfterPressKey":"","nextActionId":"d486a8a3-35f9-42fe-ab16-d9b44786e41b"},"voicebotActionCollectSpeechResponse":{"message":"","variableName":"","lowSTTConfidenceMessage":"","lowSTTConfidenceRepeatTimes":1,"isConfirmationRequired":true,"confirmationMessage":"","confirmationText":"","confirmationKey":"","actionIdWhenLowSTTConfidence":"eefe4538-bec3-47ef-89ea-879b59a16941","nextActionId":"33d7d509-15e0-4366-a5e0-373a0156b491"},"voicebotActionCondition":{"otherCaseActionId":"7396de03-33b3-4358-be0c-5c1b243d6950","voicebotActionConditionCases":[{"logicalExpression":"","goToActionId":"28593b3e-26a6-46af-bb2b-b8919b30ce39","conditionExpressionType":"","order":1,"voicebotActionConditionCaseConditions":[{"order":1,"operator":"","fieldName":"{!Variable.Name}","value":""}]}]},"voicebotActionEndCall":{},"voicebotActionGoToIntent":{"intentId":"ffa760a6-def3-4517-a399-49a5b0fb169e"},"voicebotActionIVRMenu":{"actionIdWhenInvalidInput":"9ffce41d-260c-4df0-a0e7-95136c4fadf2","message":"","invalidInputMessage":"","invalidInputRepeatTime":1,"voicebotActionIVRMenuOptions":[{"nextActionId":"6c2be44f-c391-4454-8ebe-8d3503905e5a","text":"","key":"","order":1}]},"voicebotActionPlayAudio":{"nextActionId":"a1e714d7-4507-4879-b9d7-b5efb1643a49","audioPath":"","name":""},"voicebotActionPlayText":{"nextActionId":"4e6b30bd-19fe-4041-bcdb-77fff0eb0d5c","message":""},"voicebotActionSetVariableValue":{"variableName":"","value":"","nextActionId":"ffa760a6-def3-4517-a399-49a5b0fb169e"},"voicebotActionStart":{"nextActionId":"f526f2fc-49a6-4e20-b954-e0d22824d017"},"voicebotActionTransferCall":{"actionIdWhenTransferFailed":"9ffce41d-260c-4df0-a0e7-95136c4fadf2","transferTo":""},"voicebotActionWebhook":{"ifSendChatTranscript":true,"url":"","otherResponseToActionId":"64760a4e-d78e-4f7c-961d-fcbcb0cd9ea7","additionalPostBody":"","voicebotActionWebhookHeaders":[{"value":"","order":1,"key":""}],"voicebotActionWebhookResponseCodeToActions":[{"responseCode":"","nextActionId":"44018834-86bf-4109-8061-afe3f98733f1","order":1}],"voicebotActionWebhookResponseToVariables":[{"order":1,"responseKey":"","variableName":""}]}}' 

Response:

HTTP/1.1 200 OK

{
  "xPosition": 1,
  "yPosition": 1,
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "type": "",
  "voicebotResponseId": "",
  "voicebotActionClearValue": {
      "variableNames": [
          ""
      ],
      "voicebotActionId": "",
      "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
  },
  "voicebotActionCollectDTMFDigits": {
      "message": "",
      "variableName": "",
      "numberOfDigits": 1,
      "stopGatherAfterPressKey": "",
      "voicebotActionId": "",
      "nextActionId": "d486a8a3-35f9-42fe-ab16-d9b44786e41b"
  },
  "voicebotActionCollectSpeechResponse": {
      "message": "",
      "variableName": "",
      "lowSTTConfidenceMessage": "",
      "lowSTTConfidenceRepeatTimes": 1,
      "isConfirmationRequired": true,
      "confirmationMessage": "",
      "confirmationText": "",
      "confirmationKey": "",
      "voicebotActionId": "",
      "actionIdWhenLowSTTConfidence": "eefe4538-bec3-47ef-89ea-879b59a16941",
      "nextActionId": "33d7d509-15e0-4366-a5e0-373a0156b491"
  },
  "voicebotActionCondition": {
      "otherCaseActionId": "7396de03-33b3-4358-be0c-5c1b243d6950",
      "voicebotActionId": "",
      "voicebotActionConditionCases": [
          {
              "logicalExpression": "",
              "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
              "conditionExpressionType": "",
              "voicebotActionId": "",
              "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
              "order": 1,
              "voicebotActionConditionCaseConditions": [
                  {
                      "voicebotActionConditionCaseId": "",
                      "order": 1,
                      "operator": "",
                      "fieldName": "{!Variable.Name}",
                      "value": "",
                      "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
                  }
              ]
          }
      ]
  },
  "voicebotActionEndCall": {
      "voicebotActionId": ""
  },
  "voicebotActionGoToIntent": {
      "intentId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
      "voicebotActionId": ""
  },
  "voicebotActionIVRMenu": {
      "voicebotActionId": "",
      "actionIdWhenInvalidInput": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
      "message": "",
      "invalidInputMessage": "",
      "invalidInputRepeatTime": 1,
      "voicebotActionIVRMenuOptions": [
          {
              "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
              "voicebotActionId": "",
              "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
              "text": "",
              "key": "",
              "order": 1
          }
      ]
  },
  "voicebotActionPlayAudio": {
      "voicebotActionId": "",
      "nextActionId": "a1e714d7-4507-4879-b9d7-b5efb1643a49",
      "audioPath": "",
      "name": ""
  },
  "voicebotActionPlayText": {
      "voicebotActionId": "",
      "nextActionId": "4e6b30bd-19fe-4041-bcdb-77fff0eb0d5c",
      "message": ""
  },
  "voicebotActionSetVariableValue": {
      "variableName": "",
      "value": "",
      "nextActionId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
      "voicebotActionId": ""
  },
  "voicebotActionStart": {
      "voicebotActionId": "",
      "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
  },
  "voicebotActionTransferCall": {
      "voicebotActionId": "",
      "actionIdWhenTransferFailed": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
      "transferTo": ""
  },
  "voicebotActionWebhook": {
      "ifSendChatTranscript": true,
      "url": "",
      "voicebotActionId": "",
      "otherResponseToActionId": "64760a4e-d78e-4f7c-961d-fcbcb0cd9ea7",
      "additionalPostBody": "",
      "voicebotActionWebhookHeaders": [
          {
              "value": "",
              "id": "44018834-86bf-4109-8061-afe3f98733f1",
              "order": 1,
              "key": "",
              "voicebotActionId": ""
          }
      ],
      "voicebotActionWebhookResponseCodeToActions": [
          {
              "responseCode": "",
              "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
              "order": 1,
              "id": "44018834-86bf-4109-8061-afe3f98733f1",
              "voicebotActionId": ""
          }
      ],
      "voicebotActionWebhookResponseToVariables": [
          {
              "voicebotActionId": "",
              "order": 1,
              "id": "44018834-86bf-4109-8061-afe3f98733f1",
              "responseKey": "",
              "variableName": ""
          }
      ]
  }
} 

Remove the VoiceBot Action

DELETE voicebot/voicebotActions/{id}

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voice Bot Action Clear Value JSON Format

Voice Bot Action Clear Value is represented as simple flat JSON objects with the following keys:

NameTypeDescription
variableNamesstring []
voicebotActionIdguidId of the voicebot action.
nextActionIdguidId of the next voicebot action.

Get a single Voice Bot Action Clear Value

GET voicebot/voicebotActions/{id}/voicebotActionClearValue

  • Parameters:

No Parameters

  • Response:

Voice Bot Action Clear Value

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionClearValue \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "variableNames": [
      ""
  ],
  "voicebotActionId": "",
  "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
} 

Update the Voice Bot Action Clear Value

PUT voicebot/voicebotActions/{id}/voicebotActionClearValue

  • Parameters:

NameTypeinRequiredDescription
variableNamesstring []bodyno
nextActionIdguidbodynoId of the next voicebot action.
  • Response:

Voice Bot Action Clear Value

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionClearValue \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"variableNames":[""],"nextActionId":"f526f2fc-49a6-4e20-b954-e0d22824d017"}' 

Response:

HTTP/1.1 200 OK

{
  "variableNames": [
      ""
  ],
  "voicebotActionId": "",
  "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
} 

Remove the Voice Bot Action Clear Value

DELETE voicebot/voicebotActions/{id}/voicebotActionClearValue

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionClearValue \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voice Bot Action Collect DTMF Digits JSON Format

Voice Bot Action Collect DTMF Digits is represented as simple flat JSON objects with the following keys:

NameTypeDescription
messagestringPure text.
variableNamestringRequired. The Variable used to save the DTMF digit input.
numberOfDigitsintegerThe number of digits entered by the caller in dialer. Default: Not sure.
stopGatherAfterPressKeystringAvailable when Number of Digits is Not sure.
voicebotActionIdguidId of the voicebot action.
nextActionIdguidId of the next voicebot action.

Get a single Voice Bot Action Collect DTMF Digits

GET voicebot/voicebotActions/{id}/voicebotActionCollectDTMFDigits

  • Parameters:

No Parameters

  • Response:

Voice Bot Action Collect DTMF Digits

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionCollectDTMFDigits \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "message": "",
  "variableName": "",
  "numberOfDigits": 1,
  "stopGatherAfterPressKey": "",
  "voicebotActionId": "",
  "nextActionId": "d486a8a3-35f9-42fe-ab16-d9b44786e41b"
} 

Update the Voice Bot Action Collect DTMF Digits

PUT voicebot/voicebotActions/{id}/voicebotActionCollectDTMFDigits

  • Parameters:

NameTypeinRequiredDescription
messagestringbodynoPure text.
variableNamestringbodyyesRequired. The Variable used to save the DTMF digit input.
numberOfDigitsintegerbodynoThe number of digits entered by the caller in dialer. Default: Not sure.
stopGatherAfterPressKeystringbodynoAvailable when Number of Digits is Not sure.
nextActionIdguidbodynoId of the next voicebot action.
  • Response:

Voice Bot Action Collect DTMF Digits

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionCollectDTMFDigits \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"message":"","variableName":"","numberOfDigits":1,"stopGatherAfterPressKey":"","nextActionId":"d486a8a3-35f9-42fe-ab16-d9b44786e41b"}' 

Response:

HTTP/1.1 200 OK

{
  "message": "",
  "variableName": "",
  "numberOfDigits": 1,
  "stopGatherAfterPressKey": "",
  "voicebotActionId": "",
  "nextActionId": "d486a8a3-35f9-42fe-ab16-d9b44786e41b"
} 

Remove the Voice Bot Action Collect DTMF Digits

DELETE voicebot/voicebotActions/{id}/voicebotActionCollectDTMFDigits

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionCollectDTMFDigits \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voice Bot Action Collect Speech Response JSON Format

Voice Bot Action Collect Speech Response is represented as simple flat JSON objects with the following keys:

NameTypeDescription
messagestringPure text.
variableNamestringRequired. The Variable used to save the caller speech response.
lowSTTConfidenceMessagestringWe set a default STT Confidence Score for all Voice Bots in system level, customers cannot change in this version.
lowSTTConfidenceRepeatTimesintegerAvailable value: 0 - 9. Default: 2.
isConfirmationRequiredboolIf the bot will reply to the answer to the caller to confirm.
confirmationMessagestringOnly available when Is Confirmation Required is “true”. Support Dynamic Info.
confirmationTextstringVisitor can speak the text to confirm the input. This text will not be read to visitors.
confirmationKeystringVisitor can press the key to confirm.
voicebotActionIdguidId of the voicebot action.
actionIdWhenLowSTTConfidenceguidCan be blank.
nextActionIdguidId of the next voicebot action.

Get a single Voice Bot Action Collect Speech Response

GET voicebot/voicebotActions/{id}/voicebotActionCollectSpeechResponse

  • Parameters:

No Parameters

  • Response:

Voice Bot Action Collect Speech Response

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionCollectSpeechResponse \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "message": "",
  "variableName": "",
  "lowSTTConfidenceMessage": "",
  "lowSTTConfidenceRepeatTimes": 1,
  "isConfirmationRequired": true,
  "confirmationMessage": "",
  "confirmationText": "",
  "confirmationKey": "",
  "voicebotActionId": "",
  "actionIdWhenLowSTTConfidence": "eefe4538-bec3-47ef-89ea-879b59a16941",
  "nextActionId": "33d7d509-15e0-4366-a5e0-373a0156b491"
} 

Update the Voice Bot Action Collect Speech Response

PUT voicebot/voicebotActions/{id}/voicebotActionCollectSpeechResponse

  • Parameters:

NameTypeinRequiredDescription
messagestringbodynoPure text.
variableNamestringbodyyesRequired. The Variable used to save the caller speech response.
lowSTTConfidenceMessagestringbodynoWe set a default STT Confidence Score for all Voice Bots in system level, customers cannot change in this version.
lowSTTConfidenceRepeatTimesintegerbodynoAvailable value: 0 - 9. Default: 2.
isConfirmationRequiredboolbodynoIf the bot will reply to the answer to the caller to confirm.
confirmationMessagestringbodynoOnly available when Is Confirmation Required is “true”. Support Dynamic Info.
confirmationTextstringbodynoVisitor can speak the text to confirm the input. This text will not be read to visitors.
confirmationKeystringbodynoVisitor can press the key to confirm.
actionIdWhenLowSTTConfidenceguidbodynoCan be blank.
nextActionIdguidbodynoId of the next voicebot action.
  • Response:

Voice Bot Action Collect Speech Response

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionCollectSpeechResponse \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"message":"","variableName":"","lowSTTConfidenceMessage":"","lowSTTConfidenceRepeatTimes":1,"isConfirmationRequired":true,"confirmationMessage":"","confirmationText":"","confirmationKey":"","actionIdWhenLowSTTConfidence":"eefe4538-bec3-47ef-89ea-879b59a16941","nextActionId":"33d7d509-15e0-4366-a5e0-373a0156b491"}' 

Response:

HTTP/1.1 200 OK

{
  "message": "",
  "variableName": "",
  "lowSTTConfidenceMessage": "",
  "lowSTTConfidenceRepeatTimes": 1,
  "isConfirmationRequired": true,
  "confirmationMessage": "",
  "confirmationText": "",
  "confirmationKey": "",
  "voicebotActionId": "",
  "actionIdWhenLowSTTConfidence": "eefe4538-bec3-47ef-89ea-879b59a16941",
  "nextActionId": "33d7d509-15e0-4366-a5e0-373a0156b491"
} 

Remove the Voice Bot Action Collect Speech Response

DELETE voicebot/voicebotActions/{id}/voicebotActionCollectSpeechResponse

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionCollectSpeechResponse \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Condition JSON Format

Voicebot Action Condition is represented as simple flat JSON objects with the following keys:

NameTypeDescription
otherCaseActionIdguidId of the voicebot action condition case.
voicebotActionIdguidId of the voicebot action.
voicebotActionConditionCases[voicebotActionConditionCases]Reference to Voicebot Action Condition Case.

Get a single Voicebot Action Condition

GET voicebot/voicebotActions/{id}/voicebotActionCondition

  • Parameters:

NameTypeinRequiredDescription
includestringquerynoAllowed values are "voicebotActionConditionCase", "voicebotActionConditionCaseCondition".
  • Response:

Voicebot Action Condition

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionCondition \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "otherCaseActionId": "7396de03-33b3-4358-be0c-5c1b243d6950",
  "voicebotActionId": "",
  "voicebotActionConditionCases": [
      {
          "logicalExpression": "",
          "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
          "conditionExpressionType": "",
          "voicebotActionId": "",
          "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
          "order": 1,
          "voicebotActionConditionCaseConditions": [
              {
                  "voicebotActionConditionCaseId": "",
                  "order": 1,
                  "operator": "",
                  "fieldName": "{!Variable.Name}",
                  "value": "",
                  "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
              }
          ]
      }
  ]
} 

Update the Voicebot Action Condition

PUT voicebot/voicebotActions/{id}/voicebotActionCondition

  • Parameters:

NameTypeinRequiredDescription
otherCaseActionIdguidbodynoId of the voicebot action condition case.
voicebotActionConditionCases[voicebotActionConditionCases]bodynoReference to Voicebot Action Condition Case.
  • Response:

Voicebot Action Condition

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionCondition \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"otherCaseActionId":"7396de03-33b3-4358-be0c-5c1b243d6950","voicebotActionConditionCases":[{"logicalExpression":"","goToActionId":"28593b3e-26a6-46af-bb2b-b8919b30ce39","conditionExpressionType":"","order":1,"voicebotActionConditionCaseConditions":[{"order":1,"operator":"","fieldName":"{!Variable.Name}","value":""}]}]}' 

Response:

HTTP/1.1 200 OK

{
  "otherCaseActionId": "7396de03-33b3-4358-be0c-5c1b243d6950",
  "voicebotActionId": "",
  "voicebotActionConditionCases": [
      {
          "logicalExpression": "",
          "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
          "conditionExpressionType": "",
          "voicebotActionId": "",
          "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
          "order": 1,
          "voicebotActionConditionCaseConditions": [
              {
                  "voicebotActionConditionCaseId": "",
                  "order": 1,
                  "operator": "",
                  "fieldName": "{!Variable.Name}",
                  "value": "",
                  "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
              }
          ]
      }
  ]
} 

Remove the Voicebot Action Condition

DELETE voicebot/voicebotActions/{id}/voicebotActionCondition

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionCondition \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Condition Case JSON Format

Voicebot Action Condition Case is represented as simple flat JSON objects with the following keys:

NameTypeDescription
logicalExpressionstringLogical expression to match the conditions i.e., (1 or 2 or 3) and (4 and 5).
goToActionIdguidId of the voicebot action.
conditionExpressionTypeenumAllowed values are all, any, logicalExpression.
voicebotActionIdguidId of the voicebot action.
idguidId of the voicebot action condition case.
orderintegerOrder of the voicebot action condition case.
voicebotActionConditionCaseConditions[voicebotActionConditionCaseConditions]Reference to Voicebot Action Condition Case Condition.

Get the list of Voicebot Action Condition Cases

GET voicebot/voicebotActionConditionCases

  • Parameters:

NameTypeinRequiredDescription
includestringquerynoAllowed value is voicebotActionConditionCaseCondition.
  • Response:

An array of Voicebot Action Condition Case

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCases \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "logicalExpression": "",
      "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
      "conditionExpressionType": "",
      "voicebotActionId": "",
      "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
      "order": 1,
      "voicebotActionConditionCaseConditions": [
          {
              "voicebotActionConditionCaseId": "",
              "order": 1,
              "operator": "",
              "fieldName": "{!Variable.Name}",
              "value": "",
              "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
          }
      ]
  }
] 

Get a single Voicebot Action Condition Case

GET voicebot/voicebotActionConditionCases/{id}

  • Parameters:

NameTypeinRequiredDescription
includestringquerynoAllowed value is voicebotActionConditionCaseCondition.
  • Response:

Voicebot Action Condition Case

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCases/deef4e3a-932d-4c8e-9c9e-e63419ff8dc4 \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "logicalExpression": "",
  "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
  "conditionExpressionType": "",
  "voicebotActionId": "",
  "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
  "order": 1,
  "voicebotActionConditionCaseConditions": [
      {
          "voicebotActionConditionCaseId": "",
          "order": 1,
          "operator": "",
          "fieldName": "{!Variable.Name}",
          "value": "",
          "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
      }
  ]
} 

Create a new Voicebot Action Condition Case

POST voicebot/voicebotActionConditionCases

  • Parameters:

NameTypeinRequiredDescription
logicalExpressionstringbodynoLogical expression to match the conditions i.e., (1 or 2 or 3) and (4 and 5).
goToActionIdguidbodynoId of the voicebot action.
conditionExpressionTypeenumbodynoAllowed values are all, any, logicalExpression.
voicebotActionIdguidbodynoId of the voicebot action.
orderintegerbodynoOrder of the voicebot action condition case.
voicebotActionConditionCaseConditions[voicebotActionConditionCaseConditions]bodynoReference to Voicebot Action Condition Case Condition.
  • Response:

Voicebot Action Condition Case

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCases \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"logicalExpression":"","goToActionId":"28593b3e-26a6-46af-bb2b-b8919b30ce39","conditionExpressionType":"","voicebotActionId":"","order":1,"voicebotActionConditionCaseConditions":[{"order":1,"operator":"","fieldName":"{!Variable.Name}","value":""}]}' 

Response:

HTTP/1.1 201 Created

{
  "logicalExpression": "",
  "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
  "conditionExpressionType": "",
  "voicebotActionId": "",
  "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
  "order": 1,
  "voicebotActionConditionCaseConditions": [
      {
          "voicebotActionConditionCaseId": "",
          "order": 1,
          "operator": "",
          "fieldName": "{!Variable.Name}",
          "value": "",
          "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
      }
  ]
} 

Update the Voicebot Action Condition Case

PUT voicebot/voicebotActionConditionCases/{id}

  • Parameters:

NameTypeinRequiredDescription
logicalExpressionstringbodynoLogical expression to match the conditions i.e., (1 or 2 or 3) and (4 and 5).
goToActionIdguidbodynoId of the voicebot action.
conditionExpressionTypeenumbodynoAllowed values are all, any, logicalExpression.
voicebotActionIdguidbodynoId of the voicebot action.
orderintegerbodynoOrder of the voicebot action condition case.
voicebotActionConditionCaseConditions[voicebotActionConditionCaseConditions]bodynoReference to Voicebot Action Condition Case Condition.
  • Response:

Voicebot Action Condition Case

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCases/deef4e3a-932d-4c8e-9c9e-e63419ff8dc4 \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"logicalExpression":"","goToActionId":"28593b3e-26a6-46af-bb2b-b8919b30ce39","conditionExpressionType":"","voicebotActionId":"","order":1,"voicebotActionConditionCaseConditions":[{"order":1,"operator":"","fieldName":"{!Variable.Name}","value":""}]}' 

Response:

HTTP/1.1 200 OK

{
  "logicalExpression": "",
  "goToActionId": "28593b3e-26a6-46af-bb2b-b8919b30ce39",
  "conditionExpressionType": "",
  "voicebotActionId": "",
  "id": "deef4e3a-932d-4c8e-9c9e-e63419ff8dc4",
  "order": 1,
  "voicebotActionConditionCaseConditions": [
      {
          "voicebotActionConditionCaseId": "",
          "order": 1,
          "operator": "",
          "fieldName": "{!Variable.Name}",
          "value": "",
          "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
      }
  ]
} 

Remove the Voicebot Action Condition Case

DELETE voicebot/voicebotActionConditionCases/{id}

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCases/deef4e3a-932d-4c8e-9c9e-e63419ff8dc4 \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Condition Case Condition JSON Format

Voicebot Action Condition Case Condition is represented as simple flat JSON objects with the following keys:

NameTypeDescription
voicebotActionConditionCaseIdguidId of the voicebot action condition case.
orderintegerOrder of the voicebot action condition case condition.
operatorenumAllowed values are isNot, isNotEmpty, isEmpty, is, isMoreThan, isOneOf, notContains, regularExpression, contains, isLessThan, isNotIn.
fieldNamestringField name of the rule condition.
nameoperator
{!Visitor.Number of visits}is/isNot/isMoreThan/isLessThan
{!Visitor.Number of chats}is/isNot/isMoreThan/isLessThan
{!Visitor.Current Page URL}is/isNot/contains/notContains/regularExpression
{!Visitor.Referrer URL}is/isNot/contains/notContains/regularExpression
{!Visitor.Landing Page URL}is/isNot/contains/notContains/regularExpression
{!Visitor.Search Engine}is/isNot/contains/notContains/regularExpression
{!Visitor.Search Keywords}is/isNot/contains/notContains/regularExpression
{!Visitor.Country/Region}is/isNot/contains/notContains/regularExpression
{!Visitor.State/Province}is/isNot/contains/notContains/regularExpression
{!Visitor.City}is/isNot/contains/notContains/regularExpression
{!Visitor.Operating System}is/isNot/contains/notContains/regularExpression
{!Visitor.Time Zone}isOneOf/isNotIn
{!Visitor.Language}is/isNot/contains/notContains/regularExpression
{!Visitor.Segmentation}isOneOf/isNotIn
{!Chat.Request Page URL}is/isNot/contains/notContains/regularExpression
{!Custom Variable.Custom Variable Name}
When type is text:is/isNot/contains/notContains/regularExpression

When type is integer or decimal:is/isNot/isMoreThan/isLessThan
valuestringValue of the field name.
idguidId of the voicebot action condition case condition.

Get the list of Voicebot Action Condition Case Conditions

GET voicebot/voicebotActionConditionCaseConditions

  • Parameters:

No Parameters

  • Response:

An array of Voicebot Action Condition Case Condition

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCaseConditions \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "voicebotActionConditionCaseId": "",
      "order": 1,
      "operator": "",
      "fieldName": "{!Variable.Name}",
      "value": "",
      "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
  }
] 

Get a single Voicebot Action Condition Case Condition

GET voicebot/voicebotActionConditionCaseConditions/{id}

  • Parameters:

No Parameters

  • Response:

Voicebot Action Condition Case Condition

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCaseConditions/5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionConditionCaseId": "",
  "order": 1,
  "operator": "",
  "fieldName": "{!Variable.Name}",
  "value": "",
  "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
} 

Create a new Voicebot Action Condition Case Condition

POST voicebot/voicebotActionConditionCaseConditions

  • Parameters:

NameTypeinRequiredDescription
voicebotActionConditionCaseIdguidbodynoId of the voicebot action condition case.
orderintegerbodynoOrder of the voicebot action condition case condition.
operatorenumbodynoAllowed values are isNot, isNotEmpty, isEmpty, is, isMoreThan, isOneOf, notContains, regularExpression, contains, isLessThan, isNotIn.
fieldNamestringbodyyesField name of the rule condition.
nameoperator
{!Visitor.Number of visits}is/isNot/isMoreThan/isLessThan
{!Visitor.Number of chats}is/isNot/isMoreThan/isLessThan
{!Visitor.Current Page URL}is/isNot/contains/notContains/regularExpression
{!Visitor.Referrer URL}is/isNot/contains/notContains/regularExpression
{!Visitor.Landing Page URL}is/isNot/contains/notContains/regularExpression
{!Visitor.Search Engine}is/isNot/contains/notContains/regularExpression
{!Visitor.Search Keywords}is/isNot/contains/notContains/regularExpression
{!Visitor.Country/Region}is/isNot/contains/notContains/regularExpression
{!Visitor.State/Province}is/isNot/contains/notContains/regularExpression
{!Visitor.City}is/isNot/contains/notContains/regularExpression
{!Visitor.Operating System}is/isNot/contains/notContains/regularExpression
{!Visitor.Time Zone}isOneOf/isNotIn
{!Visitor.Language}is/isNot/contains/notContains/regularExpression
{!Visitor.Segmentation}isOneOf/isNotIn
{!Chat.Request Page URL}is/isNot/contains/notContains/regularExpression
{!Custom Variable.Custom Variable Name}
When type is text:is/isNot/contains/notContains/regularExpression

When type is integer or decimal:is/isNot/isMoreThan/isLessThan
valuestringbodynoValue of the field name.
  • Response:

Voicebot Action Condition Case Condition

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCaseConditions \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"voicebotActionConditionCaseId":"","order":1,"operator":"","fieldName":"{!Variable.Name}","value":""}' 

Response:

HTTP/1.1 201 Created

{
  "voicebotActionConditionCaseId": "",
  "order": 1,
  "operator": "",
  "fieldName": "{!Variable.Name}",
  "value": "",
  "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
} 

Update the Voicebot Action Condition Case Condition

PUT voicebot/voicebotActionConditionCaseConditions/{id}

  • Parameters:

NameTypeinRequiredDescription
voicebotActionConditionCaseIdguidbodynoId of the voicebot action condition case.
orderintegerbodynoOrder of the voicebot action condition case condition.
operatorenumbodynoAllowed values are isNot, isNotEmpty, isEmpty, is, isMoreThan, isOneOf, notContains, regularExpression, contains, isLessThan, isNotIn.
fieldNamestringbodyyesField name of the rule condition.
nameoperator
{!Visitor.Number of visits}is/isNot/isMoreThan/isLessThan
{!Visitor.Number of chats}is/isNot/isMoreThan/isLessThan
{!Visitor.Current Page URL}is/isNot/contains/notContains/regularExpression
{!Visitor.Referrer URL}is/isNot/contains/notContains/regularExpression
{!Visitor.Landing Page URL}is/isNot/contains/notContains/regularExpression
{!Visitor.Search Engine}is/isNot/contains/notContains/regularExpression
{!Visitor.Search Keywords}is/isNot/contains/notContains/regularExpression
{!Visitor.Country/Region}is/isNot/contains/notContains/regularExpression
{!Visitor.State/Province}is/isNot/contains/notContains/regularExpression
{!Visitor.City}is/isNot/contains/notContains/regularExpression
{!Visitor.Operating System}is/isNot/contains/notContains/regularExpression
{!Visitor.Time Zone}isOneOf/isNotIn
{!Visitor.Language}is/isNot/contains/notContains/regularExpression
{!Visitor.Segmentation}isOneOf/isNotIn
{!Chat.Request Page URL}is/isNot/contains/notContains/regularExpression
{!Custom Variable.Custom Variable Name}
When type is text:is/isNot/contains/notContains/regularExpression

When type is integer or decimal:is/isNot/isMoreThan/isLessThan
valuestringbodynoValue of the field name.
  • Response:

Voicebot Action Condition Case Condition

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCaseConditions/5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"voicebotActionConditionCaseId":"","order":1,"operator":"","fieldName":"{!Variable.Name}","value":""}' 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionConditionCaseId": "",
  "order": 1,
  "operator": "",
  "fieldName": "{!Variable.Name}",
  "value": "",
  "id": "5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a"
} 

Remove the Voicebot Action Condition Case Condition

DELETE voicebot/voicebotActionConditionCaseConditions/{id}

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionConditionCaseConditions/5b8d5c3a-2f16-4c9f-bfb6-4767d7b0db8a \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action End Call JSON Format

Voicebot Action End Call is represented as simple flat JSON objects with the following keys:

NameTypeDescription
voicebotActionIdguidId of the voicebot action.

Get a single Voicebot Action End Call

GET voicebot/voicebotActions/{id}/voicebotActionEndCall

  • Parameters:

No Parameters

  • Response:

Voicebot Action End Call

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionEndCall \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": ""
} 

Update the Voicebot Action End Call

PUT voicebot/voicebotActions/{id}/voicebotActionEndCall

  • Parameters:

Voicebot Action End Call

  • Response:

Voicebot Action End Call

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionEndCall \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{}' 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": ""
} 

Remove the Voicebot Action End Call

DELETE voicebot/voicebotActions/{id}/voicebotActionEndCall

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionEndCall \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Go To Intent JSON Format

Voicebot Action Go To Intent is represented as simple flat JSON objects with the following keys:

NameTypeDescription
intentIdguidId of the voicebot intent.
voicebotActionIdguidId of the voicebot action.

Get a single Voicebot Action Go To Intent

GET voicebot/voicebotActions/{id}/voicebotActionGoToIntent

  • Parameters:

No Parameters

  • Response:

Voicebot Action Go To Intent

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionGoToIntent \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "intentId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
  "voicebotActionId": ""
} 

Update the Voicebot Action Go To Intent

PUT voicebot/voicebotActions/{id}/voicebotActionGoToIntent

  • Parameters:

NameTypeinRequiredDescription
intentIdguidbodynoId of the voicebot intent.
  • Response:

Voicebot Action Go To Intent

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionGoToIntent \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"intentId":"ffa760a6-def3-4517-a399-49a5b0fb169e"}' 

Response:

HTTP/1.1 200 OK

{
  "intentId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
  "voicebotActionId": ""
} 

Remove the Voicebot Action Go To Intent

DELETE voicebot/voicebotActions/{id}/voicebotActionGoToIntent

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionGoToIntent \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action IVR Menu JSON Format

Voicebot Action IVR Menu is represented as simple flat JSON objects with the following keys:

NameTypeDescription
voicebotActionIdguidId of the voicebot action.
actionIdWhenInvalidInputguidThe action to go to when no valid input for several times.
messagestringThe message sent to visitor before the options.This message will be transferred to voice and read to visitor.
invalidInputMessagestringPlay audio message for invaid input.
invalidInputRepeatTimeintegerHow many times will this IVR Menu repeat if there is valid input.
voicebotActionIVRMenuOptions[voicebotActionIVRMenuOptions]Reference to Voicebot Action IVR Menu Option.

Get a single Voicebot Action IVR Menu

GET voicebot/voicebotActions/{id}/voicebotActionIVRMenu

  • Parameters:

NameTypeinRequiredDescription
includestringquerynoAllowed value is "voicebotActionIVRMenuOption".
  • Response:

Voicebot Action IVR Menu

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionIVRMenu \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "actionIdWhenInvalidInput": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
  "message": "",
  "invalidInputMessage": "",
  "invalidInputRepeatTime": 1,
  "voicebotActionIVRMenuOptions": [
      {
          "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
          "voicebotActionId": "",
          "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
          "text": "",
          "key": "",
          "order": 1
      }
  ]
} 

Update the Voicebot Action IVR Menu

PUT voicebot/voicebotActions/{id}/voicebotActionIVRMenu

  • Parameters:

NameTypeinRequiredDescription
actionIdWhenInvalidInputguidbodynoThe action to go to when no valid input for several times.
messagestringbodynoThe message sent to visitor before the options.This message will be transferred to voice and read to visitor.
invalidInputMessagestringbodynoPlay audio message for invaid input.
invalidInputRepeatTimeintegerbodynoHow many times will this IVR Menu repeat if there is valid input.
voicebotActionIVRMenuOptions[voicebotActionIVRMenuOptions]bodynoReference to Voicebot Action IVR Menu Option.
  • Response:

Voicebot Action IVR Menu

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionIVRMenu \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"actionIdWhenInvalidInput":"9ffce41d-260c-4df0-a0e7-95136c4fadf2","message":"","invalidInputMessage":"","invalidInputRepeatTime":1,"voicebotActionIVRMenuOptions":[{"nextActionId":"6c2be44f-c391-4454-8ebe-8d3503905e5a","text":"","key":"","order":1}]}' 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "actionIdWhenInvalidInput": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
  "message": "",
  "invalidInputMessage": "",
  "invalidInputRepeatTime": 1,
  "voicebotActionIVRMenuOptions": [
      {
          "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
          "voicebotActionId": "",
          "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
          "text": "",
          "key": "",
          "order": 1
      }
  ]
} 

Remove the Voicebot Action IVR Menu

DELETE voicebot/voicebotActions/{id}/voicebotActionIVRMenu

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionIVRMenu \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action IVR Menu Option JSON Format

Voicebot Action IVR Menu Option is represented as simple flat JSON objects with the following keys:

NameTypeDescription
idguidId of the voicebot action IVR menu option.
voicebotActionIdguidId of the voicebot action.
nextActionIdguidId of the next voicebot action.
textstringVisitor can speak the text to choose this option.This text will not be read to visitors.
keystring1, 2, 3, 4, 5, 6, 7, 8, 9, 0,*,#.Each key can only be used once in an IVR menu.Visitor can press the key to choose the option.
orderintegerMust be greater than or equal to 0,the order of the option item, ascending order.

Get the list of Voicebot Action IVR Menu Options

GET voicebot/voicebotActionIVRMenuOptions

  • Parameters:

No Parameters

  • Response:

An array of Voicebot Action IVR Menu Option

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionIVRMenuOptions \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
      "voicebotActionId": "",
      "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
      "text": "",
      "key": "",
      "order": 1
  }
] 

Get a single Voicebot Action IVR Menu Option

GET voicebot/voicebotActionIVRMenuOptions/{id}

  • Parameters:

No Parameters

  • Response:

Voicebot Action IVR Menu Option

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionIVRMenuOptions/d486a8a3-35f9-42fe-ab16-d9b44786e41b \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
  "voicebotActionId": "",
  "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
  "text": "",
  "key": "",
  "order": 1
} 

Create a new Voicebot Action IVR Menu Option

POST voicebot/voicebotActionIVRMenuOptions

  • Parameters:

NameTypeinRequiredDescription
voicebotActionIdguidbodynoId of the voicebot action.
nextActionIdguidbodynoId of the next voicebot action.
textstringbodynoVisitor can speak the text to choose this option.This text will not be read to visitors.
keystringbodyno1, 2, 3, 4, 5, 6, 7, 8, 9, 0,*,#.Each key can only be used once in an IVR menu.Visitor can press the key to choose the option.
orderintegerbodynoMust be greater than or equal to 0,the order of the option item, ascending order.
  • Response:

Voicebot Action IVR Menu Option

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionIVRMenuOptions \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"voicebotActionId":"","nextActionId":"6c2be44f-c391-4454-8ebe-8d3503905e5a","text":"","key":"","order":1}' 

Response:

HTTP/1.1 201 Created

{
  "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
  "voicebotActionId": "",
  "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
  "text": "",
  "key": "",
  "order": 1
} 

Update the Voicebot Action IVR Menu Option

PUT voicebot/voicebotActionIVRMenuOptions/{id}

  • Parameters:

NameTypeinRequiredDescription
voicebotActionIdguidbodynoId of the voicebot action.
nextActionIdguidbodynoId of the next voicebot action.
textstringbodynoVisitor can speak the text to choose this option.This text will not be read to visitors.
keystringbodyno1, 2, 3, 4, 5, 6, 7, 8, 9, 0,*,#.Each key can only be used once in an IVR menu.Visitor can press the key to choose the option.
orderintegerbodynoMust be greater than or equal to 0,the order of the option item, ascending order.
  • Response:

Voicebot Action IVR Menu Option

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionIVRMenuOptions/d486a8a3-35f9-42fe-ab16-d9b44786e41b \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"voicebotActionId":"","nextActionId":"6c2be44f-c391-4454-8ebe-8d3503905e5a","text":"","key":"","order":1}' 

Response:

HTTP/1.1 200 OK

{
  "id": "d486a8a3-35f9-42fe-ab16-d9b44786e41b",
  "voicebotActionId": "",
  "nextActionId": "6c2be44f-c391-4454-8ebe-8d3503905e5a",
  "text": "",
  "key": "",
  "order": 1
} 

Remove the Voicebot Action IVR Menu Option

DELETE voicebot/voicebotActionIVRMenuOptions/{id}

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionIVRMenuOptions/d486a8a3-35f9-42fe-ab16-d9b44786e41b \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Play Audio JSON Format

Voicebot Action Play Audio is represented as simple flat JSON objects with the following keys:

NameTypeDescription
voicebotActionIdguidId of the voicebot action.
nextActionIdguidId of the next voicebot action.
audioPathstringThe URL of recording server.
namestringName of the voicebot action.

Get a single Voicebot Action Play Audio

GET voicebot/voicebotActions/{id}/voicebotActionPlayAudio

  • Parameters:

No Parameters

  • Response:

Voicebot Action Play Audio

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionPlayAudio \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "nextActionId": "a1e714d7-4507-4879-b9d7-b5efb1643a49",
  "audioPath": "",
  "name": ""
} 

Update the Voicebot Action Play Audio

PUT voicebot/voicebotActions/{id}/voicebotActionPlayAudio

  • Parameters:

NameTypeinRequiredDescription
nextActionIdguidbodynoId of the next voicebot action.
audioPathstringbodynoThe URL of recording server.
namestringbodynoName of the voicebot action.
  • Response:

Voicebot Action Play Audio

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionPlayAudio \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"nextActionId":"a1e714d7-4507-4879-b9d7-b5efb1643a49","audioPath":"","name":""}' 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "nextActionId": "a1e714d7-4507-4879-b9d7-b5efb1643a49",
  "audioPath": "",
  "name": ""
} 

Remove the Voicebot Action Play Audio

DELETE voicebot/voicebotActions/{id}/voicebotActionPlayAudio

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionPlayAudio \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Play Text JSON Format

Voicebot Action Play Text is represented as simple flat JSON objects with the following keys:

NameTypeDescription
voicebotActionIdguidId of the voicebot action.
nextActionIdguidId of the next voicebot action.
messagestringA string text of the message.

Get a single Voicebot Action Play Text

GET voicebot/voicebotActions/{id}/voicebotActionPlayText

  • Parameters:

No Parameters

  • Response:

Voicebot Action Play Text

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionPlayText \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "nextActionId": "4e6b30bd-19fe-4041-bcdb-77fff0eb0d5c",
  "message": ""
} 

Update the Voicebot Action Play Text

PUT voicebot/voicebotActions/{id}/voicebotActionPlayText

  • Parameters:

NameTypeinRequiredDescription
nextActionIdguidbodynoId of the next voicebot action.
messagestringbodynoA string text of the message.
  • Response:

Voicebot Action Play Text

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionPlayText \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"nextActionId":"4e6b30bd-19fe-4041-bcdb-77fff0eb0d5c","message":""}' 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "nextActionId": "4e6b30bd-19fe-4041-bcdb-77fff0eb0d5c",
  "message": ""
} 

Remove the Voicebot Action Play Text

DELETE voicebot/voicebotActions/{id}/voicebotActionPlayText

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionPlayText \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Set Variable Value JSON Format

Voicebot Action Set Variable Value is represented as simple flat JSON objects with the following keys:

NameTypeDescription
variableNamestringId of the custom variable.
valuestringVariable value.
nextActionIdguidId of the next voicebot action.
voicebotActionIdguidId of the voicebot action.

Get a single Voicebot Action Set Variable Value

GET voicebot/voicebotActions/{id}/voicebotActionSetVariableValue

  • Parameters:

No Parameters

  • Response:

Voicebot Action Set Variable Value

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionSetVariableValue \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "variableName": "",
  "value": "",
  "nextActionId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
  "voicebotActionId": ""
} 

Update the Voicebot Action Set Variable Value

PUT voicebot/voicebotActions/{id}/voicebotActionSetVariableValue

  • Parameters:

NameTypeinRequiredDescription
variableNamestringbodyyesId of the custom variable.
valuestringbodynoVariable value.
nextActionIdguidbodynoId of the next voicebot action.
  • Response:

Voicebot Action Set Variable Value

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionSetVariableValue \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"variableName":"","value":"","nextActionId":"ffa760a6-def3-4517-a399-49a5b0fb169e"}' 

Response:

HTTP/1.1 200 OK

{
  "variableName": "",
  "value": "",
  "nextActionId": "ffa760a6-def3-4517-a399-49a5b0fb169e",
  "voicebotActionId": ""
} 

Remove the Voicebot Action Set Variable Value

DELETE voicebot/voicebotActions/{id}/voicebotActionSetVariableValue

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionSetVariableValue \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Start JSON Format

Voicebot Action Start is represented as simple flat JSON objects with the following keys:

NameTypeDescription
voicebotActionIdguidId of the voicebot action.
nextActionIdguidId of the next voicebot action.

Get a single Voicebot Action Start

GET voicebot/voicebotActions/{id}/voicebotActionStart

  • Parameters:

No Parameters

  • Response:

Voicebot Action Start

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionStart \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
} 

Update the Voicebot Action Start

PUT voicebot/voicebotActions/{id}/voicebotActionStart

  • Parameters:

NameTypeinRequiredDescription
nextActionIdguidbodynoId of the next voicebot action.
  • Response:

Voicebot Action Start

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionStart \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"nextActionId":"f526f2fc-49a6-4e20-b954-e0d22824d017"}' 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "nextActionId": "f526f2fc-49a6-4e20-b954-e0d22824d017"
} 

Remove the Voicebot Action Start

DELETE voicebot/voicebotActions/{id}/voicebotActionStart

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionStart \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Transfer Call JSON Format

Voicebot Action Transfer Call is represented as simple flat JSON objects with the following keys:

NameTypeDescription
voicebotActionIdguidId of the voicebot action.
actionIdWhenTransferFailedguidVoice Bot Action object.
transferTostringTransfer to agent, department or routing rules.

Get a single Voicebot Action Transfer Call

GET voicebot/voicebotActions/{id}/voicebotActionTransferCall

  • Parameters:

No Parameters

  • Response:

Voicebot Action Transfer Call

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionTransferCall \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "actionIdWhenTransferFailed": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
  "transferTo": ""
} 

Update the Voicebot Action Transfer Call

PUT voicebot/voicebotActions/{id}/voicebotActionTransferCall

  • Parameters:

NameTypeinRequiredDescription
actionIdWhenTransferFailedguidbodynoVoice Bot Action object.
transferTostringbodynoTransfer to agent, department or routing rules.
  • Response:

Voicebot Action Transfer Call

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionTransferCall \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"actionIdWhenTransferFailed":"9ffce41d-260c-4df0-a0e7-95136c4fadf2","transferTo":""}' 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "actionIdWhenTransferFailed": "9ffce41d-260c-4df0-a0e7-95136c4fadf2",
  "transferTo": ""
} 

Remove the Voicebot Action Transfer Call

DELETE voicebot/voicebotActions/{id}/voicebotActionTransferCall

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionTransferCall \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Webhook JSON Format

Voicebot Action Webhook is represented as simple flat JSON objects with the following keys:

NameTypeDescription
ifSendChatTranscriptboolIf send the chat transcript to 3rd party system.
urlstringURL of the webhook request.
voicebotActionIdguidId of the voicebot action.
otherResponseToActionIdguidId of the other response to action.
additionalPostBodystringThe additional post body of the request.
voicebotActionWebhookHeaders[voicebotActionWebhookHeaders]Reference to Voicebot Action Webhook Header.
voicebotActionWebhookResponseCodeToActions[voicebotActionWebhookResponseCodeToActions]Reference to Voicebot Action Webhook Response Code To Action.
voicebotActionWebhookResponseToVariables[voicebotActionWebhookResponseToVariables]Reference to Voicebot Action Webhook Response To Variable.

Get a single Voicebot Action Webhook

GET voicebot/voicebotActions/{id}/voicebotActionWebhook

  • Parameters:

NameTypeinRequiredDescription
includestringquerynoAllowed values are voicebotActionWebhookHeader, voicebotActionWebhookResponseCodeToAction, voicebotActionWebhookResponseToVariable.
  • Response:

Voicebot Action Webhook

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionWebhook \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "ifSendChatTranscript": true,
  "url": "",
  "voicebotActionId": "",
  "otherResponseToActionId": "64760a4e-d78e-4f7c-961d-fcbcb0cd9ea7",
  "additionalPostBody": "",
  "voicebotActionWebhookHeaders": [
      {
          "value": "",
          "id": "44018834-86bf-4109-8061-afe3f98733f1",
          "order": 1,
          "key": "",
          "voicebotActionId": ""
      }
  ],
  "voicebotActionWebhookResponseCodeToActions": [
      {
          "responseCode": "",
          "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
          "order": 1,
          "id": "44018834-86bf-4109-8061-afe3f98733f1",
          "voicebotActionId": ""
      }
  ],
  "voicebotActionWebhookResponseToVariables": [
      {
          "voicebotActionId": "",
          "order": 1,
          "id": "44018834-86bf-4109-8061-afe3f98733f1",
          "responseKey": "",
          "variableName": ""
      }
  ]
} 

Update the Voicebot Action Webhook

PUT voicebot/voicebotActions/{id}/voicebotActionWebhook

  • Parameters:

NameTypeinRequiredDescription
ifSendChatTranscriptboolbodynoIf send the chat transcript to 3rd party system.
urlstringbodynoURL of the webhook request.
otherResponseToActionIdguidbodynoId of the other response to action.
additionalPostBodystringbodynoThe additional post body of the request.
voicebotActionWebhookHeaders[voicebotActionWebhookHeaders]bodynoReference to Voicebot Action Webhook Header.
voicebotActionWebhookResponseCodeToActions[voicebotActionWebhookResponseCodeToActions]bodynoReference to Voicebot Action Webhook Response Code To Action.
voicebotActionWebhookResponseToVariables[voicebotActionWebhookResponseToVariables]bodynoReference to Voicebot Action Webhook Response To Variable.
  • Response:

Voicebot Action Webhook

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionWebhook \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"ifSendChatTranscript":true,"url":"","otherResponseToActionId":"64760a4e-d78e-4f7c-961d-fcbcb0cd9ea7","additionalPostBody":"","voicebotActionWebhookHeaders":[{"value":"","order":1,"key":""}],"voicebotActionWebhookResponseCodeToActions":[{"responseCode":"","nextActionId":"44018834-86bf-4109-8061-afe3f98733f1","order":1}],"voicebotActionWebhookResponseToVariables":[{"order":1,"responseKey":"","variableName":""}]}' 

Response:

HTTP/1.1 200 OK

{
  "ifSendChatTranscript": true,
  "url": "",
  "voicebotActionId": "",
  "otherResponseToActionId": "64760a4e-d78e-4f7c-961d-fcbcb0cd9ea7",
  "additionalPostBody": "",
  "voicebotActionWebhookHeaders": [
      {
          "value": "",
          "id": "44018834-86bf-4109-8061-afe3f98733f1",
          "order": 1,
          "key": "",
          "voicebotActionId": ""
      }
  ],
  "voicebotActionWebhookResponseCodeToActions": [
      {
          "responseCode": "",
          "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
          "order": 1,
          "id": "44018834-86bf-4109-8061-afe3f98733f1",
          "voicebotActionId": ""
      }
  ],
  "voicebotActionWebhookResponseToVariables": [
      {
          "voicebotActionId": "",
          "order": 1,
          "id": "44018834-86bf-4109-8061-afe3f98733f1",
          "responseKey": "",
          "variableName": ""
      }
  ]
} 

Remove the Voicebot Action Webhook

DELETE voicebot/voicebotActions/{id}/voicebotActionWebhook

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActions//voicebotActionWebhook \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Webhook Header JSON Format

Voicebot Action Webhook Header is represented as simple flat JSON objects with the following keys:

NameTypeDescription
valuestring
idguid
orderinteger
keystring
voicebotActionIdguid

Get the list of Voicebot Action Webhook Headers

GET voicebot/voicebotActionWebhookHeaders

  • Parameters:

No Parameters

  • Response:

An array of Voicebot Action Webhook Header

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookHeaders \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "value": "",
      "id": "44018834-86bf-4109-8061-afe3f98733f1",
      "order": 1,
      "key": "",
      "voicebotActionId": ""
  }
] 

Get a single Voicebot Action Webhook Header

GET voicebot/voicebotActionWebhookHeaders/{id}

  • Parameters:

No Parameters

  • Response:

Voicebot Action Webhook Header

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookHeaders/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "value": "",
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "order": 1,
  "key": "",
  "voicebotActionId": ""
} 

Create a new Voicebot Action Webhook Header

POST voicebot/voicebotActionWebhookHeaders

  • Parameters:

NameTypeinRequiredDescription
valuestringbodyno
orderintegerbodyno
keystringbodyno
voicebotActionIdguidbodyyes
  • Response:

Voicebot Action Webhook Header

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookHeaders \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"value":"","order":1,"key":"","voicebotActionId":""}' 

Response:

HTTP/1.1 201 Created

{
  "value": "",
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "order": 1,
  "key": "",
  "voicebotActionId": ""
} 

Update the Voicebot Action Webhook Header

PUT voicebot/voicebotActionWebhookHeaders/{id}

  • Parameters:

NameTypeinRequiredDescription
valuestringbodyno
orderintegerbodyno
keystringbodyno
voicebotActionIdguidbodyyes
  • Response:

Voicebot Action Webhook Header

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookHeaders/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"value":"","order":1,"key":"","voicebotActionId":""}' 

Response:

HTTP/1.1 200 OK

{
  "value": "",
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "order": 1,
  "key": "",
  "voicebotActionId": ""
} 

Remove the Voicebot Action Webhook Header

DELETE voicebot/voicebotActionWebhookHeaders/{id}

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookHeaders/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Webhook Response Code To Action JSON Format

Voicebot Action Webhook Response Code To Action is represented as simple flat JSON objects with the following keys:

NameTypeDescription
responseCodestring
nextActionIdguid
orderinteger
idguid
voicebotActionIdguid

Get the list of Voicebot Action Webhook Response Code To Actions

GET voicebot/voicebotActionWebhookResponseCodeToActions

  • Parameters:

No Parameters

  • Response:

An array of Voicebot Action Webhook Response Code To Action

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseCodeToActions \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "responseCode": "",
      "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
      "order": 1,
      "id": "44018834-86bf-4109-8061-afe3f98733f1",
      "voicebotActionId": ""
  }
] 

Get a single Voicebot Action Webhook Response Code To Action

GET voicebot/voicebotActionWebhookResponseCodeToActions/{id}

  • Parameters:

No Parameters

  • Response:

Voicebot Action Webhook Response Code To Action

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseCodeToActions/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "responseCode": "",
  "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
  "order": 1,
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "voicebotActionId": ""
} 

Create a new Voicebot Action Webhook Response Code To Action

POST voicebot/voicebotActionWebhookResponseCodeToActions

  • Parameters:

NameTypeinRequiredDescription
responseCodestringbodyno
nextActionIdguidbodyno
orderintegerbodyno
voicebotActionIdguidbodyyes
  • Response:

Voicebot Action Webhook Response Code To Action

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseCodeToActions \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"responseCode":"","nextActionId":"44018834-86bf-4109-8061-afe3f98733f1","order":1,"voicebotActionId":""}' 

Response:

HTTP/1.1 201 Created

{
  "responseCode": "",
  "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
  "order": 1,
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "voicebotActionId": ""
} 

Update the Voicebot Action Webhook Response Code To Action

PUT voicebot/voicebotActionWebhookResponseCodeToActions/{id}

  • Parameters:

NameTypeinRequiredDescription
responseCodestringbodyno
nextActionIdguidbodyno
orderintegerbodyno
voicebotActionIdguidbodyyes
  • Response:

Voicebot Action Webhook Response Code To Action

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseCodeToActions/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"responseCode":"","nextActionId":"44018834-86bf-4109-8061-afe3f98733f1","order":1,"voicebotActionId":""}' 

Response:

HTTP/1.1 200 OK

{
  "responseCode": "",
  "nextActionId": "44018834-86bf-4109-8061-afe3f98733f1",
  "order": 1,
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "voicebotActionId": ""
} 

Remove the Voicebot Action Webhook Response Code To Action

DELETE voicebot/voicebotActionWebhookResponseCodeToActions/{id}

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseCodeToActions/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

Voicebot Action Webhook Response To Variable JSON Format

Voicebot Action Webhook Response To Variable is represented as simple flat JSON objects with the following keys:

NameTypeDescription
voicebotActionIdguid
orderinteger
idguid
responseKeystring
variableNamestring

Get the list of Voicebot Action Webhook Response To Variables

GET voicebot/voicebotActionWebhookResponseToVariables

  • Parameters:

No Parameters

  • Response:

An array of Voicebot Action Webhook Response To Variable

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseToVariables \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "voicebotActionId": "",
      "order": 1,
      "id": "44018834-86bf-4109-8061-afe3f98733f1",
      "responseKey": "",
      "variableName": ""
  }
] 

Get a single Voicebot Action Webhook Response To Variable

GET voicebot/voicebotActionWebhookResponseToVariables/{id}

  • Parameters:

No Parameters

  • Response:

Voicebot Action Webhook Response To Variable

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseToVariables/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "order": 1,
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "responseKey": "",
  "variableName": ""
} 

Create a new Voicebot Action Webhook Response To Variable

POST voicebot/voicebotActionWebhookResponseToVariables

  • Parameters:

NameTypeinRequiredDescription
voicebotActionIdguidbodyyes
orderintegerbodyno
responseKeystringbodyno
variableNamestringbodyno
  • Response:

Voicebot Action Webhook Response To Variable

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseToVariables \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"voicebotActionId":"","order":1,"responseKey":"","variableName":""}' 

Response:

HTTP/1.1 201 Created

{
  "voicebotActionId": "",
  "order": 1,
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "responseKey": "",
  "variableName": ""
} 

Update the Voicebot Action Webhook Response To Variable

PUT voicebot/voicebotActionWebhookResponseToVariables/{id}

  • Parameters:

NameTypeinRequiredDescription
voicebotActionIdguidbodyyes
orderintegerbodyno
responseKeystringbodyno
variableNamestringbodyno
  • Response:

Voicebot Action Webhook Response To Variable

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseToVariables/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"voicebotActionId":"","order":1,"responseKey":"","variableName":""}' 

Response:

HTTP/1.1 200 OK

{
  "voicebotActionId": "",
  "order": 1,
  "id": "44018834-86bf-4109-8061-afe3f98733f1",
  "responseKey": "",
  "variableName": ""
} 

Remove the Voicebot Action Webhook Response To Variable

DELETE voicebot/voicebotActionWebhookResponseToVariables/{id}

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/voicebot/voicebotActionWebhookResponseToVariables/44018834-86bf-4109-8061-afe3f98733f1 \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content

© 2021 | Comm100

Was this article helpful?