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

Query workflow_id using case_id/callee

Production
https://api.airudder.com
Production
https://api.airudder.com
POST
/service/cloud/workflow/detailinstances

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
case_id
string 
optional
The unique id of the customer. Either case_id or callee must be filled.
callee
string 
optional
The phone number of the list. Either case_id or callee must be filled.
start_time
string 
required
The start time of the query. The format is 2022-12-12 12:34:56+07:00.
end_time
string 
required
The end time of the query. The format is 2022-12-12 12:34:56+07:00.
Example
{
    "callee": "+8613711112222",
    "start_time": "2023-09-01 00:00:00+08:00",
    "end_time": "2023-09-14 00:00:00+08:00"
}

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/detailinstances' \
--header 'Authorization;' \
--header 'User-Agent: Airudder' \
--header 'Content-Type: application/json' \
--data-raw '{
    "callee": "+8613711112222",
    "start_time": "2023-09-01 00:00:00+08:00",
    "end_time": "2023-09-14 00:00:00+08:00"
}'

Responses

🟢200success
application/json
Body
code
integer 
required
status
string 
required
data
object 
required
rows
array [object {4}] 
required
Example
{
    "data": {
        "rows": [
            {
                "workflow_id": "1d06628dd08f44839191657d857f4a07",
                "workflow_name": "wd-008",
                "create_time": "2023-09-11T06:19:27Z",
                "status": "cancelled"
            },
            {
                "workflow_id": "51b9e513e93248a497bf7ce85f459ffa",
                "workflow_name": "wd-002",
                "create_time": "2023-09-11T05:07:24Z",
                "status": "cancelled"
            },
            {
                "workflow_id": "b4ee0e33fc9b4e648ea2a6d0703acf7e",
                "workflow_name": "wd-009",
                "create_time": "2023-09-11T07:28:07Z",
                "status": "finished"
            },
            {
                "workflow_id": "f6caf155b8ec465eaa3b1da5ecb6515c",
                "workflow_name": "wd-010",
                "create_time": "2023-09-11T11:31:42Z",
                "status": "finished"
            }
        ]
    },
    "status": "OK",
    "code": 200
}
Modified at 2024-03-12 09:30:05
Previous
Obtain All the Recordings of a Single Number in the Workflow
Next
Notification for Workflow List Completion
Built with