Add Calls to Outbound Call

API Endpoint

PUT https://kpi.knowlarity.com/Basic/v1/account/call-center/add_call_to_order

Required parameters

DescriptionParameters
phone_numbersString, Format: +917827xxxxxx;+919598xxxxxx;…
order_idInteger

Optional parameters

DescriptionParameters
call_times_retryis equal to max retry
retry_timedeltaInteger

Sample request

curl --location --request \
  PUT 'https://kpi.knowlarity.com/Basic/v1/account/call-center/add_call_to_order' \
  --header 'Authorization: <authorization-key>' \
  --header 'x-api-key: <x-api-key>' \
  --form 'phone_numbers="+917827xxxxxx;+919598xxxxxx"' \
  --form 'order_id="524xxxxx"' \
  --form 'call_times_retry="2"' \
  --form 'retry_timedelta="15"'

Sample response

{
    "call_id": {
        "call_ids": [
            {
                "call_id": "400e36c2-4787-48a2-8172-5c89a2190f63"
            },
            {
                "call_id": "8164eddf-4bfa-42c2-8f15-19acd9376571"
            }
        ]
    },
    "ndnc_count": 1,
    "result": "call added successfully",
    "status_code": 1
}