curl --request PATCH \
--url https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"duration_seconds": 1800
}
'import requests
url = "https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}"
payload = { "duration_seconds": 1800 }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({duration_seconds: 1800})
};
fetch('https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}', 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.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'duration_seconds' => 1800
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}"
payload := strings.NewReader("{\n \"duration_seconds\": 1800\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.patch("https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"duration_seconds\": 1800\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"duration_seconds\": 1800\n}"
response = http.request(request)
puts response.read_body{
"cause": "admin_request",
"created_at": "2026-07-29T12:00:00Z",
"created_by": "user_11223344",
"expires_at": "2026-07-29T13:00:00Z",
"extensions": [],
"id": "pause_9f2c1a7b3d4e5f60",
"reason": "Provider maintenance window",
"scope": "global",
"status": "active"
}{
"detail": "Authentication required"
}{
"detail": "Admin role required"
}{
"detail": "Pause not found"
}{
"detail": "This pause is already released and can never be extended — open a new pause instead."
}{
"detail": "margins['Upload'] must be between 1 and 100"
}{
"detail": "Rate limit exceeded: 100 per 1 minute"
}Extend a Domain pause's scheduled resume
Admin only. Pushes a pause’s scheduled resume further out, IN PLACE: the record gains an entry in its extensions audit array and keeps its identity, so “what is holding dispatch right now?” stays one record rather than a chain to reconstruct. Provide duration_seconds (relative to now) or an absolute expires_at.
Extension is forward-only: a released record and an expiry that is not later than the current one are both refused with 409 — shortening a hold is an explicit release-and-re-pause, never a silent edit. Explicit JSON null is rejected; omit a field instead. Cross-tenant access returns 404, never 403.
curl --request PATCH \
--url https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"duration_seconds": 1800
}
'import requests
url = "https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}"
payload = { "duration_seconds": 1800 }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({duration_seconds: 1800})
};
fetch('https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}', 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.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'duration_seconds' => 1800
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}"
payload := strings.NewReader("{\n \"duration_seconds\": 1800\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.patch("https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"duration_seconds\": 1800\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getdialed.ai/v1/platforms/five9/domains/{tenancy_id}/pauses/{pause_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"duration_seconds\": 1800\n}"
response = http.request(request)
puts response.read_body{
"cause": "admin_request",
"created_at": "2026-07-29T12:00:00Z",
"created_by": "user_11223344",
"expires_at": "2026-07-29T13:00:00Z",
"extensions": [],
"id": "pause_9f2c1a7b3d4e5f60",
"reason": "Provider maintenance window",
"scope": "global",
"status": "active"
}{
"detail": "Authentication required"
}{
"detail": "Admin role required"
}{
"detail": "Pause not found"
}{
"detail": "This pause is already released and can never be extended — open a new pause instead."
}{
"detail": "margins['Upload'] must be between 1 and 100"
}{
"detail": "Rate limit exceeded: 100 per 1 minute"
}Authorizations
Body
Push a pause's scheduled resume further out.
Provide duration_seconds (relative to now) or an absolute
expires_at — at least one is required. Extension is forward-only: a
hold can never be silently shortened, only released and re-opened.
Response
Successful Response
One hold on dispatch — an admin hold or an automatic backoff.
Both kinds share this one shape, so a single listing shows everything
currently holding dispatch. scope says how much is held and the
matching target field (tenancy_id, lane, bucket, or batch_id)
says exactly what. cause is the machine-readable origin
(admin_request for a human hold, the provider fault tag for an
automatic backoff) and reason is the human note, if any. A released
pause keeps its record: released_at and released_by complete the
audit trail, and extensions lists every time a scheduled resume was
pushed out.