curl --request GET \
--url https://api.superx.so/v1/context \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.superx.so/v1/context"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.superx.so/v1/context', 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.superx.so/v1/context",
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://api.superx.so/v1/context"
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://api.superx.so/v1/context")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superx.so/v1/context")
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{
"data": {
"profile_description": {
"text": "Indie hacker building SuperX, an X growth platform.",
"enabled": true
},
"interests": [
"indie hacking",
"SaaS",
"AI agents"
],
"rules": "Never use hashtags. Keep posts under 200 characters.",
"reply": {
"custom_instructions": "Be helpful, never salesy.",
"include_author_name": false
},
"voice": {
"favorite_creators": [
{
"screen_name": "levelsio",
"id": "1577241624",
"name": "Pieter Levels",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/example.jpg"
}
],
"use_own_posts_as_examples": true
},
"style_guide": {
"audience_override": null,
"vocabulary_override": null,
"generated": {
"audience": "Bootstrapped SaaS founders and indie hackers.",
"vocabulary": "Plain, direct, numbers-first.",
"generated_at": "2026-07-20T09:00:00.000Z"
}
},
"products": [
{
"id": 3,
"url": "https://superx.so",
"name": "SuperX",
"description": "X growth platform",
"positioning": null,
"features": null,
"updates": null,
"last_scraped_at": "2026-07-25T12:00:00.000Z",
"created_at": "2026-07-01T09:00:00.000Z",
"updated_at": "2026-07-25T12:00:00.000Z"
}
]
}
}{
"error": {
"code": "invalid_api_key",
"message": "Unknown or revoked API key"
}
}{
"error": "subscription_required: The SuperX API requires an active subscription"
}{
"error": {
"code": "account_not_found",
"message": "No account with that id belongs to this key"
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded for the Pro plan (30 requests/min). Upgrade for higher limits.",
"retry_after": 42
}
}{
"error": {
"code": "internal_error",
"message": "Failed to fetch posts"
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch scheduled posts. Try again shortly."
}
}{
"error": {
"code": "upstream_unavailable",
"message": "The scheduling service is temporarily unavailable. Retry with the same Idempotency-Key."
}
}Get context settings
The account’s Context settings in one document: the background SuperX’s AI uses when writing for the account. profile_description grounds the voice and personalizes the daily content mix and search; interests are the highest-priority content topics; rules are mandatory instructions on every AI surface; reply steers generated replies; voice.favorite_creators (max 3) inspire the writing style; style_guide holds the manual overrides plus the read-only generated guide; products (max 5) are mentioned naturally in generated content.
curl --request GET \
--url https://api.superx.so/v1/context \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.superx.so/v1/context"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.superx.so/v1/context', 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.superx.so/v1/context",
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://api.superx.so/v1/context"
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://api.superx.so/v1/context")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superx.so/v1/context")
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{
"data": {
"profile_description": {
"text": "Indie hacker building SuperX, an X growth platform.",
"enabled": true
},
"interests": [
"indie hacking",
"SaaS",
"AI agents"
],
"rules": "Never use hashtags. Keep posts under 200 characters.",
"reply": {
"custom_instructions": "Be helpful, never salesy.",
"include_author_name": false
},
"voice": {
"favorite_creators": [
{
"screen_name": "levelsio",
"id": "1577241624",
"name": "Pieter Levels",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/example.jpg"
}
],
"use_own_posts_as_examples": true
},
"style_guide": {
"audience_override": null,
"vocabulary_override": null,
"generated": {
"audience": "Bootstrapped SaaS founders and indie hackers.",
"vocabulary": "Plain, direct, numbers-first.",
"generated_at": "2026-07-20T09:00:00.000Z"
}
},
"products": [
{
"id": 3,
"url": "https://superx.so",
"name": "SuperX",
"description": "X growth platform",
"positioning": null,
"features": null,
"updates": null,
"last_scraped_at": "2026-07-25T12:00:00.000Z",
"created_at": "2026-07-01T09:00:00.000Z",
"updated_at": "2026-07-25T12:00:00.000Z"
}
]
}
}{
"error": {
"code": "invalid_api_key",
"message": "Unknown or revoked API key"
}
}{
"error": "subscription_required: The SuperX API requires an active subscription"
}{
"error": {
"code": "account_not_found",
"message": "No account with that id belongs to this key"
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded for the Pro plan (30 requests/min). Upgrade for higher limits.",
"retry_after": 42
}
}{
"error": {
"code": "internal_error",
"message": "Failed to fetch posts"
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch scheduled posts. Try again shortly."
}
}{
"error": {
"code": "upstream_unavailable",
"message": "The scheduling service is temporarily unavailable. Retry with the same Idempotency-Key."
}
}Authorizations
A SuperX API key ("sxk_..."), created in the SuperX app under Account > API / MCP / CLI. Keys are server-side secrets.
Query Parameters
Account to act on, from GET /v1/accounts. Defaults to your main account. An id outside your accounts returns 404 account_not_found.
Response
The context document.
The account's Context settings - the background SuperX's AI uses when writing for the account. style_guide.generated is read-only.
Show child attributes
Show child attributes