Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://www.suprsonic.com/api/v1/articles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"content": "<string>",
"meta_description": "<string>",
"tags": [],
"status": "published",
"hero_image_url": "<string>",
"publish_date": "2023-11-07T05:31:56Z"
}
'import requests
url = "https://www.suprsonic.com/api/v1/articles"
payload = {
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"content": "<string>",
"meta_description": "<string>",
"tags": [],
"status": "published",
"hero_image_url": "<string>",
"publish_date": "2023-11-07T05:31:56Z"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
customer_avatar_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
title: '<string>',
content: '<string>',
meta_description: '<string>',
tags: [],
status: 'published',
hero_image_url: '<string>',
publish_date: '2023-11-07T05:31:56Z'
})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'customer_avatar_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'title' => '<string>',
'content' => '<string>',
'meta_description' => '<string>',
'tags' => [
],
'status' => 'published',
'hero_image_url' => '<string>',
'publish_date' => '2023-11-07T05:31:56Z'
]),
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://www.suprsonic.com/api/v1/articles"
payload := strings.NewReader("{\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"customer_avatar_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"meta_description\": \"<string>\",\n \"tags\": [],\n \"status\": \"published\",\n \"hero_image_url\": \"<string>\",\n \"publish_date\": \"2023-11-07T05:31:56Z\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://www.suprsonic.com/api/v1/articles")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"customer_avatar_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"meta_description\": \"<string>\",\n \"tags\": [],\n \"status\": \"published\",\n \"hero_image_url\": \"<string>\",\n \"publish_date\": \"2023-11-07T05:31:56Z\"\n}")
.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::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"customer_avatar_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"meta_description\": \"<string>\",\n \"tags\": [],\n \"status\": \"published\",\n \"hero_image_url\": \"<string>\",\n \"publish_date\": \"2023-11-07T05:31:56Z\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "How to Optimize Your Website for SEO",
"slug": "how-to-optimize-website-seo",
"content": "<string>",
"meta_description": "<string>",
"hero_image_url": "<string>",
"category": "how_to_guide",
"customer_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [
"SEO",
"Digital Marketing",
"Website Optimization"
],
"status": "published",
"publish_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"_links": {
"self": "<string>",
"account": "<string>",
"public_url": "<string>"
}
}
}{
"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": {}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}Create a new article. Currently requires admin API key for access.
Note: In the future, we plan to implement scoped API keys that will allow account-specific keys to create articles for their own accounts.
curl --request POST \
--url https://www.suprsonic.com/api/v1/articles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"content": "<string>",
"meta_description": "<string>",
"tags": [],
"status": "published",
"hero_image_url": "<string>",
"publish_date": "2023-11-07T05:31:56Z"
}
'import requests
url = "https://www.suprsonic.com/api/v1/articles"
payload = {
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"content": "<string>",
"meta_description": "<string>",
"tags": [],
"status": "published",
"hero_image_url": "<string>",
"publish_date": "2023-11-07T05:31:56Z"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
customer_avatar_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
title: '<string>',
content: '<string>',
meta_description: '<string>',
tags: [],
status: 'published',
hero_image_url: '<string>',
publish_date: '2023-11-07T05:31:56Z'
})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'customer_avatar_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'title' => '<string>',
'content' => '<string>',
'meta_description' => '<string>',
'tags' => [
],
'status' => 'published',
'hero_image_url' => '<string>',
'publish_date' => '2023-11-07T05:31:56Z'
]),
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://www.suprsonic.com/api/v1/articles"
payload := strings.NewReader("{\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"customer_avatar_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"meta_description\": \"<string>\",\n \"tags\": [],\n \"status\": \"published\",\n \"hero_image_url\": \"<string>\",\n \"publish_date\": \"2023-11-07T05:31:56Z\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://www.suprsonic.com/api/v1/articles")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"customer_avatar_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"meta_description\": \"<string>\",\n \"tags\": [],\n \"status\": \"published\",\n \"hero_image_url\": \"<string>\",\n \"publish_date\": \"2023-11-07T05:31:56Z\"\n}")
.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::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"customer_avatar_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"meta_description\": \"<string>\",\n \"tags\": [],\n \"status\": \"published\",\n \"hero_image_url\": \"<string>\",\n \"publish_date\": \"2023-11-07T05:31:56Z\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "How to Optimize Your Website for SEO",
"slug": "how-to-optimize-website-seo",
"content": "<string>",
"meta_description": "<string>",
"hero_image_url": "<string>",
"category": "how_to_guide",
"customer_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [
"SEO",
"Digital Marketing",
"Website Optimization"
],
"status": "published",
"publish_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"_links": {
"self": "<string>",
"account": "<string>",
"public_url": "<string>"
}
}
}{
"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": {}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": {}
}
}account_id in the request body.Admin API key for managing accounts and creating content
Account UUID (required - specifies which account to create the article for)
Customer avatar UUID (required - links article to specific customer persona)
Article category for content organization
opinion_piece, industry_forecast, how_to_guide, comparison, deep_research, checklist, roundup 1 - 5001500201 - 50draft, published, archived, deleted Was this page helpful?