Facebook Pixel

Get Queued Content Plan Item

Polls the queue for a completion. Times out after ~50 seconds.



Authorization 🔒

Pass your API Key as a Bearer Token.

Request Query Parameters

This endpoint has no request query parameters.

Request Body Parameters

This endpoint has no request body paramters.

Example API calls

Command Line (curl)

curl -H "Authorization: Bearer <YOUR_API_KEY>" -H "Accept: application/json" "https://nichesss.com/api/content-plans/queue/<QUEUE_ID>"


fetch('https://nichesss.com/api/content-plans/queue/<QUEUE_ID>', {
    method: 'GET',
    headers: {
        'Content-type': 'application/json',
        'Authorization': 'Bearer <YOUR_API_KEY>', // notice the Bearer before your token
.then((response) => response.json())
.then((data) => console.log(data));


import requests

url = 'https://nichesss.com/api/content-plans/queue/<QUEUE_ID>'
headers = {
    'Content-type': 'application/json',
    'Authorization': 'Bearer <YOUR_API_KEY>',

response = requests.get(url, headers=headers)
data = response.json()


$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://nichesss.com/api/content-plans/queue/<QUEUE_ID>');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization: Bearer <YOUR_API_KEY>';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
curl_close ($ch);

$data = json_decode($result, true);



require 'net/http'
require 'json'

uri = URI('https://nichesss.com/api/content-plans/queue/<QUEUE_ID>')

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

request = Net::HTTP::Get.new(uri.request_uri)
request['Content-type'] = 'application/json'
request['Authorization'] = 'Bearer <YOUR_API_KEY>'

response = http.request(request)

puts JSON.parse(response.body)

Sample Response

All responses from the API are JSON

    "success": true,
    "queue_uri": "https://nichesss.com/api/content-plans/queue/<QUEUE_ID>",
    "content": [
            "copy": "If you’re looking to score some cheap flights to Brazil, there’s no shortage of options—whenever you consider the multitude of airlines offering flights to Brazil and the relative competitiveness of airfares between airlines, there’s few destinations that compare in terms of affordability. However, depending on where you’re going, the cheapest flights to Brazil may not necessarily be the most convenient; for example, many cities in Brazil—like Sao Paulo, Rio de Janeiro and Salvador—are served by Brazil’s national carrier, TAM."
            "copy": "Brazil is one of the most beautiful countries in the world, and it has great places to see. Rio de Janeiro is one of the most popular places in the country, and to make the trip there, you will need to get on a plane. Even though Brazil is more than 8,500 miles away from the United States, it is still a very accessible place. This also means that flights to Rio de Janeiro are many and affordable."
all endpoints (20)