Create, configure, pause, or resume a channel autopilot.
curl --request PUT \
--url https://api.sigmora.org/v1/autopilots/{channelId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"runIntervalMinutes": 21630,
"timezone": "<string>",
"quietHours": {
"start": "<string>",
"end": "<string>"
},
"caps": {
"maxVideosPerDay": 50,
"maxPostsPerDay": 500,
"maxSpendUsdPerRun": 50000,
"maxSpendUsdPerMonth": 500000
},
"destinations": [
{
"productId": "<string>",
"productTargetId": "<string>",
"channelRef": "<string>"
}
],
"sourceClipIds": [
"<string>"
],
"targetSeconds": 305,
"trendWindowHours": 360,
"minTrendScore": 50
}
'import requests
url = "https://api.sigmora.org/v1/autopilots/{channelId}"
payload = {
"enabled": True,
"runIntervalMinutes": 21630,
"timezone": "<string>",
"quietHours": {
"start": "<string>",
"end": "<string>"
},
"caps": {
"maxVideosPerDay": 50,
"maxPostsPerDay": 500,
"maxSpendUsdPerRun": 50000,
"maxSpendUsdPerMonth": 500000
},
"destinations": [
{
"productId": "<string>",
"productTargetId": "<string>",
"channelRef": "<string>"
}
],
"sourceClipIds": ["<string>"],
"targetSeconds": 305,
"trendWindowHours": 360,
"minTrendScore": 50
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
enabled: true,
runIntervalMinutes: 21630,
timezone: '<string>',
quietHours: {start: '<string>', end: '<string>'},
caps: {
maxVideosPerDay: 50,
maxPostsPerDay: 500,
maxSpendUsdPerRun: 50000,
maxSpendUsdPerMonth: 500000
},
destinations: [{productId: '<string>', productTargetId: '<string>', channelRef: '<string>'}],
sourceClipIds: ['<string>'],
targetSeconds: 305,
trendWindowHours: 360,
minTrendScore: 50
})
};
fetch('https://api.sigmora.org/v1/autopilots/{channelId}', 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.sigmora.org/v1/autopilots/{channelId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'runIntervalMinutes' => 21630,
'timezone' => '<string>',
'quietHours' => [
'start' => '<string>',
'end' => '<string>'
],
'caps' => [
'maxVideosPerDay' => 50,
'maxPostsPerDay' => 500,
'maxSpendUsdPerRun' => 50000,
'maxSpendUsdPerMonth' => 500000
],
'destinations' => [
[
'productId' => '<string>',
'productTargetId' => '<string>',
'channelRef' => '<string>'
]
],
'sourceClipIds' => [
'<string>'
],
'targetSeconds' => 305,
'trendWindowHours' => 360,
'minTrendScore' => 50
]),
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://api.sigmora.org/v1/autopilots/{channelId}"
payload := strings.NewReader("{\n \"enabled\": true,\n \"runIntervalMinutes\": 21630,\n \"timezone\": \"<string>\",\n \"quietHours\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\"\n },\n \"caps\": {\n \"maxVideosPerDay\": 50,\n \"maxPostsPerDay\": 500,\n \"maxSpendUsdPerRun\": 50000,\n \"maxSpendUsdPerMonth\": 500000\n },\n \"destinations\": [\n {\n \"productId\": \"<string>\",\n \"productTargetId\": \"<string>\",\n \"channelRef\": \"<string>\"\n }\n ],\n \"sourceClipIds\": [\n \"<string>\"\n ],\n \"targetSeconds\": 305,\n \"trendWindowHours\": 360,\n \"minTrendScore\": 50\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.sigmora.org/v1/autopilots/{channelId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"runIntervalMinutes\": 21630,\n \"timezone\": \"<string>\",\n \"quietHours\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\"\n },\n \"caps\": {\n \"maxVideosPerDay\": 50,\n \"maxPostsPerDay\": 500,\n \"maxSpendUsdPerRun\": 50000,\n \"maxSpendUsdPerMonth\": 500000\n },\n \"destinations\": [\n {\n \"productId\": \"<string>\",\n \"productTargetId\": \"<string>\",\n \"channelRef\": \"<string>\"\n }\n ],\n \"sourceClipIds\": [\n \"<string>\"\n ],\n \"targetSeconds\": 305,\n \"trendWindowHours\": 360,\n \"minTrendScore\": 50\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sigmora.org/v1/autopilots/{channelId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"runIntervalMinutes\": 21630,\n \"timezone\": \"<string>\",\n \"quietHours\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\"\n },\n \"caps\": {\n \"maxVideosPerDay\": 50,\n \"maxPostsPerDay\": 500,\n \"maxSpendUsdPerRun\": 50000,\n \"maxSpendUsdPerMonth\": 500000\n },\n \"destinations\": [\n {\n \"productId\": \"<string>\",\n \"productTargetId\": \"<string>\",\n \"channelRef\": \"<string>\"\n }\n ],\n \"sourceClipIds\": [\n \"<string>\"\n ],\n \"targetSeconds\": 305,\n \"trendWindowHours\": 360,\n \"minTrendScore\": 50\n}"
response = http.request(request)
puts response.read_body{
"success": true
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}API Reference
Create, configure, pause, or resume a channel autopilot.
draft_only asks before rendering; review_first renders but asks before distribution; full_auto runs through scheduling. Caps, quiet hours and approval SLA are enforced by the same step runner used by first-party agent workflows.
PUT
/
v1
/
autopilots
/
{channelId}
Create, configure, pause, or resume a channel autopilot.
curl --request PUT \
--url https://api.sigmora.org/v1/autopilots/{channelId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"runIntervalMinutes": 21630,
"timezone": "<string>",
"quietHours": {
"start": "<string>",
"end": "<string>"
},
"caps": {
"maxVideosPerDay": 50,
"maxPostsPerDay": 500,
"maxSpendUsdPerRun": 50000,
"maxSpendUsdPerMonth": 500000
},
"destinations": [
{
"productId": "<string>",
"productTargetId": "<string>",
"channelRef": "<string>"
}
],
"sourceClipIds": [
"<string>"
],
"targetSeconds": 305,
"trendWindowHours": 360,
"minTrendScore": 50
}
'import requests
url = "https://api.sigmora.org/v1/autopilots/{channelId}"
payload = {
"enabled": True,
"runIntervalMinutes": 21630,
"timezone": "<string>",
"quietHours": {
"start": "<string>",
"end": "<string>"
},
"caps": {
"maxVideosPerDay": 50,
"maxPostsPerDay": 500,
"maxSpendUsdPerRun": 50000,
"maxSpendUsdPerMonth": 500000
},
"destinations": [
{
"productId": "<string>",
"productTargetId": "<string>",
"channelRef": "<string>"
}
],
"sourceClipIds": ["<string>"],
"targetSeconds": 305,
"trendWindowHours": 360,
"minTrendScore": 50
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
enabled: true,
runIntervalMinutes: 21630,
timezone: '<string>',
quietHours: {start: '<string>', end: '<string>'},
caps: {
maxVideosPerDay: 50,
maxPostsPerDay: 500,
maxSpendUsdPerRun: 50000,
maxSpendUsdPerMonth: 500000
},
destinations: [{productId: '<string>', productTargetId: '<string>', channelRef: '<string>'}],
sourceClipIds: ['<string>'],
targetSeconds: 305,
trendWindowHours: 360,
minTrendScore: 50
})
};
fetch('https://api.sigmora.org/v1/autopilots/{channelId}', 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.sigmora.org/v1/autopilots/{channelId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'runIntervalMinutes' => 21630,
'timezone' => '<string>',
'quietHours' => [
'start' => '<string>',
'end' => '<string>'
],
'caps' => [
'maxVideosPerDay' => 50,
'maxPostsPerDay' => 500,
'maxSpendUsdPerRun' => 50000,
'maxSpendUsdPerMonth' => 500000
],
'destinations' => [
[
'productId' => '<string>',
'productTargetId' => '<string>',
'channelRef' => '<string>'
]
],
'sourceClipIds' => [
'<string>'
],
'targetSeconds' => 305,
'trendWindowHours' => 360,
'minTrendScore' => 50
]),
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://api.sigmora.org/v1/autopilots/{channelId}"
payload := strings.NewReader("{\n \"enabled\": true,\n \"runIntervalMinutes\": 21630,\n \"timezone\": \"<string>\",\n \"quietHours\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\"\n },\n \"caps\": {\n \"maxVideosPerDay\": 50,\n \"maxPostsPerDay\": 500,\n \"maxSpendUsdPerRun\": 50000,\n \"maxSpendUsdPerMonth\": 500000\n },\n \"destinations\": [\n {\n \"productId\": \"<string>\",\n \"productTargetId\": \"<string>\",\n \"channelRef\": \"<string>\"\n }\n ],\n \"sourceClipIds\": [\n \"<string>\"\n ],\n \"targetSeconds\": 305,\n \"trendWindowHours\": 360,\n \"minTrendScore\": 50\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.sigmora.org/v1/autopilots/{channelId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"runIntervalMinutes\": 21630,\n \"timezone\": \"<string>\",\n \"quietHours\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\"\n },\n \"caps\": {\n \"maxVideosPerDay\": 50,\n \"maxPostsPerDay\": 500,\n \"maxSpendUsdPerRun\": 50000,\n \"maxSpendUsdPerMonth\": 500000\n },\n \"destinations\": [\n {\n \"productId\": \"<string>\",\n \"productTargetId\": \"<string>\",\n \"channelRef\": \"<string>\"\n }\n ],\n \"sourceClipIds\": [\n \"<string>\"\n ],\n \"targetSeconds\": 305,\n \"trendWindowHours\": 360,\n \"minTrendScore\": 50\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sigmora.org/v1/autopilots/{channelId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"runIntervalMinutes\": 21630,\n \"timezone\": \"<string>\",\n \"quietHours\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\"\n },\n \"caps\": {\n \"maxVideosPerDay\": 50,\n \"maxPostsPerDay\": 500,\n \"maxSpendUsdPerRun\": 50000,\n \"maxSpendUsdPerMonth\": 500000\n },\n \"destinations\": [\n {\n \"productId\": \"<string>\",\n \"productTargetId\": \"<string>\",\n \"channelRef\": \"<string>\"\n }\n ],\n \"sourceClipIds\": [\n \"<string>\"\n ],\n \"targetSeconds\": 305,\n \"trendWindowHours\": 360,\n \"minTrendScore\": 50\n}"
response = http.request(request)
puts response.read_body{
"success": true
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}{
"success": "<unknown>",
"error": "<string>",
"details": "<unknown>"
}Authorizations
A workspace API key.
Path Parameters
Required string length:
1 - 200Body
application/json
Available options:
draft_only, review_first, full_auto Required range:
60 <= x <= 43200Required string length:
1 - 100Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Maximum array length:
30Show child attributes
Show child attributes
Maximum array length:
100Required string length:
1 - 300Required range:
10 <= x <= 600Required range:
1 <= x <= 720Required range:
0 <= x <= 100⌘I