curl --request PATCH \
--url https://api.juicer.io/v1/feeds/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"template": "Slider Dark",
"sync_interval": 123,
"queue": true,
"allowed": "<string>",
"disallowed": "<string>",
"profanity": true,
"prevent_duplicates": true,
"ai_moderation": true,
"ai_harmful_content_filter": true,
"ai_moderation_rules": "<string>",
"ai_sentiment_filter": []
}
'import requests
url = "https://api.juicer.io/v1/feeds/{id}"
payload = {
"name": "<string>",
"template": "Slider Dark",
"sync_interval": 123,
"queue": True,
"allowed": "<string>",
"disallowed": "<string>",
"profanity": True,
"prevent_duplicates": True,
"ai_moderation": True,
"ai_harmful_content_filter": True,
"ai_moderation_rules": "<string>",
"ai_sentiment_filter": []
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
template: 'Slider Dark',
sync_interval: 123,
queue: true,
allowed: '<string>',
disallowed: '<string>',
profanity: true,
prevent_duplicates: true,
ai_moderation: true,
ai_harmful_content_filter: true,
ai_moderation_rules: '<string>',
ai_sentiment_filter: []
})
};
fetch('https://api.juicer.io/v1/feeds/{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.juicer.io/v1/feeds/{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([
'name' => '<string>',
'template' => 'Slider Dark',
'sync_interval' => 123,
'queue' => true,
'allowed' => '<string>',
'disallowed' => '<string>',
'profanity' => true,
'prevent_duplicates' => true,
'ai_moderation' => true,
'ai_harmful_content_filter' => true,
'ai_moderation_rules' => '<string>',
'ai_sentiment_filter' => [
]
]),
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.juicer.io/v1/feeds/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"template\": \"Slider Dark\",\n \"sync_interval\": 123,\n \"queue\": true,\n \"allowed\": \"<string>\",\n \"disallowed\": \"<string>\",\n \"profanity\": true,\n \"prevent_duplicates\": true,\n \"ai_moderation\": true,\n \"ai_harmful_content_filter\": true,\n \"ai_moderation_rules\": \"<string>\",\n \"ai_sentiment_filter\": []\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.juicer.io/v1/feeds/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"template\": \"Slider Dark\",\n \"sync_interval\": 123,\n \"queue\": true,\n \"allowed\": \"<string>\",\n \"disallowed\": \"<string>\",\n \"profanity\": true,\n \"prevent_duplicates\": true,\n \"ai_moderation\": true,\n \"ai_harmful_content_filter\": true,\n \"ai_moderation_rules\": \"<string>\",\n \"ai_sentiment_filter\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.juicer.io/v1/feeds/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"template\": \"Slider Dark\",\n \"sync_interval\": 123,\n \"queue\": true,\n \"allowed\": \"<string>\",\n \"disallowed\": \"<string>\",\n \"profanity\": true,\n \"prevent_duplicates\": true,\n \"ai_moderation\": true,\n \"ai_harmful_content_filter\": true,\n \"ai_moderation_rules\": \"<string>\",\n \"ai_sentiment_filter\": []\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": 123,
"name": "<string>",
"slug": "<string>",
"sources_count": 123,
"created_via_api": true,
"sync_interval": 123,
"update_frequency": 123,
"template": "<string>",
"moderation": {
"enabled": true,
"allowed": "<string>",
"disallowed": "<string>",
"profanity_filter": true,
"prevent_duplicates": true,
"deduplication_strategy": "prioritize_top_source",
"ai_moderation_available": true,
"ai_moderation": true,
"ai_harmful_content_filter": true,
"ai_moderation_rules": "<string>",
"ai_sentiment_filter": [
"positive"
]
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "feed_limit_reached",
"message": "Your Free plan allows 1 feed(s). Upgrade to create more.",
"details": {
"name": [
"can't be blank"
]
},
"action": {
"type": "upgrade_plan",
"current_plan": "small",
"current_plan_display_name": "Free",
"required_plan": "large",
"required_plan_display_name": "Pro",
"upgrade_url": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}
}
}Update feed settings
Updates feed settings, including manual and AI moderation.
AI moderation requires the Pro plan or higher. Enabling it
(ai_moderation or any AI sub-filter) on an unsupported plan returns
422 with error.code = "ai_moderation_not_available" and an
error.action of type upgrade_plan containing a magic link to the
upgrade page.
Template. template changes the feed’s look and goes live at once (see
FeedTemplate). It returns 422 with error.code = "invalid_template" when the
name is blank or not one your account can use (details.available_templates
lists the ones it can), and with error.code = "template_not_supported" when the
feed’s embed is not on Feeds 2.0 (legacy feeds, and feeds still in the Feeds 2.0
migration preview). Nothing is changed on either refusal.
curl --request PATCH \
--url https://api.juicer.io/v1/feeds/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"template": "Slider Dark",
"sync_interval": 123,
"queue": true,
"allowed": "<string>",
"disallowed": "<string>",
"profanity": true,
"prevent_duplicates": true,
"ai_moderation": true,
"ai_harmful_content_filter": true,
"ai_moderation_rules": "<string>",
"ai_sentiment_filter": []
}
'import requests
url = "https://api.juicer.io/v1/feeds/{id}"
payload = {
"name": "<string>",
"template": "Slider Dark",
"sync_interval": 123,
"queue": True,
"allowed": "<string>",
"disallowed": "<string>",
"profanity": True,
"prevent_duplicates": True,
"ai_moderation": True,
"ai_harmful_content_filter": True,
"ai_moderation_rules": "<string>",
"ai_sentiment_filter": []
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
template: 'Slider Dark',
sync_interval: 123,
queue: true,
allowed: '<string>',
disallowed: '<string>',
profanity: true,
prevent_duplicates: true,
ai_moderation: true,
ai_harmful_content_filter: true,
ai_moderation_rules: '<string>',
ai_sentiment_filter: []
})
};
fetch('https://api.juicer.io/v1/feeds/{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.juicer.io/v1/feeds/{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([
'name' => '<string>',
'template' => 'Slider Dark',
'sync_interval' => 123,
'queue' => true,
'allowed' => '<string>',
'disallowed' => '<string>',
'profanity' => true,
'prevent_duplicates' => true,
'ai_moderation' => true,
'ai_harmful_content_filter' => true,
'ai_moderation_rules' => '<string>',
'ai_sentiment_filter' => [
]
]),
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.juicer.io/v1/feeds/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"template\": \"Slider Dark\",\n \"sync_interval\": 123,\n \"queue\": true,\n \"allowed\": \"<string>\",\n \"disallowed\": \"<string>\",\n \"profanity\": true,\n \"prevent_duplicates\": true,\n \"ai_moderation\": true,\n \"ai_harmful_content_filter\": true,\n \"ai_moderation_rules\": \"<string>\",\n \"ai_sentiment_filter\": []\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.juicer.io/v1/feeds/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"template\": \"Slider Dark\",\n \"sync_interval\": 123,\n \"queue\": true,\n \"allowed\": \"<string>\",\n \"disallowed\": \"<string>\",\n \"profanity\": true,\n \"prevent_duplicates\": true,\n \"ai_moderation\": true,\n \"ai_harmful_content_filter\": true,\n \"ai_moderation_rules\": \"<string>\",\n \"ai_sentiment_filter\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.juicer.io/v1/feeds/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"template\": \"Slider Dark\",\n \"sync_interval\": 123,\n \"queue\": true,\n \"allowed\": \"<string>\",\n \"disallowed\": \"<string>\",\n \"profanity\": true,\n \"prevent_duplicates\": true,\n \"ai_moderation\": true,\n \"ai_harmful_content_filter\": true,\n \"ai_moderation_rules\": \"<string>\",\n \"ai_sentiment_filter\": []\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": 123,
"name": "<string>",
"slug": "<string>",
"sources_count": 123,
"created_via_api": true,
"sync_interval": 123,
"update_frequency": 123,
"template": "<string>",
"moderation": {
"enabled": true,
"allowed": "<string>",
"disallowed": "<string>",
"profanity_filter": true,
"prevent_duplicates": true,
"deduplication_strategy": "prioritize_top_source",
"ai_moderation_available": true,
"ai_moderation": true,
"ai_harmful_content_filter": true,
"ai_moderation_rules": "<string>",
"ai_sentiment_filter": [
"positive"
]
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "feed_limit_reached",
"message": "Your Free plan allows 1 feed(s). Upgrade to create more.",
"details": {
"name": [
"can't be blank"
]
},
"action": {
"type": "upgrade_plan",
"current_plan": "small",
"current_plan_display_name": "Free",
"required_plan": "large",
"required_plan_display_name": "Pro",
"upgrade_url": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}
}
}Authorizations
Body
The feed's look, by template name: picking one does what picking it in the dashboard does, and it goes live at once. The template's layout and style and its content settings (post order, photo/video filter, display filter, poll) replace the feed's own. Expanded posts are cleared, and the hero post is the template's (the first post for the Highlights templates, none otherwise). Colours are decided separately for the live and the draft settings: each keeps all its colours, light/dark mode included, when any of them differs from its current template's preset colours, and otherwise (or when it has no template) takes the new template's. A feed showing an AI design switches back to the standard layout. Send a template name; null or an empty value is refused (invalid_template on a feed that takes templates, template_not_supported otherwise). Pending dashboard changes to these settings, including a different pending template, are replaced too. Standard templates are listed first and premium themes after them; premium themes need a paid plan or the trial (or support enabling them), and otherwise answer invalid_template.
Grid Masonry, Grid Default, Grid Minimal, Grid Highlights, Grid Dark, Slider Default, Slider Minimal, Slider Highlights, Slider Widget, Slider Dark, List Default, List Dark, Admissions, Arena, Campus, Clinic, Field Notes, Front Page, Hot board, Newsroom, Spotlight, Stay, Storefront, Studio "Slider Dark"
How often the feed's sources are synced, in minutes. Allowed values are the standard sync frequencies 1, 5, 10, 30, 60, 240, and 1440 (once a day). Use 0 to archive the feed (stop updating it). Send null or an empty value to clear the override and fall back to your plan's default sync frequency (once a day on most plans). Setting it requires a plan that supports per-feed sync frequency; on other plans the request returns 422 with error.code = "sync_interval_not_available". On an account a paid API plan governs (see Plan Limits) an invalid value is rejected with 422 (error.code = "invalid_sync_interval"), and each successful sync of a source consumes API credits, so a faster interval consumes credits proportionally faster (an hourly feed spends roughly 24x what a daily feed does); when the balance runs out the feed's sources pause until it is topped up.
Which post survives when duplicates are detected. prioritize_top_source keeps the post from the highest-priority source (lowest position). distribute_across_sources spreads the survivors across the feed's sources, so no one source wins every duplicate. It balances which source survives each set of duplicates, not the feed's overall share per source. Only meaningful when prevent_duplicates is true.
prioritize_top_source, distribute_across_sources