Resume one of a keyword's sources
curl --request POST \
--url https://api.nephia.cc/v1/keywords/{id}/sources/{source}/resume \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nephia.cc/v1/keywords/{id}/sources/{source}/resume"
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.nephia.cc/v1/keywords/{id}/sources/{source}/resume', 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.nephia.cc/v1/keywords/{id}/sources/{source}/resume",
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.nephia.cc/v1/keywords/{id}/sources/{source}/resume"
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.nephia.cc/v1/keywords/{id}/sources/{source}/resume")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nephia.cc/v1/keywords/{id}/sources/{source}/resume")
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{
"keyword": {
"id": "<string>",
"name": "<string>",
"kind": "catalog",
"globalCriteria": {},
"refreshIntervalSeconds": 123,
"sources": [
{
"source": "x",
"enabled": true,
"searches": [
{
"id": "<string>",
"label": "<string>",
"overridesEnabled": true,
"overrides": {},
"resolvedCriteria": {}
}
],
"refreshIntervalSeconds": 123
}
],
"webhookUrl": "<string>",
"webhookMode": "all",
"webhookEvents": [
"keyword.alert_fired"
],
"aiEnabled": true,
"aiPreset": "<string>",
"aiPrompt": "<string>",
"aiStep": {},
"sentimentEnabled": true,
"coBrandsEnabled": true,
"subjectRole": "own",
"muteRules": [
"<unknown>"
],
"vipAuthors": [
"<unknown>"
],
"rules": [
"<unknown>"
],
"schedule": {},
"isActive": true,
"pausedReason": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"blockedSources": [
{
"source": "x",
"reason": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "Rate limit exceeded",
"code": "TOO_MANY_REQUESTS"
}Keywords
Resume one of a keyword's sources
Starts the searches of one Source again. A Source an operator stopped stays stopped and is named in blockedSources rather than failing the call. Free: does not charge credits; the polling it restarts is charged per check at the Source’s rate.
POST
/
v1
/
keywords
/
{id}
/
sources
/
{source}
/
resume
Resume one of a keyword's sources
curl --request POST \
--url https://api.nephia.cc/v1/keywords/{id}/sources/{source}/resume \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nephia.cc/v1/keywords/{id}/sources/{source}/resume"
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.nephia.cc/v1/keywords/{id}/sources/{source}/resume', 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.nephia.cc/v1/keywords/{id}/sources/{source}/resume",
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.nephia.cc/v1/keywords/{id}/sources/{source}/resume"
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.nephia.cc/v1/keywords/{id}/sources/{source}/resume")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nephia.cc/v1/keywords/{id}/sources/{source}/resume")
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{
"keyword": {
"id": "<string>",
"name": "<string>",
"kind": "catalog",
"globalCriteria": {},
"refreshIntervalSeconds": 123,
"sources": [
{
"source": "x",
"enabled": true,
"searches": [
{
"id": "<string>",
"label": "<string>",
"overridesEnabled": true,
"overrides": {},
"resolvedCriteria": {}
}
],
"refreshIntervalSeconds": 123
}
],
"webhookUrl": "<string>",
"webhookMode": "all",
"webhookEvents": [
"keyword.alert_fired"
],
"aiEnabled": true,
"aiPreset": "<string>",
"aiPrompt": "<string>",
"aiStep": {},
"sentimentEnabled": true,
"coBrandsEnabled": true,
"subjectRole": "own",
"muteRules": [
"<unknown>"
],
"vipAuthors": [
"<unknown>"
],
"rules": [
"<unknown>"
],
"schedule": {},
"isActive": true,
"pausedReason": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"blockedSources": [
{
"source": "x",
"reason": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "Rate limit exceeded",
"code": "TOO_MANY_REQUESTS"
}Authorizations
API key created from the Nephia dashboard for your Account.
Headers
Unique key (e.g. UUID) making this POST safe to retry for 24 hours. Replays return the original response with an Idempotency-Replayed: true header; reusing a key with a different body returns 422.
Maximum string length:
255Path Parameters
Available options:
x, reddit, youtube, tiktok, bluesky, hackernews, mastodon, lemmy, github, producthunt, stackoverflow, rss, ai_answers, vinted Was this page helpful?