List articles
curl --request GET \
--url https://www.suprsonic.com/api/v1/articles \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.suprsonic.com/api/v1/articles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.suprsonic.com/api/v1/articles', 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://www.suprsonic.com/api/v1/articles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://www.suprsonic.com/api/v1/articles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.suprsonic.com/api/v1/articles")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.suprsonic.com/api/v1/articles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "opinion_piece",
"title": "<string>",
"slug": "<string>",
"meta_description": "<string>",
"hero_image_url": "<string>",
"tags": [
"<string>"
],
"status": "draft",
"publish_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_links": {
"self": "<string>",
"account": "<string>"
}
}
],
"meta": {
"pagination": {
"page": 1,
"limit": 20,
"total": 100,
"totalPages": 5,
"hasNext": true,
"hasPrev": false
},
"links": {
"self": "/api/v1/articles?page=1",
"next": "/api/v1/articles?page=2",
"prev": null,
"first": "/api/v1/articles?page=1",
"last": "/api/v1/articles?page=5"
}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}Articles
List articles
Retrieve a paginated list of articles with filtering and search options. The articles returned depend on the authentication used:
Authenticated Access:
- Admin API keys: Returns articles from all accounts across the system
- Account API keys: Returns articles only from the account that owns the key
Public Access (from valid domains):
- No authentication required when accessing from verified domains (*.localhost, *.suprsonic.blog, *.suprsonic.app, or verified custom domains)
- Returns only published articles from the domain-associated account
- Status filtering is ignored for public access (always returns published only)
GET
/
api
/
v1
/
articles
List articles
curl --request GET \
--url https://www.suprsonic.com/api/v1/articles \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.suprsonic.com/api/v1/articles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.suprsonic.com/api/v1/articles', 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://www.suprsonic.com/api/v1/articles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://www.suprsonic.com/api/v1/articles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.suprsonic.com/api/v1/articles")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.suprsonic.com/api/v1/articles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "opinion_piece",
"title": "<string>",
"slug": "<string>",
"meta_description": "<string>",
"hero_image_url": "<string>",
"tags": [
"<string>"
],
"status": "draft",
"publish_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_links": {
"self": "<string>",
"account": "<string>"
}
}
],
"meta": {
"pagination": {
"page": 1,
"limit": 20,
"total": 100,
"totalPages": 5,
"hasNext": true,
"hasPrev": false
},
"links": {
"self": "/api/v1/articles?page=1",
"next": "/api/v1/articles?page=2",
"prev": null,
"first": "/api/v1/articles?page=1",
"last": "/api/v1/articles?page=5"
}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}Authorizations
AdminApiKeyAccountApiKey
Admin API key for managing accounts and creating content
Query Parameters
Search articles by title or meta description
Filter by tags (comma-separated)
Filter by article category
Available options:
opinion_piece, industry_forecast, how_to_guide, comparison, deep_research, checklist, roundup Filter by article status
Available options:
draft, published, archived, deleted Page number for pagination
Required range:
x >= 1Number of items per page
Required range:
1 <= x <= 100Was this page helpful?
⌘I