cURL
curl --request POST \
--url https://api.finosu.com/scheduled-calls/{id}/cancel \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.finosu.com/scheduled-calls/{id}/cancel"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.finosu.com/scheduled-calls/{id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.finosu.com/scheduled-calls/{id}/cancel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.finosu.com/scheduled-calls/{id}/cancel"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.finosu.com/scheduled-calls/{id}/cancel")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.finosu.com/scheduled-calls/{id}/cancel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"customerId": "<string>",
"scheduledTime": "<string>",
"status": "<string>",
"callId": "<string>",
"postProcessingFlags": null
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Scheduled Calls
Cancel a Scheduled Call
Cancels a specific scheduled call by ID
POST
/
scheduled-calls
/
{id}
/
cancel
cURL
curl --request POST \
--url https://api.finosu.com/scheduled-calls/{id}/cancel \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.finosu.com/scheduled-calls/{id}/cancel"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.finosu.com/scheduled-calls/{id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.finosu.com/scheduled-calls/{id}/cancel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.finosu.com/scheduled-calls/{id}/cancel"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.finosu.com/scheduled-calls/{id}/cancel")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.finosu.com/scheduled-calls/{id}/cancel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"customerId": "<string>",
"scheduledTime": "<string>",
"status": "<string>",
"callId": "<string>",
"postProcessingFlags": null
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Cancels a single scheduled call. Any call that has not reached a terminal
status (
COMPLETED, FAILED, WILL_NOT_DO, SKIPPED_COMPLIANCE,
SKIPPED_MANUAL, CANCELLED) is set to CANCELLED. Returns the scheduled
call with its updated status.
Repeat requests
The operation is idempotent. If the call is already in a terminal status — includingCANCELLED — the request succeeds with HTTP 200 and returns the
call with its current status unchanged. There is no 409 conflict response;
check the status field in the response to confirm the outcome.
Calls already dispatched
Cancelling a call inPENDING or TASK_CREATED reliably prevents it from
being dialed. A call in PROCESSING (actively dialing or in progress) is
marked CANCELLED, but this does not disconnect a phone call that is already
underway.
Invalid Identifier
An invalid scheduled call UUID returns HTTP422 Unprocessable Content with a string detail.
A valid UUID with no matching record or no verifiable customer relationship returns 404; access to another company’s record returns 403.
Parent schedule is not affected
Cancelling an individual scheduled call does not stop the cadence that created it; later schedule activity can still produce new scheduled calls. To stop outreach entirely, use Close Origination for enrolled origination applications, or Cancel Loan Servicing / Cancel All Communications for collections and outreach.Response
Scheduled call canceled
Scheduled call response model matching OpenAPI spec.