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

Notification for Workflow List Completion

Production
Production
POST
The party provides this url to configure in the workflow
When the list completes its flow within the workflow, notifications will be sent one by one to the configured URL.

Request

Header Params
Content-Type
string 
required
Default:
application/json
User-Agent
string 
optional
Default:
Airudder
Body Params application/json
workflow_id
string 
required
Workflow uniquely id.
workflow_name
string 
required
Workflow name.
case_id
string 
required
The unique id of the list.
callee_number
string 
required
The phone number of the list.
rows
array [object {4}] 
required
The flow trajectory of the list.
nodetask_id
string 
required
Node task id.
nodetask_name
string 
required
Node task name.
node_type
string 
required
Node type: call、sms、email、whatsapp、api、pds
task_id
string 
optional
Outbound call task id, return when the node type is 'call'.
Example
{
    "case_id": "test-caseid11",
    "callee_number": "+62123456",
    "workflow_id": "707c2a72791f4fcd9890120ccfe52983",
    "workflow_name": "test-544-0001",
    "rows": [
        {
            "nodetask_id": "300e4513a8a44567a933f893cee2b637",
            "task_id": "1fe46b87ee3eb19b6e59fcacc4c66446",
            "nodetask_name": "Voicebot Call1",
            "node_type": "call"
        },
        {
            "nodetask_id": "303e0168c6374a82bff89b6c4bd0ccfa",
            "nodetask_name": "SMS1",
            "node_type": "sms"
        },
        {
            "nodetask_id": "d734467d7ee74365a36b3b14493d13a3",
            "nodetask_name": "Mail1",
            "node_type": "email"
        }
    ]
}

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 'The party provides this url to configure in the workflow' \
--header 'User-Agent: Airudder' \
--header 'Content-Type: application/json' \
--data-raw '{
    "case_id": "test-caseid11",
    "callee_number": "+62123456",
    "workflow_id": "707c2a72791f4fcd9890120ccfe52983",
    "workflow_name": "test-544-0001",
    "rows": [
        {
            "nodetask_id": "300e4513a8a44567a933f893cee2b637",
            "task_id": "1fe46b87ee3eb19b6e59fcacc4c66446",
            "nodetask_name": "Voicebot Call1",
            "node_type": "call"
        },
        {
            "nodetask_id": "303e0168c6374a82bff89b6c4bd0ccfa",
            "nodetask_name": "SMS1",
            "node_type": "sms"
        },
        {
            "nodetask_id": "d734467d7ee74365a36b3b14493d13a3",
            "nodetask_name": "Mail1",
            "node_type": "email"
        }
    ]
}'

Responses

🟢200success
application/json
Body
object {0}
Example
{}
Modified at 2024-05-28 10:37:36
Previous
Query workflow_id using case_id/callee
Next
Notification of Workflow Status Change
Built with