Skip to main content
POST
/
tables
/
{tableId}
/
cancel
Stop active cell work for a table (the API "stop" button)
curl --request POST \
  --url https://origami.chat/api/v2/tables/{tableId}/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "columns": [
    "<string>"
  ],
  "dryRun": false
}
'
import requests

url = "https://origami.chat/api/v2/tables/{tableId}/cancel"

payload = {
"columns": ["<string>"],
"dryRun": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({columns: ['<string>'], dryRun: false})
};

fetch('https://origami.chat/api/v2/tables/{tableId}/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://origami.chat/api/v2/tables/{tableId}/cancel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'columns' => [
'<string>'
],
'dryRun' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://origami.chat/api/v2/tables/{tableId}/cancel"

payload := strings.NewReader("{\n \"columns\": [\n \"<string>\"\n ],\n \"dryRun\": false\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://origami.chat/api/v2/tables/{tableId}/cancel")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"columns\": [\n \"<string>\"\n ],\n \"dryRun\": false\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://origami.chat/api/v2/tables/{tableId}/cancel")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"columns\": [\n \"<string>\"\n ],\n \"dryRun\": false\n}"

response = http.request(request)
puts response.read_body

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Transport-level replay protection — any v2 POST may send it (1–255 printable ASCII characters; UUIDs recommended). The first response for a key is recorded and replayed verbatim for retries with the same key + method/path/body for 24 hours; replayed responses carry the Idempotency-Replay: true response header. Reusing a key with a different request — or retrying while the original is still in flight — returns 409 IDEMPOTENCY_ERROR. 5xx responses are never recorded (the retry re-executes).

Required string length: 1 - 255
Pattern: ^[\x21-\x7e]{1,255}$

Path Parameters

tableId
string<uuid>
required

Body

application/json
columns
string[]

Column slugs to scope the stop to. Omit to stop every column.

Minimum array length: 1
Minimum string length: 1
Pattern: \S
dryRun
boolean
default:false

Response

{ tableId, cancelledCells, cancelledLeadSourceJobs } — or the dryRun report.