AIRUDDER API
  1. Workflow
AIRUDDER API
  • Introductions
  • Quick Start
  • Get the Authorization token
    • Token Authentication and Obtain
      POST
  • Error Codes
    • Error Codes
  • Workflow
    • Webhooks of the Info of Predictive Dialer System
      • Webhook of Predictive Dialer Task Status Changes
      • Webhook of Predictive Dialer Contacts Status Changes
      • Webhook of Predictive Dialer Agents Status Changes
    • Create a New WorkFlow Task
      POST
    • Obtain the List of Workflow Templates
      GET
    • Add lists to an workflow task
      POST
    • Update the List Info of Workflow Task
      POST
    • Cancel the processes for a specific list
      POST
    • Notification of Call Completion in Workflow (Debt Collection/Marketing/E-commerce)
      POST
    • Notification of Call Completion in Workflow(Info Check)
      POST
    • Custom API Node Data Push
      POST
    • Verify the Custom API Node Data Push
      POST
    • Stop the Workflow Task
      POST
    • Obtain the Workflow Task List
      GET
    • Obtain the Subtask List of the Workflow
      GET
    • Obtain the Outbound Task List of Workflow
      POST
    • Obtain the Outbound Task Details of Workflow(Collection/Telemarketing/E-commerce)
      POST
    • Obtain the Outbound Task Details of Workflow(Info Check)
      POST
    • Obtain Call Information and Recording Links by callee/caseid and taskid/workflow_id
      GET
    • Obtian Call Information and Recording Link by Call ID
      GET
    • Obtain All the Recordings of a Single Number in the Workflow
      GET
    • Query workflow_id using case_id/callee
      POST
    • Notification for Workflow List Completion
      POST
    • Notification of Workflow Status Change
      POST
    • Obtain the WABA Tasks List of Workflow
      GET
    • Obtain the WABA Task Details of Workflow
      GET
    • Notification of WABA Message Status Alteration in Workflow
      POST
    • Chatbot Session End Notification in Workflow
      POST
  1. Workflow

Cancel the processes for a specific list

Production
https://api.airudder.com
Production
https://api.airudder.com
POST
/service/cloud/workflow/cancelphonecall
This interface is suitable for situations where there are changes to the information of lists during the workflow execution, and there is no need for further calling/reaching processes. By using this interface, you can cancel all subsequent processes for that particular list. When canceling a list, please consider the status of the workflow task. If it has already ended or been canceled, it will not be possible to cancel the list. Additionally, if all the processes within the workflow for that list have already been completed, it will also not be possible to cancel it.

Request

Header Params
Authorization
string 
required
Default:
Token 3Ksb9EkFDQHBhAbvYDTq4+pGGjNRAuLtPF9MMt9E97hX+OgLWTmeZtdGZyjR+YqU
Content-Type
string 
required
Default:
application/json
User-Agent
string 
optional
Default:
Airudder
Body Params application/json
workflow_id
string 
required
The workflow_id returned when the workflow was created.
caseid
string 
optional
The unique identifier of the list, if available in the list information, can be used as an input parameter. Note: 1. Either the "callee" or "caseid" field can be used as optional parameters. 2. It is recommended to use "caseid" for cancellation.
callee
string 
optional
Phone number of the list.
Example
{
    "workflow_id": "441523302d2f44f7b3fe000000",
    "caseid":"test-caseid-1",
    "callee": "+8612345678"
    
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.airudder.com/service/cloud/workflow/cancelphonecall' \
--header 'Authorization;' \
--header 'User-Agent: Airudder' \
--header 'Content-Type: application/json' \
--data-raw '{
    "workflow_id": "441523302d2f44f7b3fe000000",
    "caseid":"test-caseid-1",
    "callee": "+8612345678"
    
}'

Responses

🟢200success
application/json
Body
data
object 
required
caseid
string  | null 
required
count
integer 
required
status
string 
required
code
integer 
required
Examples
{
    "data": {
        "caseid": "test-caseid11",
        "count": 1
    },
    "status": "OK",
    "code": 200
}
🟢200Error
Modified at 2024-05-27 10:57:57
Previous
Update the List Info of Workflow Task
Next
Notification of Call Completion in Workflow (Debt Collection/Marketing/E-commerce)
Built with