# Accounts
Source: https://docs.superx.so/accounts
Main, linked and shared accounts, the account_id selector, and degraded responses.
A SuperX user has one **main account** (the X account they signed up with) and may have **linked accounts** they also manage. They may also have **shared accounts**: accounts someone else owns and has shared with them, directly or through a team. API keys belong to the user, and can read data for any of these accounts.
## Listing your accounts
```bash theme={null}
curl https://api.superx.so/v1/accounts \
-H "Authorization: Bearer sxk_..."
```
```json theme={null}
{
"data": [
{
"id": "1178367350552305665",
"username": "mainhandle",
"name": "Main Account",
"avatar_url": "https://pbs.twimg.com/profile_images/example.jpg",
"is_main": true,
"shared": false,
"permission": "full"
},
{
"id": "1299139023923867648",
"username": "brandhandle",
"name": "Brand Account",
"avatar_url": "https://pbs.twimg.com/profile_images/example2.jpg",
"is_main": false,
"shared": false,
"permission": "full"
},
{
"id": "1825496686774358017",
"username": "clienthandle",
"name": "Client Account",
"avatar_url": "https://pbs.twimg.com/profile_images/example3.jpg",
"is_main": false,
"shared": true,
"permission": "editor"
}
],
"pagination": { "page": 1, "limit": 3, "has_more": false }
}
```
`shared` is `true` for accounts another user shared with you (manual shares and team shares alike). `permission` is `full` or `editor` and describes what you may change on that account; your own accounts are always `full`. Revoking a share removes the account from this list within a few minutes.
## Selecting an account
Endpoints that operate on one account accept an `account_id` parameter. Some take it as a query parameter and some as a body field, so check the endpoint in the API reference for where it goes. The value is the account `id` from `/v1/accounts`.
* Omitted: your **main account** is used.
* An `id` from your account list: that account is used.
* Anything else: `404 account_not_found`.
## Writes on your own accounts, reads on every account
Writes work on any account you own: your main account and every account you linked to it. Pass that account's `account_id` on the write, or leave `account_id` out to use your main account. Reads work for every account in the list.
Accounts other people shared with you are read-only through the API. A write that targets one returns `403 writes_main_account_only` (the code is unchanged for compatibility; the message explains the shared-account rule). Run those writes from the SuperX app instead.
Two surfaces have their own rules:
* **Tags** are workspace-wide: one set of tags covers all your linked accounts, so `POST`, `PATCH` and `DELETE /v1/tags` accept only your main account and return `403 writes_main_account_only` for any other `account_id`. The tags you manage there apply everywhere.
* **Context and queue settings** are per-account, and unlike other writes they also accept a shared `account_id`. `PATCH /v1/context` and the `/v1/context/products` endpoints return `403 editor_restricted` on a share with `editor` permission: only the account owner can change what the AI knows about the account. `PATCH /v1/queue-settings` stays open to editor-permission shares, which mirrors the SuperX app, where running the queue is what a delegate is there for.
`POST /v1/media` takes no `account_id`. Uploads belong to you rather than to one X account, so an `object_key` can be attached to a post on any of your accounts.
## The degraded flag
Account links and shares are verified against the SuperX app on each request (with a short cache). If that verification is temporarily unavailable, the API fails closed rather than guessing:
* `GET /v1/accounts` returns only your main account and adds a top-level `"degraded": true` field. Retry shortly for the full list. When the flag is absent, the list is complete.
* Requests for any other `account_id` return `503 accounts_unavailable` until verification recovers. Your main account keeps working throughout.
# Get analytics
Source: https://docs.superx.so/api-reference/analytics/get-analytics
/api-reference/openapi.yaml get /v1/posts/analytics
Totals and a per-day series (posts, engagement, impressions, follower
samples) for the selected account. Totals and series cover the
account's own posts: original posts plus thread continuations, which
are replies to the account's own posts. Replies to other accounts and
reposts are counted separately as replies_sent and reposts_sent, and
every engagement figure is what the counted posts received. Default
range is the last 30 days; the maximum range is 366 days.
# Create an article draft
Source: https://docs.superx.so/api-reference/articles/create-an-article-draft
/api-reference/openapi.yaml post /v1/articles
Creates a draft. `content_markdown` (max 400KB) converts to the article's stored rich-text form: headings (h1-h3), bullet and numbered lists (one nesting level), blockquotes, bold/italic/strikethrough, links, images by http(s) URL, and bare X post URLs alone on a line as embeds. Constructs the format cannot express (code blocks, horizontal rules) degrade to plain text and are reported in a `warnings` array. Non-http(s) image or link URLs are rejected with 400.
Supports `Idempotency-Key` (max 64 chars): retries with the same key and body replay the original response with `Idempotency-Replayed: true`. Works for your main account or any account linked to it (`account_id`); accounts shared with you are read-only.
# Delete an article
Source: https://docs.superx.so/api-reference/articles/delete-an-article
/api-reference/openapi.yaml delete /v1/articles/{id}
Deletes the article. Scheduled articles refund the quota their scheduling deducted. Works for your main account or any account linked to it (`account_id`); accounts shared with you are read-only.
# Edit an article
Source: https://docs.superx.so/api-reference/articles/edit-an-article
/api-reference/openapi.yaml patch /v1/articles/{id}
Partial edit. Only provided fields change. `content_markdown` replaces the WHOLE body. `cover_url` attaches an http(s) image as the cover; `null` removes the cover. Works for your main account or any account linked to it (`account_id`); accounts shared with you are read-only.
# Generate an AI cover image
Source: https://docs.superx.so/api-reference/articles/generate-an-ai-cover-image
/api-reference/openapi.yaml post /v1/articles/{id}/cover
Generates a 2.5:1 cover image from the article's TITLE (a title is required) and, by default, attaches it as the article's cover. `attach: false` generates without touching the current cover; attach later via PATCH `cover_url`. Steer the artwork with `style_id` (one of the account's saved styles, from `GET /v1/cover-styles`) or `style_text` (a one-off description, max 8000 chars) - sending BOTH is a 400, so the request always says exactly which look was rendered. An unknown `style_id` returns 404 `cover_style_not_found`.
Slow (60-100 seconds) and paid: a FLAT 25 AI credits per generation on this API, whatever the render actually costs, reported in `meta.credits_charged` and the `X-Credits-Charged` header. The account's daily and monthly cover caps apply on top and are enforced server-side; cap 429s carry `remaining_day` / `remaining_month` / `limit_day` / `limit_month`, and a credit 429 carries `credits_required` / `credits_remaining` / `reset_at`.
A generation that fails outright is refunded in full. A `504` is different: the render may well have completed and landed in the article's cover history, so the 25 credits stay charged and you should read the article before retrying.
Supports `Idempotency-Key`, recommended. Works for your main account or any account linked to it (`account_id`); accounts shared with you are read-only.
# Get an article
Source: https://docs.superx.so/api-reference/articles/get-an-article
/api-reference/openapi.yaml get /v1/articles/{id}
One article including `content_markdown`. Articles edited in the SuperX editor can carry rich-text constructs markdown cannot express exactly; those degrade to their text content in the markdown view.
# List articles
Source: https://docs.superx.so/api-reference/articles/list-articles
/api-reference/openapi.yaml get /v1/articles
Long-form X Articles for the selected account, newest-updated first. Article bodies do NOT appear in lists; fetch one article for its markdown body.
# List saved cover styles
Source: https://docs.superx.so/api-reference/articles/list-saved-cover-styles
/api-reference/openapi.yaml get /v1/cover-styles
The article cover styles the account saved in the SuperX app: the art
direction of a cover it kept, or a description it typed, with a
thumbnail. Pass a style's `id` as `style_id` to
`POST /v1/articles/{id}/cover` to render in that look.
The style's own prompt text never leaves SuperX: styles are applied
by id, exactly as the app applies them. Styles are saved and deleted
in the app; this endpoint only reads them. Not paginated (styles are
capped per account).
# Publish an article to X now
Source: https://docs.superx.so/api-reference/articles/publish-an-article-to-x-now
/api-reference/openapi.yaml post /v1/articles/{id}/publish
Publishes the article immediately from its STORED title, body, and cover. Irreversible: the article goes live publicly and post quota is spent. Requires X Premium on the connected account; without it the publish fails with 403 `x_premium_required`. X also enforces its own article limits (10 drafts and 5 publishes per day), which surface as 502 `x_publish_failed` with the failure detail.
Supports `Idempotency-Key`, strongly recommended. A 504 `upstream_timeout` is AMBIGUOUS: the publish may still have completed; GET the article and check its status before retrying.
# Schedule or reschedule an article
Source: https://docs.superx.so/api-reference/articles/schedule-or-reschedule-an-article
/api-reference/openapi.yaml post /v1/articles/{id}/schedule
Schedules the article for `scheduled_for` (UTC ISO-8601 with an explicit Z or offset, more than 2 minutes in the future; no maximum horizon). Scheduling a draft deducts post quota, refunded on unschedule or delete. Rescheduling an already scheduled article is a free time-only move. Supports `Idempotency-Key`. Works for your main account or any account linked to it (`account_id`); accounts shared with you are read-only.
# Unschedule an article
Source: https://docs.superx.so/api-reference/articles/unschedule-an-article
/api-reference/openapi.yaml post /v1/articles/{id}/unschedule
Pulls a scheduled article back to draft and refunds exactly the quota its scheduling deducted. Works for your main account or any account linked to it (`account_id`); accounts shared with you are read-only.
# Add a note to a contact
Source: https://docs.superx.so/api-reference/audience/add-a-note-to-a-contact
/api-reference/openapi.yaml post /v1/contacts/{id}/notes
Write a private note about one person. The note is attributed to the
account it was written as (`created_by`), which for an API write is the
account named by `account_id` (your main account when omitted).
Creating a note requires a KNOWN contact: the id must be one of the
account's engagers, contact-list members or signal leads, so an id
outside that set returns 404 `contact_not_found`. This is the only
note operation with that restriction - reading, editing and deleting
work on any id the account already has a note on.
No `Idempotency-Key`: notes have no uniqueness constraint, so a replay
creates a second note. Duplicates are visible in the list read and
deletable. Works for your main account or any account linked to it;
accounts shared with you are read-only. Needs the write scope.
# Delete a note on a contact
Source: https://docs.superx.so/api-reference/audience/delete-a-note-on-a-contact
/api-reference/openapi.yaml delete /v1/contacts/{id}/notes/{noteId}
Returns 204 with no body. Deleting an already-deleted note, or a note
belonging to another contact, returns 404 `note_not_found`. That is
the only check - deleting works on any id the account already has a
note on, whether or not that person is still one of its contacts.
Works for
your main account or any account linked to it; accounts shared with you
are read-only. Needs the write scope.
# Edit a note on a contact
Source: https://docs.superx.so/api-reference/audience/edit-a-note-on-a-contact
/api-reference/openapi.yaml patch /v1/contacts/{id}/notes/{noteId}
Replace one note's body. The note must belong to the contact in the
path: a note id from another contact returns 404 `note_not_found`.
That is the only check - editing works on any id the account already
has a note on, whether or not that person is still one of its
contacts.
Works for your main account or any account linked to it; accounts
shared with you are read-only. Needs the write scope.
# Get one contact
Source: https://docs.superx.so/api-reference/audience/get-one-contact
/api-reference/openapi.yaml get /v1/contacts/{id}
One person's stored profile (handle, name, bio, location, website,
follower counts, verified status) plus the lists you created that they
are a member of, each with the `member_id` the remove endpoints take.
LIMITED TO THE ACCOUNT'S KNOWN CONTACTS. The id must be someone the
selected account has a relationship with: a person who has replied to
or reposted its posts, a member of one of its contact lists (manual or
system), or a scored signal lead. Any other id returns 404
`contact_not_found`, even when SuperX holds a cached profile for it -
this is not a general X profile lookup.
The default read serves the stored profile and costs one read.
`refresh=true` refreshes a stale profile from X and therefore also
counts against the tighter live-contact-enrichment limit, the same
bucket `POST /v1/contact-lists/{id}/members` uses. The `refresh=true`
enrichment unit is charged only after the contact gate passes, so an
id outside your contacts does not spend one.
# List engaged contacts
Source: https://docs.superx.so/api-reference/audience/list-engaged-contacts
/api-reference/openapi.yaml get /v1/contacts
People who engaged with the selected account over the moving 90-day window, with reply and repost tallies.
# List notes on a contact
Source: https://docs.superx.so/api-reference/audience/list-notes-on-a-contact
/api-reference/openapi.yaml get /v1/contacts/{id}/notes
The private notes this account has written about one person, newest
first. Notes live inside SuperX and are never posted anywhere. Not
paginated: notes are per-contact and few.
Works for any X id the account already has a note on, whether or not
that person is still one of its contacts; an id with no notes returns
an empty array, not a 404. Only creating a note requires a known
contact.
# List one contact's replies to you
Source: https://docs.superx.so/api-reference/audience/list-one-contacts-replies-to-you
/api-reference/openapi.yaml get /v1/contacts/{id}/replies
The stored reply history from one contact to the selected account, with the replied-to post when available.
# List replies you received
Source: https://docs.superx.so/api-reference/audience/list-replies-you-received
/api-reference/openapi.yaml get /v1/replies/received
Every stored reply the selected account has received across all of its posts, with the replier's profile and the replied-to post when available.
# Read an audience list
Source: https://docs.superx.so/api-reference/audience/read-an-audience-list
/api-reference/openapi.yaml get /v1/audience/{kind}
A page of the account's followers, following, repliers or reposters
from SuperX's synced snapshot.
These four are the system lists in the app's Contacts tab. They live
in SuperX's own audience store rather than in the contact lists you
create, which is why `/v1/contact-lists/{id}/members` will not read
them and this endpoint exists.
Paging is by CURSOR, not page number: pass `pagination.next_cursor`
back as `cursor` to continue. A cursor points at the last row of the
page you were given, so new rows arriving mid-walk never shift the
pages you already read. There is no `total`; `meta.synced_count` is
the size of the whole list.
`followers` and `following` come from the follow graph SuperX syncs
for the account, so `meta` reports the sync `status`, the plan's
`backfill_cap` and whether the account is deeper than that cap.
`repliers` and `reposters` are a rolling 90-day window
(`meta.window_days`), so someone whose last reply ages past 90 days
drops out and reappears on their next reply.
`engaged_count` is replies plus reposts in the last 90 days for the
follow lists, and this list's own action count for `repliers` and
`reposters`. `icp_score` and `icp_rationale` are always null here:
scoring belongs to signal-agent deposits, not to the snapshot.
# Add a contact list member
Source: https://docs.superx.so/api-reference/contact-lists/add-a-contact-list-member
/api-reference/openapi.yaml post /v1/contact-lists/{id}/members
Add a person to a list you created, by `handle` (live profile lookup)
or by `x_user_id` (numeric X user id already known to SuperX).
Exactly one of the two. Naturally idempotent: adding someone already
in the list returns 200 with the existing member and
`duplicate: true`, and writes nothing. Works for your main account or any account linked to it
(`account_id`); accounts shared with you are read-only.
Needs the write scope. No `Idempotency-Key` support (none is
needed).
Counts against a separate live-contact-enrichment rate limit (varies
by plan), in addition to the normal write limits.
# Add contact list members in bulk
Source: https://docs.superx.so/api-reference/contact-lists/add-contact-list-members-in-bulk
/api-reference/openapi.yaml post /v1/contact-lists/{id}/members/bulk
Add up to 500 people to a list you created, by numeric X user id.
This endpoint does NO live profile lookup, which is why it costs one
write and no enrichment: it builds each member from the profile SuperX
already stores. Ids SuperX has never seen come back in `not_found` and
are NOT added, so no placeholder members are ever created. Add those
one at a time with `POST /v1/contact-lists/{id}/members` and a
`handle`, which does resolve live (and costs one enrichment unit).
Re-adding an existing member is counted in `duplicates`, never an
error. Duplicate ids inside one call are collapsed. System lists return
400 `system_list_read_only`.
Works for your main account or any account linked to it (`account_id`);
accounts shared with you are read-only. Needs the write scope.
# Create a contact list
Source: https://docs.superx.so/api-reference/contact-lists/create-a-contact-list
/api-reference/openapi.yaml post /v1/contact-lists
Create a list you can add people to. Names are NOT unique: the SuperX
app allows two lists with the same name and this endpoint matches it,
so read `GET /v1/contact-lists` first if the caller expects one list
per name. No `Idempotency-Key`: a replay creates a second list, which
is visible in the index and deletable.
Works for your main account or any account linked to it (`account_id`);
accounts shared with you are read-only. Needs the write scope.
# Delete a contact list
Source: https://docs.superx.so/api-reference/contact-lists/delete-a-contact-list
/api-reference/openapi.yaml delete /v1/contact-lists/{id}
Delete a list you created, and with it its membership. The people
themselves are untouched, but a signal agent depositing into this list
stops until it is repointed in the SuperX app. Returns 204 with no
body; a second delete returns 404 `list_not_found`. System lists return
400 `system_list_read_only`.
Works for your main account or any account linked to it (`account_id`);
accounts shared with you are read-only. Needs the write scope.
# List contact list members
Source: https://docs.superx.so/api-reference/contact-lists/list-contact-list-members
/api-reference/openapi.yaml get /v1/contact-lists/{id}/members
Members of one contact list you created. Includes a 90-day
`engaged_count` (replies + reposts to the account) per member.
System lists return 400 `system_list_not_supported`.
# List contact lists
Source: https://docs.superx.so/api-reference/contact-lists/list-contact-lists
/api-reference/openapi.yaml get /v1/contact-lists
The selected account's contact lists: system lists first (Followers,
Following, Repliers, Reposters; `is_system: true` with a `kind`), then
lists you created, newest first. System lists are read-only and
index-only: their members are not readable through the API and
`member_count` is 0 for them.
# Remove a contact list member
Source: https://docs.superx.so/api-reference/contact-lists/remove-a-contact-list-member
/api-reference/openapi.yaml delete /v1/contact-lists/{id}/members/{memberId}
Remove a member from a list you created. Returns 204 with no body.
Removing an already-removed member returns 404 `member_not_found`.
Works for your main account or any account linked to it
(`account_id`); accounts shared with you are read-only.
Needs the write scope.
# Remove contact list members in bulk
Source: https://docs.superx.so/api-reference/contact-lists/remove-contact-list-members-in-bulk
/api-reference/openapi.yaml post /v1/contact-lists/{id}/members/bulk-delete
Remove up to 500 members from a list you created, by member id (the
`id` from `GET /v1/contact-lists/{id}/members`).
POST rather than DELETE because the ids travel in a body. The delete is
scoped to this list, so ids that are not in it are skipped and
`deleted` can be lower than the number you sent. There is deliberately
no "delete everything matching a filter" mode. System lists return 400
`system_list_read_only`.
Works for your main account or any account linked to it (`account_id`);
accounts shared with you are read-only. Needs the write scope.
# Rename a contact list
Source: https://docs.superx.so/api-reference/contact-lists/rename-a-contact-list
/api-reference/openapi.yaml patch /v1/contact-lists/{id}
Rename a list you created. System lists are managed automatically and
return 400 `system_list_read_only`. Works for your main account or any
account linked to it (`account_id`); accounts shared with you are
read-only. Needs the write scope.
# List published posts
Source: https://docs.superx.so/api-reference/content/list-published-posts
/api-reference/openapi.yaml get /v1/posts
# List replies you sent
Source: https://docs.superx.so/api-reference/content/list-replies-you-sent
/api-reference/openapi.yaml get /v1/replies
Replies the selected account sent to other accounts, newest first. A
reply to one of your own posts is a thread continuation, a post in its
own right: it is listed under `GET /v1/posts` and never here.
Page 1 of an unfiltered listing also includes replies sent from the
SuperX app's Engage tab in the last 4 hours. Those live only in
SuperX until X reports the post back, so without them the newest
replies would be missing here while the app already shows them. They
carry `metrics_pending: true` with all-zero `metrics` (nothing is
measured yet), and because they are prepended, page 1 can return more
than `limit` items; `has_more` still describes the stored replies
only. Later pages and any `since`/`until` query never include them.
Merged replies are deduplicated against page 1 only, so one that has
already been stored and pushed onto page 2 can appear twice across
pages: deduplicate by `id` if you page through the whole list.
# Add or edit one product
Source: https://docs.superx.so/api-reference/context/add-or-edit-one-product
/api-reference/openapi.yaml patch /v1/context/products/{id}
Edits one product without touching the others. `{id}` is either a numeric product id (from GET /v1/context) or a URL-encoded product url. By url the call upserts: it edits the product with that url or creates it when it does not exist yet (cap 5) - this is the single-product create path. Only the fields you send change; `null` clears a field.
# Get context settings
Source: https://docs.superx.so/api-reference/context/get-context-settings
/api-reference/openapi.yaml get /v1/context
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.
# Rebuild the generated style guide
Source: https://docs.superx.so/api-reference/context/rebuild-the-generated-style-guide
/api-reference/openapi.yaml post /v1/context/style-guide/regenerate
Rewrites the account's GENERATED style guide from its recent posts,
the same way the Style Guide button on the SuperX app's Context page
does. The result is exactly the `style_guide.generated` block
`GET /v1/context` returns.
Your manual overrides (`style_guide.audience_override` and
`vocabulary_override`) are untouched and keep outranking the
generated guide everywhere.
Free: no AI credits are charged, so no `X-Credits-Charged` header is
sent. `X-Credits-Remaining` and `X-Credits-Reset` still are.
Three ceilings apply, all reported as `429 ai_action_limited`.
Regeneration is limited to once an hour per account
(`scope: "account"`; the hour runs from the last SUCCESSFUL run). An
account with fewer than 5 recent posts stored in SuperX has them read
live instead: that live read is limited to 3 attempts per account per
day (`scope: "account"`, resets at midnight UTC) and also draws on the
platform-wide fair-use ceiling shared by every account
(`scope: "platform"`). An account with enough stored posts meets
neither of the last two. Takes up to a minute.
# Refresh a product from its page
Source: https://docs.superx.so/api-reference/context/refresh-a-product-from-its-page
/api-reference/openapi.yaml post /v1/context/products/{id}/scrape
Re-reads a saved product's page and refreshes its stored name,
description and details, the same way the SuperX app's Context page
does. The url comes from the SAVED product, never from the request:
change it with `PATCH /v1/context/products/{id}` first if it moved.
Free: no AI credits are charged, so no `X-Credits-Charged` header is
sent. The read runs on the account's allowance of 20 page reads a
day, shared with the SuperX app, so an exhausted allowance returns
`429 ai_action_limited` with `scope: "account"`. Takes up to a minute.
Returns the refreshed product, with a new `last_scraped_at`.
# Remove one product
Source: https://docs.superx.so/api-reference/context/remove-one-product
/api-reference/openapi.yaml delete /v1/context/products/{id}
Removes one product by its numeric id (from GET /v1/context). Reversible: re-adding the same url via PATCH or PUT restores the product with its scraped details intact.
# Replace the product list
Source: https://docs.superx.so/api-reference/context/replace-the-product-list
/api-reference/openapi.yaml put /v1/context/products
Reconciles the account's products to exactly the submitted list (max 5). CAUTION: this is a FULL REPLACE by url - any existing product whose url is missing from the payload is removed. To edit one product without touching the others, use PATCH /v1/context/products/{id}. Removal is reversible: re-adding the same url restores the product with its scraped details intact. Fields are written only when present; `null` clears a field.
# Update context settings
Source: https://docs.superx.so/api-reference/context/update-context-settings
/api-reference/openapi.yaml patch /v1/context
Edit any subset of the Context settings; only the fields you send change. Strings accept `null` to clear (style-guide overrides then revert to the generated guide). Arrays fully REPLACE the stored list: send every value the account should keep, `[]` clears. `voice.favorite_creators` takes X usernames (with or without @, as bare strings or as the { screen_name } objects GET returns); SuperX resolves names and avatars. Unlike most write endpoints, context writes accept `account_id` for any linked or shared account; on a share with `editor` permission they return `403 editor_restricted`, because only the account owner may change what the AI knows. These settings shape all future AI output for the account. Returns the full updated document.
# Add a dataset's people to a contact list
Source: https://docs.superx.so/api-reference/datasets/add-a-datasets-people-to-a-contact-list
/api-reference/openapi.yaml post /v1/datasets/{id}/contacts
Copy the people in a ready dataset into a contact list you created.
Costs ONE WRITE and no enrichment: the profiles come from the dataset
the collection already hydrated, which is why people SuperX has never
stored still land in the list.
People are deduped by X account id before the write, and rows without
an X account id or a usable handle are counted in
`skipped_without_id` rather than added as blank members, so
`added + duplicates` can be lower than the dataset's `row_count`.
Re-running is safe: people already in the list come back in
`duplicates`.
Own-content datasets (your posts, your replies) hold no people and
return 400 `dataset_has_no_people`; so does a dataset whose rows all
lack an X account id. A dataset that is not `ready` returns 409
`dataset_not_ready`, and a system list returns 400
`system_list_read_only`.
Works for your main account or any account linked to it
(`account_id`); accounts shared with you are read-only. Needs the
write scope.
# Collect an audience into a dataset
Source: https://docs.superx.so/api-reference/datasets/collect-an-audience-into-a-dataset
/api-reference/openapi.yaml post /v1/datasets
Collect the repliers, quote posters or reposters of a post, the
members of a public X list, or the account's own posts or replies,
into a stored dataset you can then read, export, or copy into a
contact list.
`source: "research"` is the exception: instead of walking an audience
it reads people's recent posts and writes a short outreach brief for
each one (what they do, what they are building, recent topics,
personalization hooks that QUOTE their real posts, and an opener
angle). Give it exactly one source - `handles`, `list_id`, `agent_id`
or `dataset_id` - plus optional `focus`, `title` and `max_rows` (1-25,
default 10). The briefs land as an ordinary dataset, so
`GET /v1/datasets/{id}/rows`, `/export` and `/contacts` read them
unchanged. More than 5 profiles research in the background and answer
`202`. If none of them could be researched, the answer is `200` with
`data: null`, the reasons in `meta.skipped`, and every credit
returned.
**This endpoint can answer before the work is finished.** A small
collection runs inside the request and answers `200` with a `ready`
dataset. A big one, **or one whose size cannot be established up
front**, answers `202` with a `collecting` dataset: poll
`GET /v1/datasets/{id}` until `status` is `ready` (or `failed`) before
reading its rows. Only one background collection runs per account at a
time; a second one gets `409 collection_in_progress`.
If nothing matched the filters, the response is `200` with
`data: null` and a `note`: no dataset is created for an empty result,
and the daily collection slot is given back.
`my_posts` and `my_replies` read the account's own synced posts: they
take no `target`, always finish inside the request, and ignore the
profile filters (the response `note` says so rather than dropping them
silently).
**Cost.** Every collection counts against a limit of 10 per day for
the account, shared with the collections Ask SuperX runs in the app
(`429 collection_quota_exceeded`). Collections that read X also spend
the enrichment allowance: one unit for the size estimate, plus the
pages the walk is expected to need, all charged before the walk
starts so `X-RateLimit-Remaining` stays honest about work that
outlives the response. Own-content collections spend nothing.
**Research is charged in AI credits, not collections.**
`source: "research"` costs a flat 1 credit per profile ACTUALLY
researched: profiles that could not be researched come back in
`meta.skipped` and their credits are returned. It spends one of the
plan's daily profile-research runs (`429 ai_action_limited` with
`scope: "account"`) and a slice of a platform-wide fair-use ceiling on
live-data actions shared by every SuperX account
(`429 ai_action_limited` with `scope: "platform"`), and it does NOT
count against the 10 collections a day. An empty credit pool is
`429 ai_credits_exhausted`. What was charged comes back in
`meta.credits_charged` and in the `X-Credits-*` headers on the `200`;
a background research run settles when it finishes, so its `202`
carries neither, and the figure lands on `GET /v1/me` and your ledger.
Datasets created here appear alongside the ones Ask SuperX built, and
are kept for 30 days.
Send an `Idempotency-Key` header to make retries safe: the same key
with the same body replays the first response with
`Idempotency-Replayed: true`, and the same key with a different body
is rejected with `409 idempotency_key_reuse`.
# Draft outreach messages onto a research dataset
Source: https://docs.superx.so/api-reference/datasets/draft-outreach-messages-onto-a-research-dataset
/api-reference/openapi.yaml post /v1/datasets/{id}/outreach-drafts
Writes one personalized message per person in a research dataset,
following the `format` you supply.
**The drafts are text and nothing is sent.** Each message is stored on
the dataset's `message` column and read back with
`GET /v1/datasets/{id}/rows`. No endpoint in this API sends a DM, and
this one does not either: a person reviews the messages and sends them
from the SuperX app.
Personalization comes only from that person's stored brief and its
verbatim hook quotes, never invented details. A brief with no usable
hook gets an honest generic message that still follows your format,
counted separately in `generic`. `[name]`, `[first]` and `[handle]`
tokens are left intact for per-recipient fill-in at send time.
A message that mentions a DIFFERENT recipient's handle is discarded
rather than stored (counted in `contaminated`); run the endpoint again
to retry those rows. Re-running overwrites every draft on the dataset.
The dataset must have been created with `source: "research"` and be
`ready`. Costs AI credits (measured, usually a few) and spends no
live-data allowance: the briefs are already stored. Needs a key with
the `write` scope.
# Export a dataset as CSV
Source: https://docs.superx.so/api-reference/datasets/export-a-dataset-as-csv
/api-reference/openapi.yaml get /v1/datasets/{id}/export
The whole dataset as a CSV file.
This response is NOT wrapped in the `data` envelope: the body is the
raw CSV, with a `Content-Disposition` filename matching the app
download's naming pattern
(`superx-dataset-
-.csv`). Treat the name as a
convenience, not a contract: unusual titles can slug differently from
the app's own download. Only the columns listed
in `columns` are exported (the `user_id` and `avatar` extras stay
out, exactly like the app download).
CSV is the only format here; XLSX downloads stay in the SuperX app.
A dataset that is not `ready` returns 409 `dataset_not_ready`.
# Get a dataset
Source: https://docs.superx.so/api-reference/datasets/get-a-dataset
/api-reference/openapi.yaml get /v1/datasets/{id}
One dataset's status, counts and coverage.
Every status answers 200, so this is the endpoint to poll while a
collection runs: `collecting` carries live `progress`, `failed`
carries a `failure_note`, and `ready` carries the honest `coverage`
sentence and the `filters` the collection applied. The counts on a
collecting dataset are not final.
# Get dataset rows
Source: https://docs.superx.so/api-reference/datasets/get-dataset-rows
/api-reference/openapi.yaml get /v1/datasets/{id}/rows
A page of a ready dataset's rows.
Rows come back exactly as the collection stored them: the keys listed
in the dataset's `columns`, plus `user_id` (the X account id as a
string) and `avatar` on people datasets. Text fields are not
shortened.
Each call parses the whole dataset (up to about 5MB), so page through
with `limit` and `page` rather than looping at `limit=1`. A dataset
that is not `ready` returns 409 `dataset_not_ready`.
# List datasets
Source: https://docs.superx.so/api-reference/datasets/list-datasets
/api-reference/openapi.yaml get /v1/datasets
The audience collections Ask SuperX built for the key owner in the
app: the repliers, quoters or reposters of a post, the members of an
X list, the owner's own posts or replies, or a research brief.
Newest first, expired datasets excluded.
Datasets belong to the person, not to one X account, so there is no
`account_id` parameter here. The account a collection ran as is
reported as `x_account_id`.
Datasets are kept for 30 days and are created in the SuperX app for
now; this API reads them and can copy the people in one into a
contact list.
# Refine a dataset by what each person wrote
Source: https://docs.superx.so/api-reference/datasets/refine-a-dataset-by-what-each-person-wrote
/api-reference/openapi.yaml post /v1/datasets/{id}/refine
Judges each row's own text against a natural-language `criterion` and
keeps or drops it, then optionally sorts and caps what is left into a
NEW dataset. The source dataset is never modified.
Only datasets whose rows carry text can be refined this way (a
repliers or quoters collection). Anything else answers `400`: use the
profile filters on `POST /v1/datasets` instead.
Rows the classifier cannot judge confidently are **kept** and counted
as `unclear`, never silently dropped. Classification is best-effort:
read the kept rows before acting on them.
**This endpoint can answer before the work is finished.** Up to 100
rows with text classify inside the request and answer `200`; more than
that answers `202` with a `collecting` dataset to poll through
`GET /v1/datasets/{id}`. If nothing was kept, the answer is `200` with
`data: null` and a `note`.
**Cost.** A refinement creates a dataset, so it counts against the
same 10 collections a day this account shares with Ask SuperX
(`429 collection_quota_exceeded`), and it costs AI credits, measured
from the classifier's real cost. It spends no live-data allowance.
Needs a key with the `write` scope.
# Cancel a campaign's unsent messages
Source: https://docs.superx.so/api-reference/dms/cancel-a-campaigns-unsent-messages
/api-reference/openapi.yaml delete /v1/dm/campaigns/{id}
Deletes every message of this campaign still waiting to go out,
queued-for-now and scheduled-for-a-later-day alike, and releases the
monthly allowance they were holding.
Messages already sent are untouched and cannot be recalled, and one
the scheduler has already picked up (`sending`) cannot be stopped. A
campaign that exists but has nothing left to cancel (everything
already sent, failed or cancelled) answers `cancelled: 0`; an id that
never queued anything on this account answers
`404 campaign_not_found`.
# DM allowances and usage
Source: https://docs.superx.so/api-reference/dms/dm-allowances-and-usage
/api-reference/openapi.yaml get /v1/dm/limits
The account's DM caps and how much of each is used. These are PLAN
limits, not AI credits, and nothing here is charged.
`monthly.committed` is the messages already queued and not yet sent:
they are held against the monthly allowance until they go out or are
cancelled. `posts_with_auto_dm` is the separate cap on how many
scheduled posts a month may carry an `auto_dm`.
# List the DM queue
Source: https://docs.superx.so/api-reference/dms/list-the-dm-queue
/api-reference/openapi.yaml get /v1/dm/queue
The account's bulk DM rows, newest first: what is waiting, what went
out and what failed. Rows queued in the SuperX app appear here too,
with `campaign_id: null`.
`meta.total` counts the rows matching your filters; `meta.pending` is
the account's whole unsent count, the figure the app shows.
# Queue a DM campaign
Source: https://docs.superx.so/api-reference/dms/queue-a-dm-campaign
/api-reference/openapi.yaml post /v1/dm/campaigns
Queues direct messages to up to 100 X users.
NOTHING IS SENT BY THIS CALL. The messages go into the account's own
DM queue, the same one the SuperX app fills, and the app's scheduler
sends them within the account's daily and monthly DM limits. The 201
is therefore COUNTS, not deliveries: read
`GET /v1/dm/campaigns/{id}` to see what has actually gone out.
`[name]`, `[first]` and `[handle]` in the message are filled in per
recipient. A recipient may carry its own `message`, which wins over
the shared one; when every recipient has one, the top-level `message`
may be omitted.
People this account already messaged in the last 24 hours are skipped
and counted in `duplicates`, and the sending account is never
messaged. `spread: false` (the default) queues only what today's
remaining daily allowance holds and skips the rest; `spread: true`
places the rest over the coming days, up to 30 days ahead.
When EVERY recipient is skipped, nothing is queued: the answer is
`200` with `data.id: null` and a note saying so, rather than a `201`
carrying an id that would resolve to nothing.
Costs no AI credits. It counts against the writes rate-limit bucket
and against the account's own DM allowances
(`GET /v1/dm/limits`). Takes up to 30 seconds.
With an `Idempotency-Key`, the campaign id IS the reservation id, so a
retry after a timeout converges on the same campaign instead of
orphaning the rows the first attempt queued.
You are responsible for these messages under X's rules on automation
and unsolicited contact.
# Read one DM campaign
Source: https://docs.superx.so/api-reference/dms/read-one-dm-campaign
/api-reference/openapi.yaml get /v1/dm/campaigns/{id}
The messages this campaign queued, with a count per status.
`pending` has not gone out yet and can still be cancelled;
`sending` is in flight and cannot be stopped.
The rows ARE the campaign, so a campaign whose messages have all been
cancelled returns `404 campaign_not_found`.
# Create an Engage feed
Source: https://docs.superx.so/api-reference/engage/create-an-engage-feed
/api-reference/openapi.yaml post /v1/engage/feeds
Save a new Engage feed on the account: a set of keywords, a public X
list, or one of the account's own contact lists. The feed appears in
`GET /v1/engage/feeds`, can be fetched with
`GET /v1/engage/feeds/{id}/posts`, and shows up for the person in the
SuperX app's Engage tab.
The new feed does NOT become the feed the app has open: the API must
not move someone's view while they are working in it. The response
carries the account's current `active` feed unchanged.
Send exactly ONE source: `keywords` (1-5), `x_list_id` or
`x_list_url`, or `list_id`. `type` must agree with the fields you
send. An X list is looked up live and only PUBLIC lists are accepted,
so those calls also consume one unit of the tighter enrichment
allowance; keyword and contact-list feeds consume none. Up to 8 feeds
per account. Works for your main account or any account linked to it
(`account_id`); accounts shared with you are read-only.
# Delete an Engage feed
Source: https://docs.superx.so/api-reference/engage/delete-an-engage-feed
/api-reference/openapi.yaml delete /v1/engage/feeds/{id}
Remove a saved feed. If it was the feed the SuperX app has open, the
first remaining feed takes over (or none, when the last feed goes).
Posts the feed surfaced are not stored on it and are unaffected.
Deleting the same id again returns 404 `feed_not_found`. Works for
your main account or any account linked to it (`account_id`);
accounts shared with you are read-only.
# Draft one reply to a post
Source: https://docs.superx.so/api-reference/engage/draft-one-reply-to-a-post
/api-reference/openapi.yaml post /v1/engage/reply-draft
Writes ONE reply draft in the account's own voice, using the same
engine, prompts and voice settings as the Generate Reply button in the
SuperX app.
**The draft is text. A person posts it.** No endpoint in this API
posts a reply, and this one does not either: it returns wording for
someone to read, edit and send from X or from the SuperX app. Sending
replies that read as inauthentic can get an X account suspended under
X's inauthentic-behavior rules and a SuperX account terminated. AI
output must be reviewed and meaningfully edited by a person before it
is posted.
Name the post exactly one of two ways:
- `post_id` reads the post LIVE, so the draft sees the real text, the
real author and the quoted post if there is one. That read costs one
live lookup on top of the credit, from the same allowance the
`/v1/x/*` endpoints use.
- `post` supplies the text (and optionally the author) yourself, and
nothing is read live.
Add `conversation` (oldest first) when the post sits in a thread, and
`quoted_post` when it quotes something you already have. `thoughts` is
what the person wants the reply to convey: ask them for it rather than
inventing an opinion on their behalf. `tone` picks the register.
Costs AI credits, measured from the models' real cost and typically 2
(the reply write plus the shared post-editor pass that runs after it).
Needs a key with the `write` scope. Accounts shared with you work
here: the draft changes nothing on the account, and the credits come
from the key owner's pool.
# Get mentions of the account
Source: https://docs.superx.so/api-reference/engage/get-mentions-of-the-account
/api-reference/openapi.yaml get /v1/engage/mentions
The posts that @-mention the selected account right now, newest first
(or ranked by engagement with `sort=top`), each with the post it
replies to and one further level of ancestry.
This reads X live rather than SuperX's stored posts, and one call
walks several upstream pages plus the parent posts, so it charges a
flat 3 units of the plan's feed bucket. Read a page and work from it
rather than polling.
By default, mentions the account has already replied to on X are left
out. `include_replied=true` keeps them and sets `replied` on each one.
`mention_type` separates a direct reply to one of the account's posts
(`reply`) from any other @-mention (`mention`).
Paging is by cursor: pass `pagination.next_cursor` back as `cursor`.
The app's Mentions tab also hides posts you skipped or blocked there.
That list is a UI preference stored with the app, so it is not applied
here: the API returns every mention and lets you filter your own way.
# Get posts from an Engage feed
Source: https://docs.superx.so/api-reference/engage/get-posts-from-an-engage-feed
/api-reference/openapi.yaml get /v1/engage/feeds/{id}/posts
Candidate posts from one saved feed, with the author profile and
engagement metrics you need to score them for relevance, author size
and recency.
Paging works through `exclude_post_ids`, not page numbers: pass the
ids you already hold to get the next batch. There is no `pagination`
object; `has_more` tells you whether the feed had more to give.
`limit` applies to keyword feeds. List feeds ignore it upstream and
return one page per fetch: about 10 posts for a member list, 20 to 25
for an imported X list (`limit` only trims that page). The size
follows the list's resolved kind rather than the feed's `type`, so a
`list` feed backed by a pure imported X list pages like an `x_list`
feed. Page list feeds with `exclude_post_ids` instead of raising
`limit`.
Each fetch charges the plan's feed bucket, and a list feed that
rotates its members costs 3 units instead of 1. On a keyword feed a
50-post page costs exactly the same as a 20-post page, so ask for
`limit=50` a few times a day and filter on your side rather than
polling; feeds refresh over hours, so fetching more often than
hourly returns the same posts. Feed fetches also run a few at a time
across all API users; on a `429` with `Retry-After`, wait and retry.
The bucket is charged before the fetch, so a fetch that then fails
upstream still costs its units.
Posts returned here count as seen and are demoted in later fetches.
On a list feed, paging with `exclude_post_ids` also advances, and
`fresh=true` resets, the same list cursor the SuperX app uses, so
both move the position a person browsing that feed in the app sees.
A plain fetch after a pause resets that cursor too, matching the
app's own session timeout.
Read-only by design. These endpoints return feed candidates for a
person to review; replies are written and sent by a person in the
SuperX app, which is why there is no reply endpoint here. Sending
spammy, automated, or AI-generated replies that read as inauthentic
may get your X account suspended under X's inauthentic-behavior
rules and your SuperX account terminated. AI suggestions must be
reviewed and meaningfully edited before they are sent, and you are
solely responsible for what you post. Reply activity is logged and
may be audited.
# List Engage feeds
Source: https://docs.superx.so/api-reference/engage/list-engage-feeds
/api-reference/openapi.yaml get /v1/engage/feeds
The account's saved Engage feeds: the keyword and list feeds it
browses in the SuperX app's Engage tab. Feeds are created and edited
in the app; this endpoint only reads them. `fetch_units` is what one
fetch of that feed costs against the feed bucket (list feeds count as
up to 3, resolved exactly at fetch time). This endpoint never touches
the feed bucket itself.
Read-only by design. These endpoints return feed candidates for a
person to review; replies are written and sent by a person in the
SuperX app, which is why there is no reply endpoint here. Sending
spammy, automated, or AI-generated replies that read as inauthentic
may get your X account suspended under X's inauthentic-behavior
rules and your SuperX account terminated. AI suggestions must be
reviewed and meaningfully edited before they are sent, and you are
solely responsible for what you post. Reply activity is logged and
may be audited.
# Update an Engage feed
Source: https://docs.superx.so/api-reference/engage/update-an-engage-feed
/api-reference/openapi.yaml patch /v1/engage/feeds/{id}
Rename a saved feed, replace what it watches, or both. Send at most
ONE source family per call (`keywords`, `x_list_id`/`x_list_url`, or
`list_id`); two families in one body is a 400, because the intent is
ambiguous. The feed keeps its id and its place in the account's feed
list, so a feed may change type and anything holding its id keeps
working. The active feed is not changed.
Swapping in an X list is a live lookup (public lists only) and
consumes one unit of the enrichment allowance. Naturally idempotent,
so there is no `Idempotency-Key` support. Works for your main account
or any account linked to it (`account_id`); accounts shared with you
are read-only.
# Get the key owner
Source: https://docs.superx.so/api-reference/identity/get-the-key-owner
/api-reference/openapi.yaml get /v1/me
Returns the key owner, their plan, the calling key's name and scopes, and the AI credit pool.
# List your accounts
Source: https://docs.superx.so/api-reference/identity/list-your-accounts
/api-reference/openapi.yaml get /v1/accounts
The accounts this key may act on: your main account plus any linked
accounts. When linked accounts cannot be verified, the response degrades
to the main account only and carries a top-level `degraded: true` flag;
retry shortly for the full list.
# Search the inspiration library
Source: https://docs.superx.so/api-reference/inspiration/search-the-inspiration-library
/api-reference/openapi.yaml get /v1/inspiration
Search a library of 50M+ real high-performing posts by topic. Use the
results for structures, hooks and angles to remix, never to copy.
The library is user-level, so there is no `account_id` parameter.
Results are relevance-ranked: the strongest matches come first, more
loosely related posts after. A page can return fewer posts than
`limit` once weak and promotional matches are removed. Pagination is
heuristic; `has_more` means more library pages may exist (pages run
1 to 7).
Each result carries an `outlier_score`: the post's engagement rate
divided by the expected rate for its author's follower tier, rounded
to 1 decimal (1.0 = expected, 3.0 = three times expected, higher =
overperformed). Null when the author's follower count is unknown.
# Search the inspiration media index
Source: https://docs.superx.so/api-reference/inspiration/search-the-inspiration-media-index
/api-reference/openapi.yaml get /v1/inspiration/media
Search the cross-platform media index behind the SuperX app's
Inspiration > Media tab: short-form video and image posts from X,
Instagram, YouTube, Threads, Reddit and LinkedIn, with captions, a
content summary and engagement counts. Use it for visual format and
hook research, never to copy.
Media file URLs are not exposed through the API; open `source_url`
for the original post.
Owner-scoped, so there is no `account_id`. Omit `q` to BROWSE the
newest media instead of searching; `meta.mode` reports which ran, and
only `search` results carry a `score`. Unlike the app there is no
personalisation: the app fills an empty search box from the signed-in
person's profile and click history, which an owner-scoped key has no
equivalent of.
There is NO pagination: the index returns at most 120 items per
query, and `limit` only trims that. Ask for the 120 and filter on
your side rather than looking for a page parameter.
Counts as a read and costs no enrichment units. The media index has
two caps of its own, per account: a burst of 20 refilling one every
3 seconds, and 500 FRESH searches per UTC day. Repeats of a recent
identical search are served from a short-lived cache and do not count
against the daily cap. Both return `429 rate_limited` with
`Retry-After`.
# Presign an image upload
Source: https://docs.superx.so/api-reference/media/presign-an-image-upload
/api-reference/openapi.yaml post /v1/media
Registers an image upload and returns a presigned `upload_url`. PUT
the raw file bytes to `upload_url` within 20 minutes, with the
`Content-Type` header set to the same `file_type` you declared here.
Then reference the returned `object_key` in `parts[].media` on the
scheduled-posts create/update endpoints.
Images only: `image/jpeg`, `image/png`, `image/webp` (5 MB max each)
and `image/gif` (15 MB max). The attach step re-checks the real bytes
(size and magic-byte type), so a mismatched upload fails at attach
time. Uploads never attached to a post are deleted after 24 hours.
Needs the write scope. Quota: 100 uploads per key per day, on top of
the normal write rate limits. No `Idempotency-Key` handling: a
duplicate presign is just an unused upload that expires.
# Machine-readable quickstart
Source: https://docs.superx.so/api-reference/meta/machine-readable-quickstart
/api-reference/openapi.yaml get /v1/docs
A short markdown quickstart (auth header, base URL, endpoint list, rate limits). No authentication required.
# Get queue settings
Source: https://docs.superx.so/api-reference/queue/get-queue-settings
/api-reference/openapi.yaml get /v1/queue-settings
The account's posting schedule: the predefined time slots the queue fills and the timezone they run in (the Edit Queue modal in the SuperX app). `slots` are `{ time, days }` entries with 0 = Sunday, sorted by time; `slot_count` is the total number of time and day pairs. `timezone_is_default` and `slots_are_default` are true when the account has never set that value and SuperX is using its own default. Works for your main account, a linked account, or an account shared with you.
# Update queue settings
Source: https://docs.superx.so/api-reference/queue/update-queue-settings
/api-reference/openapi.yaml patch /v1/queue-settings
Changes the account's posting schedule. Send `slots`, `timezone`, or both; only what you send changes. `slots` is a FULL REPLACE (max 50 entries, one per unique time, each with at least one weekday, 0 = Sunday); `[]` clears every predefined slot and leaves the queue all-custom.
Changing `slots` also RE-FLOWS the queue the way the app does: a queued post sitting exactly on an occurrence of an old slot moves to the matching new occurrence (Nth old to Nth new), so deliberate gaps are preserved and hand-picked custom times stay put. Scheduled X Articles and chained quote posts never move. Changing only `timezone` never moves posts.
`reflow.bailed: true` means the settings were saved but the queue was deliberately left untouched (a post had nowhere to land, or the move set was too large); the response then carries a `note`. Retrying the same request is safe and idempotent.
Changing the timezone and the slots in one call usually moves nothing, because the existing posts were placed under the old timezone; to re-flow them, change the timezone first, then send the slots in a second call.
This is a per-account write: pass `account_id` for any linked or shared account. Editor-permission shares CAN change queue settings.
# Create a draft or scheduled post, or publish now
Source: https://docs.superx.so/api-reference/scheduling/create-a-draft-or-scheduled-post-or-publish-now
/api-reference/openapi.yaml post /v1/scheduled-posts
Creates a post: a draft when `scheduled_for` is omitted, a scheduled
post otherwise. Works for your main account or any account linked to it
(`account_id`); accounts shared with you are read-only. Supports the
`Idempotency-Key` header for safe retries (see the Idempotency guide).
Successful creation returns `201`.
**Publishing now.** Send `scheduled_for: "now"` and the post goes to X
immediately. This is irreversible, so the rules are tighter:
- `Idempotency-Key` is REQUIRED (`400 invalid_parameter` without it).
Reuse the same key on any retry: it never publishes twice.
- `title` and `scratchpad` are rejected with `400` (a published post
has no draft to organize), and Bluesky is never cross-posted.
- A retry that arrives while the first attempt is still publishing
returns `409 idempotency_in_flight` with a `Retry-After` header.
After that window the API checks whether the first attempt landed
and replays its result instead of posting again.
- The `201` carries `status: "sent"` with `posted_at`, `x_post_id`
and `url`, and `scheduled_for: null`.
- Advanced settings and Auto DM inherit your Default Post Settings
exactly as they do for a scheduled post.
- A thread that fails part way through leaves no scheduled-post record
at all, so check `GET /v1/posts` before retrying: the parts X did
accept are already live.
Images attach per part: `parts[].media` is an array of
`{ object_key, alt_text? }` items, with `object_key` from
`POST /v1/media` (uploaded bytes required first). Up to 4 images or
exactly 1 GIF per part; `alt_text` is capped at 1,000 characters.
Video is not supported yet.
Advanced settings (`auto_retweet`, `auto_delete`, `auto_plug`,
`auto_dm`, `super_followers_only`): omit a setting to inherit its
Default Post Settings value from the SuperX app, send an object (or
`true`/`false` for `super_followers_only`) to override, or send
`null` to turn it off for this post. Exactly five settings inherit
this way: auto retweet, auto delete, auto plug, auto DM, and Super
Followers only. Other composer defaults (for example Bluesky
cross-posting or share-with-followers) are never applied to API
posts.
`auto_dm` direct-messages the people who reply to or repost the post
once it is live. Your plan caps how many posts a month may carry one
(`posts_with_auto_dm` in `GET /v1/dm/limits`): when that cap stops
it, the post is still created and the response carries
`auto_dm_skipped: true` instead of failing. Reading a post back shows
that an auto DM is attached but never its message text.
# Delete a draft or scheduled post
Source: https://docs.superx.so/api-reference/scheduling/delete-a-draft-or-scheduled-post
/api-reference/openapi.yaml delete /v1/scheduled-posts/{id}
Deletes the post and refunds any quota it held. Works for your main account or any account linked to it (`account_id`); accounts shared with you are read-only.
# Delete queued posts in bulk
Source: https://docs.superx.so/api-reference/scheduling/delete-queued-posts-in-bulk
/api-reference/openapi.yaml post /v1/scheduled-posts/bulk/delete
Deletes up to 100 QUEUED posts at once and refunds their post quota.
`POST`, not `DELETE`, because the ids travel in a body.
Only posts in the queue are deleted: a leaked id for a sent post
cannot wipe history, and drafts are left alone (delete those with
`DELETE /v1/scheduled-posts/{id}`). `deleted` can therefore be lower
than the number of ids you sent.
Costs one write. `Idempotency-Key` is not supported and not needed:
deleting an already-deleted id is a no-op.
# Edit a draft or scheduled post
Source: https://docs.superx.so/api-reference/scheduling/edit-a-draft-or-scheduled-post
/api-reference/openapi.yaml patch /v1/scheduled-posts/{id}
Partial update: only the fields you send change; everything else on
the post (including fields the API does not expose) is preserved.
Works for your main account or any account linked to it
(`account_id`); accounts shared with you are read-only.
Status transitions are explicit: sending `scheduled_for` alone never
schedules a draft. Set `status` to `"scheduled"` to promote (needs a
future time, provided or already stored: at least 60 seconds ahead,
at most 18 months) or `"draft"` to pull a post back out of the queue.
Both directions ride the normal post-quota deduct/refund.
`parts` is a FULL replace, media included: a part sent without
`media` drops any media it carried. Re-include the current
`object_key`s (visible on GET responses) to keep them, add new ones
from `POST /v1/media`, or omit `parts` entirely to edit only
title/scratchpad/time/status without touching text or media.
No `Idempotency-Key` handling: PATCH is naturally idempotent.
Concurrent edits are last-write-wins.
Advanced settings (`auto_retweet`, `auto_delete`, `auto_plug`,
`auto_dm`, `super_followers_only`) use the same shapes as create but
never inherit defaults on update: provided = override, omitted = keep
the post's current setting, `null` = remove it. `auto_dm: null` also
gives back the month's posts-with-auto-DM slot; setting one consumes
a slot.
# Enable auto retweet on queued posts in bulk
Source: https://docs.superx.so/api-reference/scheduling/enable-auto-retweet-on-queued-posts-in-bulk
/api-reference/openapi.yaml post /v1/scheduled-posts/bulk/auto-retweet
Turns Auto Retweet on for up to 100 queued posts at once.
A post that already carries its own auto retweet is counted in
`skipped` and left untouched: this never overwrites a per-post
setting. Only posts in the queue are changed, so drafts, sent posts
and error rows are counted in `skipped` too. `failed` counts posts
whose stored settings could not be read.
Worth knowing: posts created through the API inherit the account's
Default Post Settings, so if Auto Retweet is on there, every API post
already carries one and this endpoint reports them all as `skipped`.
To bulk-apply a different auto retweet, create the posts with
`auto_retweet: null` (or clear each one with
`PATCH /v1/scheduled-posts/{id}`) first.
Costs one write. `Idempotency-Key` is not supported and not needed:
a second run skips everything the first one set.
# List drafts and scheduled posts
Source: https://docs.superx.so/api-reference/scheduling/list-drafts-and-scheduled-posts
/api-reference/openapi.yaml get /v1/scheduled-posts
The account's drafts and scheduled posts, most recently updated first,
so page 1 is the newest work. Use `page` to walk back through older
ones rather than raising `limit`. That ordering covers every `status`,
not just drafts: scheduled and sent posts come back most recently
updated first too.
A `from` or `to` filter makes this a calendar query instead: those
results come back in post-time order, oldest first, whatever the
status.
# List plug templates
Source: https://docs.superx.so/api-reference/scheduling/list-plug-templates
/api-reference/openapi.yaml get /v1/plug-templates
Lists your auto-plug reply templates (authored in the SuperX app under Default Post Settings). Pass a template id as `auto_plug.template_id` when creating or updating a scheduled post.
# Retime queued posts in bulk
Source: https://docs.superx.so/api-reference/scheduling/retime-queued-posts-in-bulk
/api-reference/openapi.yaml post /v1/scheduled-posts/bulk/retime
Moves up to 500 queued posts to new times in ONE transaction: either
every move lands or none do.
Only posts in the queue move. Drafts, sent posts and error rows are
counted in `skipped` and are never retimed. Each `scheduled_for`
follows the same window as a single create: at least 60 seconds in the
future, at most 18 months out.
Costs one write. `Idempotency-Key` is not supported and not needed:
re-running the same moves converges on the same result.
# Rewrite a post in your voice
Source: https://docs.superx.so/api-reference/scheduling/rewrite-a-post-in-your-voice
/api-reference/openapi.yaml post /v1/posts/remix
Rewrites a post in the account's own voice, as close to or as far from
the original as you ask. `closeness: 0` keeps only the idea,
`closeness: 100` stays very close to the original wording.
This is the same engine as the app composer's Remix button, so a
script and the app produce the same kind of output.
Nothing is posted, scheduled or stored: the response is TEXT for a
person to review, then send to `POST /v1/posts/draft` or
`POST /v1/scheduled-posts`.
Costs AI credits, measured from the models' real cost and typically 2.
Spends no live-data allowance. Needs a key with the `write` scope.
# Write post drafts in your voice
Source: https://docs.superx.so/api-reference/scheduling/write-post-drafts-in-your-voice
/api-reference/openapi.yaml post /v1/posts/draft
Writes post drafts from a brief, in the account's own voice. Nothing
is scheduled and nothing is stored: the response is text for you to
review and edit, then send to `POST /v1/scheduled-posts` to save a
draft or schedule it.
Every draft copies the SHAPE of a proven post, never its content.
Pass one in `mirror` (the text of a post from `GET /v1/inspiration`
works well), or leave `mirror` out and a proven shape is picked for
you, optionally biased toward a `collection`.
Voice: `mine` (default) writes as the account in `account_id`, from
that account's own posts, style guide and rules (your main account
when `account_id` is omitted), `creator` writes in a creator's style,
and `hybrid` keeps the account's substance with the creator's flavor.
The creator's style guide is prepared in the
background the first time you name them; that first call returns
`409 creator_style_pending` and the retry a minute later succeeds.
Costs AI credits per draft (drafts that fail are refunded), and a
call takes roughly 20 to 40 seconds. `Idempotency-Key` is NOT
supported: generation is not idempotent, and a replay would produce
different text anyway.
# Add a signal to an agent
Source: https://docs.superx.so/api-reference/signals/add-a-signal-to-an-agent
/api-reference/openapi.yaml post /v1/signals/agents/{id}/signals
Add one thing for the agent to watch: a search (`keyword_watch`), an
account's posts (`profile_watch`), the people an account follows
(`follower_watch`), or the members of a public X list
(`list_watch`). New leads start arriving over the following minutes
and days; nothing is returned synchronously.
One target per call: each add resolves its target live or compiles
the search, so there is no batch form. Each plan caps how many
signals one agent may hold (403 `cap_reached`) and an agent may watch
each target once (409 `duplicate_signal`). `profile_watch`,
`follower_watch` and `list_watch` consume one unit of the enrichment
allowance; `keyword_watch` consumes none. Only PUBLIC X lists can be
watched.
No `Idempotency-Key`: the duplicate rule already makes a repeat
harmless. Works for your main account or any account linked to it
(`account_id`); accounts shared with you are read-only.
# Build an audience profile from a website
Source: https://docs.superx.so/api-reference/signals/build-an-audience-profile-from-a-website
/api-reference/openapi.yaml post /v1/signals/icp/expand-from-url
Reads a product or company website and infers who its ideal customers
are on X: an audience description, the scoring rubric, and
keyword-watch ideas, in one call. A bare domain is accepted.
Free: no AI credits. The page read runs on the account's allowance of
20 page reads a day, shared with the SuperX app, so an exhausted
allowance returns `429 ai_action_limited` with `scope: "account"`.
Unlike the two helpers above, this one goes through the SuperX app,
so the app's short-term limiter binds it too: more than 10 calls in
10 minutes returns `429 rate_limited`, which clears in about a
minute. Takes up to a minute.
Nothing is created, but the call needs a key with the `write` scope,
as every non-GET route on this API does. Pass `icp_description` to
`POST /v1/signals/agents` as the agent's ICP, and the suggestions as
its keywords.
# Create a signal agent
Source: https://docs.superx.so/api-reference/signals/create-a-signal-agent
/api-reference/openapi.yaml post /v1/signals/agents
Create a signal agent: it watches X for the given keywords and scores
the people it finds against `icp_description`. Matching leads land in
Signals (and `GET /v1/signals/leads`) over the following minutes and
days; nothing is returned synchronously.
`keywords` is shorthand for keyword watches; `signals` carries all
four watch types (`keyword_watch`, `profile_watch`, `follower_watch`,
`list_watch`). Send either or both: 1-5 distinct entries combined,
keywords first. Omit both and 1-3 keyword watches are suggested from
the ICP (if suggestion fails, nothing is created and you get 502
`upstream_error`). Omit `destination_list_id` and a contact list
named `Leads: ` is created for the leads, flagged
`destination_list_created: true` in the response.
PARTIAL SUCCESS: entries the add path rejects (an unknown handle, a
private list, a duplicate, the per-agent signal cap) come back in
`warnings` and the agent is still created from the entries that
landed. Only when EVERY entry fails is the agent rolled back and an
error returned. Read `warnings` before reporting what the agent
watches, and re-add the fixed entries with
`POST /v1/signals/agents/{id}/signals`.
A create carrying any `profile_watch`, `follower_watch` or
`list_watch` entry resolves those targets live and consumes ONE unit
of the enrichment allowance (one per call, not per entry).
Plan limits apply (403 `cap_reached`). Supports `Idempotency-Key`
(max 64 chars): retries with the same key and body replay the
original response with `Idempotency-Replayed: true`. Works for your main account or any account linked to it (`account_id`); accounts shared with you are read-only.
# Delete a signal agent
Source: https://docs.superx.so/api-reference/signals/delete-a-signal-agent
/api-reference/openapi.yaml delete /v1/signals/agents/{id}
Delete an agent. The leads it already saved and its destination
contact list stay untouched. Deleting the same id again returns 404
`agent_not_found`. Works for your main account or any account linked to it
(`account_id`); accounts shared with you are read-only.
# Expand an audience description into a rubric
Source: https://docs.superx.so/api-reference/signals/expand-an-audience-description-into-a-rubric
/api-reference/openapi.yaml post /v1/signals/icp/expand
Turns a plain description of an audience into the structured rubric
signal agents score people against: who the ideal customer is, the
needs that make someone a fit, the disqualifiers, and one example of
a match and a non-match.
Free. Nothing is created and no AI credits are charged. The rubric is
a reading of the description rather than a field you can store:
agents are created with `icp_description`, so use this to sharpen
that text before calling `POST /v1/signals/agents`, or to score
people yourself.
This helper runs in SuperX's own process rather than through the
app, so the app's short-term limiter does not apply and your plan's
request rate limit is the only bound. It is still a model call each
time, so keep it occasional.
Needs a key with the `write` scope. Every non-GET route on this API
does, and this one is a POST because the description goes in the
body; it still creates nothing.
# List signal agents
Source: https://docs.superx.so/api-reference/signals/list-signal-agents
/api-reference/openapi.yaml get /v1/signals/agents
The account's signal agents: the automated lead finders from the
SuperX app. Each agent watches one or more signals (profiles,
followers, keywords, or lists) and scores the people it finds
against its ideal customer profile. Agents can be created, paused,
resumed, and deleted through the API; name, ICP, precision, and
destination edits happen in the SuperX app. `destination_list_id`
joins to `GET /v1/contact-lists` for the target list's name. Not
paginated (agent counts are capped per account).
# List signal leads
Source: https://docs.superx.so/api-reference/signals/list-signal-leads
/api-reference/openapi.yaml get /v1/signals/leads
The leads the account's signal agents have found, newest first:
people who matched an agent's ideal customer profile, with their
profile, the match score and rationale, whether the lead has been
saved to the agent's contact list yet (`deposited`/`deposited_at`),
and provenance describing how the lead was discovered. Leads under
paused or errored agents remain listed (the agent's status is on
every row).
# Remove a signal from an agent
Source: https://docs.superx.so/api-reference/signals/remove-a-signal-from-an-agent
/api-reference/openapi.yaml delete /v1/signals/agents/{id}/signals/{signalId}
Remove one signal. Leads it already found stay, and so does the
agent's de-duplication state. Removing the agent's LAST signal is
allowed: the agent stays, finding nothing, until a signal is added
back. Deleting the same id again returns 404 `signal_not_found`.
Works for your main account or any account linked to it
(`account_id`); accounts shared with you are read-only.
# Search for leads on X now
Source: https://docs.superx.so/api-reference/signals/search-for-leads-on-x-now
/api-reference/openapi.yaml post /v1/signals/leads/search
One live keyword search over X, scored against an ideal-customer
profile, returned in the response.
**It creates nothing.** No signal agent, no saved leads, no contact
list membership: the leads exist only in this response. For an
audience that keeps filling up on its own, create a signal agent
(`POST /v1/signals/agents`) instead, and read what it finds with
`GET /v1/signals/leads`.
**It plans, then searches.** From `offer`, `icp_description` and your
seed angles, a model writes up to 10 short queries across the angles
that find buyers (the buyer's working day, their pains, the tools they
already pay for, adjacent roles), runs them all, and scores everyone it
finds. `queries_used` says how many reached X, `query_plan` shows each
query with its angle and what it contributed, and `partial` is true
when a time budget cut the run short.
So `keywords` are seed ANGLES, not the query: 2-5 short phrases of how
the BUYER talks on a normal working day, not the product's own name and
not a full sentence. `offer` is optional but it is the strongest input
you can give. `precision: high` keeps only confident matches;
`discovery` (the default) also returns adjacent ones.
The search takes up to a minute. Each lead comes from ONE matched
post, so treat `posts_count` as lifetime volume rather than proof of
current activity.
**Only recent posts count.** `max_post_age_days` sets the window
(1-90, 30 by default): a matching post older than that is skipped and
counted in `freshness.stale_skipped`, and every lead carries its
post's `posted_at` and `post_age_days`. Leads come back freshest
first within each score. An empty `leads` with a `stale_skipped`
above 0 means people do post about this, just not inside the window:
broaden the keywords, or raise `max_post_age_days` when you want
people who are active over a longer stretch rather than a fresh pain
point.
**Cost.** Reading X live costs AI credits, measured from what the
search actually spends: at least 1 credit for any search that reaches
X, typically 1-2. It also uses one of the plan's daily lead searches
(`429 ai_action_limited` with `scope: "account"`) and a slice of a
platform-wide fair-use ceiling on live-data actions (`scope:
"platform"`, shared with every account, so wait and retry rather than
assuming your own quota is gone). A search that never reaches X is
not charged.
Nothing is written by this endpoint, but it still needs a key with
the `write` scope, because it spends AI credits and live requests:
every non-GET `/v1` request needs that scope anyway. The MCP
`search_leads` tool needs the write scope for the same reason. On
both surfaces an account shared with you works, unlike the endpoints
that really write: nothing is written to the account, and the credits
come from the key owner's pool.
# Set feedback on a lead
Source: https://docs.superx.so/api-reference/signals/set-feedback-on-a-lead
/api-reference/openapi.yaml post /v1/signals/leads/{id}/feedback
Record the account's verdict on one lead - `fit`, `not_fit`, or
`null` to clear it.
The id is the numeric LEAD id from `GET /v1/signals/leads`, not the
person's X user id: the same person can be a lead of two agents with
a different verdict on each. The verdict is what the scorer's
examples and the lead sweep learn from, so it is worth recording on
leads you act on, and it is mirrored onto the person's row in the
agent's destination contact list. It reads back as `feedback` /
`feedback_at` on `GET /v1/signals/leads`.
Naturally idempotent (the verdict is a value, not a counter), so
there is no `Idempotency-Key` support. Works for your main account or
any account linked to it (`account_id`); accounts shared with you are
read-only.
# Suggest keyword watches
Source: https://docs.superx.so/api-reference/signals/suggest-keyword-watches
/api-reference/openapi.yaml post /v1/signals/keywords/suggest
Turns a plain description of an audience into 2 or 3 keyword-watch
ideas, the same ones the SuperX app stages when a user sets up a
signal agent. Each suggestion is plain language, not an X search
query: compilation happens when the keyword is added to an agent.
Free. Nothing is created and no AI credits are charged. Pass a
suggestion you like as a `keywords` entry on
`POST /v1/signals/agents`, or as a `keyword_watch` signal on
`POST /v1/signals/agents/{id}/signals`, to start watching it.
This helper runs in SuperX's own process rather than through the
app, so the app's short-term limiter does not apply and your plan's
request rate limit is the only bound. It is still a model call each
time, so keep it occasional.
Needs a key with the `write` scope. Every non-GET route on this API
does, and this one is a POST because the description goes in the
body; it still creates nothing.
# Update a signal agent
Source: https://docs.superx.so/api-reference/signals/update-a-signal-agent
/api-reference/openapi.yaml patch /v1/signals/agents/{id}
Edit an agent's `name`, `icp_description`, `precision_mode`,
`destination_list_id`, `status`, or any combination. At least one
field is required.
Editing the ICP changes how NEW leads are scored; leads already found
keep their scores. A `destination_list_id` that is not one of your
own usable lists returns 404 `list_not_found`. `status` is `active`
or `paused`: paused agents stop finding leads, and resuming picks up
where the agent left off (a resume is rejected with
`invalid_request` when the agent's stored destination list is gone -
send a new `destination_list_id` first).
The agent's SIGNALS are not edited here: each one resolves its target
upstream, so they have their own endpoints
(`POST /v1/signals/agents/{id}/signals`,
`DELETE /v1/signals/agents/{id}/signals/{signalId}`). Naturally
idempotent, so there is no `Idempotency-Key` support. Works for your
main account or any account linked to it (`account_id`); accounts
shared with you are read-only.
# Create a tag
Source: https://docs.superx.so/api-reference/tags/create-a-tag
/api-reference/openapi.yaml post /v1/tags
Names are unique per workspace. `color` is a palette name the SuperX app renders (rose, amber, lime, emerald, teal, cyan, blue, indigo, violet, fuchsia, slate, stone); it defaults to `blue`. Tags are workspace-wide, so this is a main-account write and any other `account_id` returns `403 writes_main_account_only`.
# Delete a tag
Source: https://docs.superx.so/api-reference/tags/delete-a-tag
/api-reference/openapi.yaml delete /v1/tags/{id}
Deletes the tag and removes it from every draft and scheduled post that carries it (the posts themselves are untouched). Tags are workspace-wide, so this is a main-account write and any other `account_id` returns `403 writes_main_account_only`.
# List tags
Source: https://docs.superx.so/api-reference/tags/list-tags
/api-reference/openapi.yaml get /v1/tags
Tags organize drafts and scheduled posts. They are scoped to the workspace owner and shared across linked accounts. Sorted by name A-Z.
# Rename or recolor a tag
Source: https://docs.superx.so/api-reference/tags/rename-or-recolor-a-tag
/api-reference/openapi.yaml patch /v1/tags/{id}
Provide `name` and/or `color`. Tags are workspace-wide, so this is a main-account write and any other `account_id` returns `403 writes_main_account_only`.
# Check a statement against a web search
Source: https://docs.superx.so/api-reference/tools/check-a-statement-against-a-web-search
/api-reference/openapi.yaml post /v1/tools/factcheck
Runs a web search for the statement and reports `true`, `false` or
`unknown` with a one-sentence comment and the sources it read.
**This is a model's reading of a couple of search results, not a
guarantee.** Show the `sources` alongside the verdict and never
present it as settled fact. `unknown` is a real and common answer,
including when the search returned nothing usable.
Nothing is posted, and nothing is written onto a post: the app's own
fact-check button is what stores a verdict against a post.
Costs AI credits, measured and typically 1. Spends no live-data
allowance. Needs a key with the `write` scope.
# Edit one selected piece of a post
Source: https://docs.superx.so/api-reference/tools/edit-one-selected-piece-of-a-post
/api-reference/openapi.yaml post /v1/tools/inline-edit
Edits the piece of a post you select, keeping the style of the text
around it. Pass the selection as `text` and the whole post as
`full_text`, and the edit is written to drop straight back into place.
Steer it with a free-text `instruction`, a preset `edit_type`, or
both. At least one of the two is required.
Returns TEXT. Nothing is posted, scheduled or saved.
Costs AI credits, measured and typically 1. Spends no live-data
allowance. Needs a key with the `write` scope.
# Rewrite a post one preset way
Source: https://docs.superx.so/api-reference/tools/rewrite-a-post-one-preset-way
/api-reference/openapi.yaml post /v1/tools/rephrase
Applies one preset rewrite to a whole post.
The style presets (`improve`, `hook`, `engaging`, `humorous`,
`positive`, `creative`, `sarcastic`, `inspirational`) write in the
account's own voice. The mechanical ones (`grammar`, `translate`,
`clarity`, `details`, `concise`) do not: they leave the voice alone
and only do the job named.
`hook` rewrites the FIRST paragraph only and returns it with the rest
of the post unchanged behind it.
Returns TEXT. Nothing is posted, scheduled or saved.
Costs AI credits, measured and typically 1. Spends no live-data
allowance. Needs a key with the `write` scope.
# Score a draft against this account's own posts
Source: https://docs.superx.so/api-reference/tools/score-a-draft-against-this-accounts-own-posts
/api-reference/openapi.yaml post /v1/posts/viral-score
Scores ONE draft from 0 to 100 against the account's OWN recent
posts, and says what helped and what hurt in plain English. The
counters block gives the multiple to expect on likes, replies,
reposts+quotes and views versus that account's own median post,
taken from measured calibration bands rather than modelled.
**It compares a draft with the account's normal post.** It is not a
reach prediction, and it knows nothing about follower count. Present
it that way: `accuracy.line` carries the measured held-out figure to
quote, and it is right about two times in three.
`reposts_and_quotes` and `views` come back with `confidence: "low"`:
text says much less about those than about likes and replies.
`warnings` name the things the score never rewards, whatever else
the draft does: asking for replies as the point of the post,
inviting people to connect, a structure borrowed from other
accounts, and sending readers off the platform. A warning means
rewrite, not work around.
The baseline is the account's last originals from the past 90 days,
leaving out anything posted in the last 3 days because those numbers
are still settling.
Fewer than 10 usable posts and `baseline.kind` comes back `population`,
which scores the draft against the average training post and returns
`expected: null` on every counter. Pass `baseline: "population"` to
ask for that on purpose.
Nothing is posted or scheduled.
Cheap on purpose so drafts can be iterated: most calls charge no
credits, one in ten charges 1, and the first call for an account
charges 1 more while its baseline is built. Each plan has a daily cap
on how many scores it can run. Spends no live-data allowance. Needs a
key with the `write` scope.
# Sort recent posts on a topic into Read, Pass or Not sure
Source: https://docs.superx.so/api-reference/tools/sort-recent-posts-on-a-topic-into-read-pass-or-not-sure
/api-reference/openapi.yaml post /v1/posts/triage
Searches recent public posts for a topic and sorts them into three
lanes: `read`, `pass` and `unsure`. Up to 40 posts a run.
Every post comes back with its lane, a `pct`, a `kind` (`insight`,
`story`, `data`, `progress`, `news`, `question`, `intro`, `launch`,
`joke` or `opinion`) and the `answers` behind the call: is it
specific and informative, does it say something a regular reader of
the topic has not already heard, is it engagement bait, is it a plug,
is it a platitude, and is there room to add something in a reply.
Each answer is a probability between 0 and 1.
**`pct` is how clear the call was, not how good the post is.** On
`read` and `pass` it runs 50 to 99, so a post that is confidently not
worth reading is a `pass` at 99; on `unsure` it is the raw
worth-reading score. Always read it together with `lane`, and never
rank posts by it across lanes.
The searches ask for original posts, English only, with a floor of 30
likes. Replies and reposts are never returned. None of those three is
settable by the caller: the like floor is the one the lane thresholds
were tuned against, so a very new or very small topic can come back
empty. Treat the floor as the search's request rather than a
guarantee about `counts.likes`, since upstream applies it against its
own snapshot and a few posts do come back under it.
**What is judged is the TEXT of a post.** No author, handle, avatar
or follower count is in what the model reads, so a result is a call
on the writing, never a rating of a person or an account.
`query` is searched as typed. A plain multi-word query with no quotes
or operators is ALSO searched as an exact phrase, so a topic catches
both the broad matches and the posts that name it outright; a query
that already carries quotes, a field lookup, `OR` / `AND` or an
exclusion is searched exactly once, as written.
`max_age_days` (1 to 7, default 3) is how far back to look.
`posts_searched` counts the distinct posts left after duplicates and
posts marked sensitive upstream are dropped, and before the 40-post
cap; `receipt` reports what the run cost in posts judged, questions
answered, milliseconds and US dollars of model spend.
A post the safety question flags is dropped before it is returned,
and so is one whose judgement failed, so `posts` can be shorter than
`receipt.posts`.
Two fields come back as an empty string rather than being omitted
when upstream gave nothing usable: `kind` (no readable label) and
`created_at` (no readable timestamp). Treat an empty string as
"unknown" rather than assuming the field is always populated.
Nothing is posted, saved or sent.
A flat 2 credits per run, and each plan has a daily cap on how many
runs it gets. The searches spend the key owner's own live X
allowance, the one shared with Ask SuperX in the app: 1 lookup for a
single-word query, 2 for a multi-word one. So a 429 here can also
carry `lookup_quota_exceeded`, and on THIS endpoint that error
carries a `code` and a `message` only, with no `retry_after` field
and no `Retry-After` header: it resets at midnight UTC, except for
the short-lived "could not be verified" case, which is worth one
retry a minute later. A run that finds nothing to judge returns 200
with an empty `posts` array and charges no credits, but it still
counts against the daily cap. Needs a key with the `write` scope.
A 503 here is `upstream_unavailable` when live X data is throttling
SuperX, or `accounts_unavailable` when linked-account verification is
briefly unreadable. Both are safe to retry.
# Dismiss a suggestion
Source: https://docs.superx.so/api-reference/workers/dismiss-a-suggestion
/api-reference/openapi.yaml post /v1/workers/suggestions/{id}/dismiss
Drop one Worker suggestion out of the "To review" queue. No post is
created and no post is removed: a suggestion already saved as a draft
or a scheduled post keeps that post, which you delete separately with
`DELETE /v1/scheduled-posts/{id}` if that is what the user wants.
Dismissing is allowed on any suggestion the account owns, including one
already saved, and it still reads back under
`GET /v1/workers/suggestions?status=dismissed`. Naturally idempotent in
effect, so there is no `Idempotency-Key` support. Works for your main
account or any account linked to it (`account_id`); accounts shared
with you are read-only.
# List Worker suggestions
Source: https://docs.superx.so/api-reference/workers/list-worker-suggestions
/api-reference/openapi.yaml get /v1/workers/suggestions
The posts the account's Workers wrote, newest first. The default
`status=to_review` is the app's "To review" queue: suggestions nobody
has drafted, scheduled or dismissed yet.
Each row carries the text, the Worker that wrote it, the timestamps of
whatever has been done with it, and `post_id` once it was saved as a
post (join it to `GET /v1/scheduled-posts`). `reference` says what kind
of source the Worker wrote from; the Worker's own collection and
reference ids stay private.
Reading changes nothing and spends no AI credits. Act on a row with the
draft, schedule or dismiss endpoints below.
# List Workers
Source: https://docs.superx.so/api-reference/workers/list-workers
/api-reference/openapi.yaml get /v1/workers
The account's Workers, newest first: the scheduled AI writers set up
in the SuperX app, each with its voice, topic source, shape, batch
size, schedule and next run time.
`topic_source` is what the posts are about and `shape` is how each
post is built: `formats` models a proven post format, `niche` models a
popular post found by the Worker's keywords, `fresh` writes freely
with only a loose format hint, and no post is closely modeled. Read
`shape` rather than `style_mode` to tell them apart.
Read what they wrote with `GET /v1/workers/suggestions`. Workers are
created, edited and run in the app, so there is no create or run
endpoint here. Not paginated: how many Workers an account can hold is
capped by its plan.
# Save a suggestion as a draft
Source: https://docs.superx.so/api-reference/workers/save-a-suggestion-as-a-draft
/api-reference/openapi.yaml post /v1/workers/suggestions/{id}/draft
Turn one Worker suggestion into a DRAFT post. Nothing is posted to X:
the draft shows up in the user's Drafts in the app and at the top of
`GET /v1/scheduled-posts?status=draft`, and the response gives you its
`post_id` directly.
The text is saved exactly as the Worker wrote it. To change the wording
first, rewrite it with `POST /v1/posts/remix` or
`POST /v1/tools/rephrase`, save your version with
`POST /v1/scheduled-posts`, then dismiss the original.
One suggestion can only be saved once: a second draft or schedule call
on the same id returns 400 `already_saved`, and a dismissed one returns
400 `already_dismissed`. Naturally one-shot, so there is no
`Idempotency-Key` support. Works for your main account or any account
linked to it (`account_id`); accounts shared with you are read-only.
# Schedule a suggestion
Source: https://docs.superx.so/api-reference/workers/schedule-a-suggestion
/api-reference/openapi.yaml post /v1/workers/suggestions/{id}/schedule
Turn one Worker suggestion into a SCHEDULED post. The SuperX scheduler
posts it at `scheduled_for`, the same as any other queued post, so
confirm the time and the text with the user before you call this.
Afterwards it is an ordinary scheduled post: retime it with
`PATCH /v1/scheduled-posts/{id}` or cancel it with
`DELETE /v1/scheduled-posts/{id}`, using the `post_id` in the response.
A Worker post never inherits the account's Default Post Settings, only
what you send here. One suggestion can only be saved once: a second
call returns 400 `already_saved`, a dismissed one 400
`already_dismissed`. Naturally one-shot, so there is no
`Idempotency-Key` support. Works for your main account or any account
linked to it (`account_id`); accounts shared with you are read-only.
# Latest posts of a public account
Source: https://docs.superx.so/api-reference/x-lookups/latest-posts-of-a-public-account
/api-reference/openapi.yaml get /v1/x/users/{handle}/posts
One live timeline page (about 20 posts) for any public account,
newest first, with engagement counts. The up-to-the-minute source for
what an account just posted.
Replies are included and carry `in_reply_to_id`; a post flagged
`is_pinned` is the account's pinned post and is usually old, not
recent. `exclude_reposts=true` drops reposts, and because only ONE
page is fetched, fewer than `limit` posts can come back after the
filter.
Owner-scoped, no `account_id`. Costs ONE live-enrichment unit when
SuperX already knows the handle and TWO when it does not (a live
profile lookup resolves the handle first);
`data.profile_resolved_locally` reports which happened. Draws on the
shared 300/day live-lookup allowance either way.
The `X-RateLimit-*` headers on this endpoint report the ENRICHMENT
window, not the ordinary read window.
# Look up one public post live
Source: https://docs.superx.so/api-reference/x-lookups/look-up-one-public-post-live
/api-reference/openapi.yaml get /v1/x/posts/{id}
Read one public X post as it is right now: full text (never
shortened), author, engagement counts, media, link card, and the
quoted post one level deep when there is one.
Owner-scoped, so there is no `account_id`: nothing upstream is
per-X-account. Costs ONE live-enrichment unit, TWO with
`include_quotes`, and also draws on the shared allowance of 300 live
lookups per UTC day that Ask SuperX in the app uses (see
[Rate limits](/rate-limits#live-x-lookups)). Repeat lookups of the
same post within 15 minutes may be served from a server-side cache:
they still cost their enrichment units but do not touch the daily
allowance.
`404 post_not_found` means the post is deleted, protected, or the id
is wrong. Because the upstream batch read reports a missing post and
a failed read identically, an occasional transient upstream failure
surfaces here too, so retry once before concluding the post is gone.
The `X-RateLimit-*` headers on this endpoint report the ENRICHMENT
window, not the ordinary read window.
# Look up one public profile live
Source: https://docs.superx.so/api-reference/x-lookups/look-up-one-public-profile-live
/api-reference/openapi.yaml get /v1/x/users/{handle}
Read one public X profile as it is right now: bio, location, link,
follower and following counts, post count, join date and pinned post
id. The handle may be given with or without a leading `@`.
Owner-scoped, no `account_id`. Costs ONE live-enrichment unit and
draws on the shared 300/day live-lookup allowance. Repeat lookups
within 15 minutes may be served from a server-side cache.
This is a public lookup for ANY handle, unlike `GET /v1/contacts/{id}`,
which is limited to people this account already has a relationship
with and returns SuperX's stored profile plus the lists they are in.
The `X-RateLimit-*` headers on this endpoint report the ENRICHMENT
window, not the ordinary read window.
# Top replies to a public post
Source: https://docs.superx.so/api-reference/x-lookups/top-replies-to-a-public-post
/api-reference/openapi.yaml get /v1/x/posts/{id}/replies
The best-liked DIRECT replies to a public post, read live from X.
This walks up to 3 relevance-ranked upstream pages (about 60
candidate replies), ranks what it found by likes and returns the top
`limit`. It is a SAMPLE of the strongest replies, not every reply and
not chronological order, and it cannot page further. To collect
everyone who replied to a post, use the audience collections built in
the SuperX app (`GET /v1/datasets`).
Unlike the same feature inside the SuperX app, replies written by the
account owner themselves are NOT filtered out: an owner-scoped read
has no "active account" to compare against.
Costs a flat THREE live-enrichment units and draws on the shared
300/day live-lookup allowance (one unit of that per page actually
fetched). `data.post` is the post being replied to when the upstream
payload carried it, and null otherwise; it is never a second lookup.
The `X-RateLimit-*` headers on this endpoint report the ENRICHMENT
window, not the ordinary read window.
# Authentication
Source: https://docs.superx.so/authentication
API keys, scopes and how to keep them safe.
Every request to the SuperX API (except `GET /v1/docs`) is authenticated with an API key in the `Authorization` header:
```
Authorization: Bearer sxk_...
```
There is no other authentication method on this surface: no session tokens, no OAuth, no cookies.
## Creating keys
Create and manage keys in the SuperX app under **Account > API / MCP / CLI**. You can hold up to 10 active keys. Each key has a name, a creation date and a last-used date so you can tell them apart and retire stale ones.
Keys are stored hashed on our side, so the full key is shown **exactly once**, right after you create it. Copy it then. If you lose a key, rotate it: the API / MCP / CLI tab creates a replacement with the same name and scopes and revokes the old one.
## Scopes
Keys carry coarse scopes:
* `read` plus `write` (the default): full API access.
* `read` only (the "Read-only key" option): `GET` requests work; any `POST` or `DELETE` returns `403 insufficient_scope`.
Note the exact semantics: the scope check applies to **non-GET methods only**. A key with just the `write` scope can still perform `GET` requests; write access implies read access on this surface.
## Keep keys server-side
API keys are server-side secrets:
* Never ship a key in browser JavaScript, a mobile app binary, or a public repo.
* Store keys in environment variables or a secret manager.
* Use one key per integration so you can revoke one without breaking the others.
* Rotate keys periodically. Revocation takes effect within 60 seconds.
## Subscription requirement
API access follows your SuperX subscription (active, trialing, or team-billed all work). When a subscription lapses, requests return `403` until you resubscribe. Keys are not deleted on lapse; they resume working when the subscription is active again. Note that this specific `403` uses a legacy body shape, documented in [Errors](/errors).
## Failed authentication
* Missing or malformed header: `401 unauthorized`.
* Unknown or revoked key: `401 invalid_api_key`.
* Repeated failed attempts are rate limited per IP address (20 per minute); beyond that you get `429` with a `Retry-After` header.
# CLI & agent skill
Source: https://docs.superx.so/cli
Use the SuperX API from your terminal with the superx CLI, or hand it to an AI agent with the superx-agent skill.
The `superx` CLI is a thin client for the SuperX API: every command maps to a `/v1` endpoint and prints clean JSON. It doubles as the tool the `superx-agent` skill teaches AI agents to use.
## Install
```bash theme={null}
npm install -g superx-cli
```
Requires Node.js 18 or newer. The package is `superx-cli`; the installed binary is `superx`.
## Log in
Create an API key in the SuperX app at [app.superx.so/account?tab=api](https://app.superx.so/account?tab=api), then:
```bash theme={null}
superx login
```
This prints the key page URL, prompts you to paste the key, validates it against the API, and saves it to `~/.superx/credentials.json` (file mode 0600). Use `superx login --key "sxk_..."` for a non-interactive login, `superx status` to verify, and `superx logout` to remove the stored key.
## Authentication for CI and agents
Set an environment variable instead of logging in:
```bash theme={null}
export SUPERX_API_KEY=sxk_...
```
The credentials file takes priority over the environment variable when both exist. To point the CLI at a different API host, set `SUPERX_API_URL` to a full base URL including the path (default: `https://api.superx.so/v1`).
## Commands
| Command | Description |
| - | - |
| `superx login` | Authenticate with a SuperX API key (guided paste or `--key`) |
| `superx logout` | Remove stored credentials (`~/.superx/credentials.json`) |
| `superx status` | Check authentication, plan, AI credit pool, and current rate-limit state |
| `superx me` | Show the key owner, plan, and API key details |
| `superx accounts` | List the X accounts this key can read (main account first) |
| `superx posts:list` | List published posts with engagement metrics |
| `superx posts:analytics` | Account analytics: totals, daily series, follower change (default: last 30 days) |
| `superx posts:draft` | Write post drafts in your voice from a `--brief` (`--count` 1-3, `--voice mine`, `creator` or `hybrid` with `--creator`, `--mirror` the text of a proven post to copy the shape of, `--collection`, `--instructions`); nothing is scheduled and each draft costs AI credits (`--account` picks which of your accounts to draft as; `--voice mine` is that account's own voice) |
| `superx posts:remix` | Rewrite a post in your voice (`--text`, `--closeness` 0-100 required; `--instructions`; `--author-handle` keeps the subject when it is this account's own post). Returns text only, nothing is posted |
| `superx engage:reply-draft` | Draft ONE reply to a post (`--post ` reads it live, or `--text` with `--author` / `--handle`; `--thoughts`, `--tone`). Text only: a person posts it |
| `superx tools:inline-edit` | Edit one selected piece of a post (`--text` required, `--full` for the surrounding post, `--instruction` and/or `--type`) |
| `superx tools:rephrase` | One preset rewrite of a post (`--type`, `--text` required) |
| `superx tools:factcheck` | Check a statement against a web search (`--text` required); reports true, false or unknown with its sources |
| `superx posts:viral-score` | Score one draft against this account's own normal post (`--text` required; `--image`, `--video`, `--quote`, `--post-at`, `--population`) |
| `superx posts:triage ` | Sort recent public posts on a topic into Read, Pass or Not sure (`--days` 1-7, default 3). Judges the text, never the author |
| `superx replies:list` | List replies the account has sent (newest first) |
| `superx replies:received` | List replies the audience has sent the account across all its posts |
| `superx inspiration:search ` | Search a library of 50M+ high-performing posts for inspiration (`--sort` including `outlier`, `--min-followers`/`--max-followers`, `--min-outlier-score`, `--min-likes`, `--min-length`, `--exclude-topics`) |
| `superx engage:feeds` | List the Engage feeds saved in the SuperX app (id, name, type, active, fetch\_units) |
| `superx engage:posts ` | Fetch candidate posts from one Engage feed for review (`--limit`, `--mode top` or `latest`, `--fresh`, `--exclude` ids to page); replies are sent by a person in SuperX |
| `superx engage:feeds:create` | Save a new Engage feed (`--name` plus exactly one source: repeatable `--keyword`, `--x-list` id or link, or `--list-id`); it does not become the feed the app has open |
| `superx engage:feeds:update ` | Rename a feed or point it somewhere else (`--name`, and one of `--keyword`, `--x-list`, `--list-id`); the feed keeps its id |
| `superx engage:feeds:delete ` | Delete an Engage feed; if it was the open one, the first remaining feed takes over |
| `superx engage:mentions` | The posts @-mentioning you right now, each with the post it replies to (`--sort top`, `--include-replied`, `--cursor` to page); costs 3 feed fetches |
| `superx audience:list ` | A page of your `followers`, `following`, `repliers` or `reposters` from SuperX's synced snapshot (`--limit`, `--cursor` to page) |
| `superx contacts:list` | List the people who engage with you most |
| `superx contacts:replies ` | List a contact's replies to you (their id from `contacts:list`) |
| `superx contacts:get ` | Show one person: profile, follower counts and the lists they are in (`--refresh` refreshes a stale profile from X). Known contacts only: ids come from `contacts:list`, `lists:members` or `signals:leads` |
| `superx contacts:notes ` | List your private notes about one person (newest first) |
| `superx contacts:notes:add ` | Write a private note about one person (`--body`, never posted anywhere) |
| `superx contacts:notes:update ` | Rewrite one note (`--body` fully replaces the old text) |
| `superx contacts:notes:delete ` | Delete one note (note id from `contacts:notes`) |
| `superx lists:list` | List your contact lists (system lists are read-only) |
| `superx lists:members ` | List the members of a contact list you created (`--q` filters) |
| `superx lists:add-member ` | Add a person to a contact list (`--handle` or `--x-user-id`) |
| `superx lists:remove-member ` | Remove a member from a contact list |
| `superx lists:create` | Create a contact list (`--name`; names are not unique) |
| `superx lists:rename ` | Rename a contact list you created (`--name`) |
| `superx lists:delete ` | Delete a contact list you created and its membership (the people stay) |
| `superx lists:add-members ` | Add up to 500 people at once (`--x-user-ids` comma list); ids SuperX does not know come back in `not_found` |
| `superx lists:remove-members ` | Remove up to 500 members at once (`--member-ids` comma list from `lists:members`) |
| `superx signals:agents` | List your signal agents (automated lead finders) with their watched signals |
| `superx signals:search` | Search X now for people matching an audience description (`--keywords`, `--icp` required; `--precision`, `--max`). Saves nothing, but still needs a write-scope key |
| `superx signals:leads` | List the leads your signal agents have found (`--agent`, `--deposited`, `--since`/`--until` filters) |
| `superx signals:create-agent` | Create a signal agent (`--name`, `--icp` required; repeat `--keyword` for searches and `--signal "type:target"` for the other watch types, 1-5 combined, or omit both to auto-suggest; `--list-id` or omit to auto-create a list) |
| `superx signals:update-agent ` | Edit an agent's `--name`, `--icp`, `--precision`, `--list-id` or `--status` |
| `superx signals:add-signal ` | Add one thing to watch (`--type keyword_watch --query`, `profile_watch`/`follower_watch --handle`, or `list_watch --list`) |
| `superx signals:remove-signal ` | Remove one signal from an agent (leads it already found stay) |
| `superx signals:feedback ` | Record your verdict on one lead (`--fit`, `--not-fit` or `--clear`); the id comes from `signals:leads` |
| `superx signals:suggest-keywords` | Turn an audience description (`--icp`) into 2 or 3 keyword-watch ideas. Free, creates nothing |
| `superx signals:expand-icp` | Build the rubric a signal agent scores people against, from `--text` or a website `--url`. Free, creates nothing |
| `superx signals:pause-agent ` | Pause a signal agent (it stops finding leads until resumed) |
| `superx signals:resume-agent ` | Resume a paused signal agent |
| `superx signals:delete-agent ` | Delete a signal agent (its saved leads and contact list stay untouched) |
| `superx workers:list` | List your Workers (the scheduled AI writers set up in the SuperX app) with their schedules and next run times |
| `superx workers:suggestions` | List the posts your Workers wrote, newest first (`--status to_review` default, or `drafted`/`scheduled`/`dismissed`/`all`; `--worker `, `--limit`, `--page`) |
| `superx workers:draft ` | Save one Worker suggestion as a draft; the id comes from `workers:suggestions` |
| `superx workers:schedule ` | Schedule one Worker suggestion (`--at` UTC ISO-8601 required); it posts at that time like any queued post |
| `superx workers:dismiss ` | Drop one Worker suggestion out of the To review list (no post is created or removed) |
| `superx media:upload ` | Upload a local image (JPG, PNG, WEBP, GIF) and print its `object_key` for `--media` |
| `superx scheduled:list` | List drafts and the scheduled queue (`--tags` filters by tag ids) |
| `superx scheduled:create` | Create a draft (no `--at`) or scheduled post; repeat `--part` for a thread; `--media`/`--alt-text` attach images; `--title`, `--scratchpad`, `--tag` add organizer fields; advanced settings via `--auto-retweet`, `--auto-delete`, `--auto-plug`, `--auto-dm-message`, `--super-followers` |
| `superx scheduled:update ` | Edit a draft or scheduled post; only the flags you pass change (`--status scheduled` promotes; text replacement without `--media` removes the post's images; `--no-auto-retweet` and friends remove advanced settings) |
| `superx scheduled:delete ` | Delete a draft or scheduled post by id |
| `superx posts:publish` | Publish a post or thread to X RIGHT NOW (irreversible); same content, media and advanced-settings flags as `scheduled:create` minus `--at`/`--title`/`--scratchpad`, and `--idempotency-key` is required |
| `superx scheduled:bulk-retime` | Move up to 500 queued posts to new times in one transaction (`--moves-json`) |
| `superx scheduled:bulk-auto-retweet` | Turn Auto Retweet on for up to 100 queued posts (`--ids`, `--auto-retweet `, `--auto-retweet-remove `) |
| `superx scheduled:bulk-delete` | Delete up to 100 QUEUED posts and refund their post quota (`--ids`) |
| `superx plug-templates:list` | List your auto-plug reply templates (id, text, has\_media) for `--auto-plug` |
| `superx context:get` | Show the account's Context settings: profile description, interests, rules, reply settings, favorite creators, style guide, products |
| `superx context:set` | Edit Context settings; only the flags you pass change (`""` clears a string; `--interests`/`--favorite-creators` comma lists fully replace) |
| `superx context:products` | List the account's products (used for product mentions in generated content) |
| `superx context:products:set` | Add or edit one product by `--url` (creates it when new, cap 5) or `--id` |
| `superx context:products:delete ` | Remove a product by id (reversible by re-adding the same url) |
| `superx context:products:replace` | Replace the WHOLE product list with a `--json` array (max 5); products missing from it are removed |
| `superx context:regenerate-style-guide` | Rebuild the generated style guide from the account's recent posts. Free, once an hour |
| `superx context:scrape-product ` | Re-read a saved product's page and refresh its stored details. Free |
| `superx dm:campaign` | Queue direct messages to up to 100 X users (`--recipients ` or `--recipients=-` for stdin, `--message`, `--spread`). Nothing is sent by it: the SuperX app sends |
| `superx dm:campaign-status ` | One campaign's status counts and its individual messages |
| `superx dm:cancel ` | Cancel a campaign's unsent messages (sent ones cannot be recalled) |
| `superx dm:queue` | List the account's queued and recently sent DMs (`--status`, `--campaign`, `--limit`, `--offset`) |
| `superx dm:limits` | Show the account's DM allowances and how much of each is used. Free |
| `superx queue:get` | Show the account's posting schedule: predefined time slots and the timezone they run in |
| `superx queue:set` | Change the posting schedule (`--slots-json` full replace, 0 = Sunday, `'[]'` clears; `--timezone` IANA name); changing the slots re-flows queued posts onto them |
| `superx tags:list` | List your tags (id, name, color) |
| `superx tags:create ` | Create a tag (`--color` picks a palette color, default blue) |
| `superx tags:update ` | Rename and/or recolor a tag |
| `superx tags:delete ` | Delete a tag (it is removed from every post that carries it) |
| `superx articles:list` | List long-form X Articles (`--status` filters) |
| `superx articles:get ` | Get one article with its body as markdown |
| `superx articles:create` | Create an article draft; body via `--content`, `--file`, or piped stdin (markdown) |
| `superx articles:update ` | Edit an article's title, body, or cover; only the flags you pass change |
| `superx articles:delete ` | Delete an article (scheduled articles refund their quota) |
| `superx articles:schedule ` | Schedule or reschedule an article (`--at`, more than 2 minutes ahead) |
| `superx articles:unschedule ` | Pull a scheduled article back to draft (quota refunds) |
| `superx articles:publish ` | Publish an article to X now (irreversible; needs X Premium) |
| `superx articles:cover-styles` | List the article cover styles saved in the SuperX app (ids for `--style-id`) |
| `superx articles:cover ` | Generate an AI cover from the title (60-100s, a flat 25 AI credits; `--style-id` a saved style or `--style` a one-off description, never both; `--no-attach` to skip attaching) |
| `superx datasets:list` | List the audience collections Ask SuperX built in the app (kept for 30 days) |
| `superx datasets:get ` | Read one dataset: status (`collecting`/`ready`/`failed`), counts, coverage sentence |
| `superx datasets:rows ` | Read a page of a ready dataset's rows, exactly as they were collected |
| `superx datasets:export ` | Download a ready dataset as CSV (`--out `, or `--out -` to stream to stdout) |
| `superx datasets:add-to-list ` | Copy the people in a ready dataset into a contact list you created (`--list-id`) |
| `superx datasets:collect` | Collect a new dataset (`--source` repliers/quoters/reposters/list\_members/my\_posts/my\_replies, `--target`, `--max-rows`, filters, `--wait` to poll until it is ready) |
| `superx datasets:research` | Research people into outreach briefs saved as a dataset (exactly one of `--handles`, `--list`, `--agent`, `--dataset`; `--max` 1-25, `--focus`, `--wait`) |
| `superx datasets:outreach-drafts ` | Draft one personalized message per person in a research dataset (`--format` required, `--instructions`). Text only: nothing is sent |
| `superx datasets:refine ` | Filter a dataset by what each person wrote, into a new dataset (`--criterion` required, `--no-keep` inverts, `--sort`, `--limit`, `--wait`) |
| `superx x:post ` | Look up one public X post live (`--quotes` also fetches a page of quote posts) |
| `superx x:replies ` | The top replies by likes to a public post, live (`--limit`, up to 20) |
| `superx x:user ` | Look up one public X profile live |
| `superx x:user-posts ` | One live page of an account's latest posts (`--limit`, `--no-reposts`) |
| `superx inspiration:media [query]` | Search the cross-platform media index (`--platforms`, `--time-filter`, `--media-type`, `--content-type`, `--limit` up to 120); omit the query to browse the newest |
| `superx docs` | Print the SuperX API quickstart (markdown, no auth needed) |
Flags mirror the API's query parameters: `--account`, `--limit`, `--page`, `--since`/`--until`, `--sort`, `--type`, `--status`, `--from`/`--to`. Run any command with `--help` for its full flag list and examples.
Datasets are created in the SuperX app (Ask) for now; the CLI reads them. `datasets:rows`, `datasets:export` and `datasets:add-to-list` need a dataset whose status is `ready`, so poll `datasets:get ` first; anything else returns `409 dataset_not_ready`. Export is CSV only (XLSX downloads stay in the app), and `datasets:export` writes a filename matching the app download's naming pattern (`superx-dataset--.csv`) unless `--out` says otherwise.
The `x:*` commands read X live rather than SuperX's stored data. They cost the tighter enrichment allowance (1 unit each, 3 for `x:replies`, 2 for `x:post --quotes` or an `x:user-posts` handle SuperX has never seen) and share an allowance of 300 live lookups a day with Ask SuperX in the app; over it is a `lookup_quota_exceeded` error that resets at midnight UTC. Repeat lookups within 15 minutes may come from a server-side cache. `x:replies` samples the best-liked replies from up to 3 pages, so it is not the full reply list. `inspiration:media` costs no enrichment and is not personalised: with no query it browses the newest media. It returns no media file URLs; `source_url` opens the original post on its own platform. It has no pagination, returning at most 120 items per query, so ask for `--limit 120` and filter locally rather than calling it repeatedly. `--content-type` is a free-text label as stored in the index, with no list to choose from: a label the index does not use returns zero items and still counts against the daily search cap.
Note that drafts have no scheduled time, so `--from`/`--to` filters on `scheduled:list` exclude drafts; use `--status draft` to list them. `scheduled:list` returns the most recently updated first, so page 1 is the newest work; walk back with `--page` rather than raising `--limit`. A `--from`/`--to` request is a calendar query instead and comes back in scheduled-time order, oldest first.
Workers are the scheduled AI writers set up in the SuperX app, and each run drops a batch of posts into the app's To review queue. `workers:list` reads the Workers and `workers:suggestions` reads what they wrote. Creating, editing and RUNNING a Worker stays in the app, so the CLI has no command for any of those. `workers:draft` saves one suggestion to Drafts, `workers:schedule --at` queues it, and `workers:dismiss` clears it out of To review without touching any post. The text is saved exactly as the Worker wrote it, so show it to the person first: to change the wording, rewrite it with `posts:remix` or `tools:rephrase`, save your version with `scheduled:create`, and dismiss the original. A suggestion can only be saved once (a second call is a 400 `already_saved`, a dismissed one `already_dismissed`), and the response carries the new `post_id`, which from then on is an ordinary post for `scheduled:list`, `scheduled:update` and `scheduled:delete`.
To post an image: `superx media:upload ./chart.png` prints an `object_key`, then `superx scheduled:create --text "..." --media "" --alt-text "..."` attaches it (comma-list up to 4 image keys, or exactly 1 GIF). For threads with media, pass the full parts array as JSON via `--parts-json`. Images are capped at 5MB (GIF 15MB) and 100 uploads per day.
`posts:publish` sends the post to X the moment it returns, so confirm the exact text with a person first and use `scheduled:create --at` for anything that can wait. `--idempotency-key` is required there: reuse the same key on a retry and the original result comes back instead of a second post, and a retry that lands while the first attempt is still publishing returns 409 `idempotency_in_flight` with a delay to wait. The result carries `status: "sent"`, `posted_at`, `x_post_id` and `url`.
The three bulk commands only touch posts in the QUEUE: drafts, sent posts and error rows are counted as skipped and are never retimed or deleted, and `scheduled:bulk-auto-retweet` also skips posts that already have their own auto retweet. Posts created through the CLI or API inherit the account's Default Post Settings, so if Auto Retweet is on there every one of them already carries an auto retweet and comes back as skipped: create them with `--no-auto-retweet` (or clear it with `scheduled:update --no-auto-retweet`) if you want to bulk-apply a different one. They answer with counts rather than per-post results, so re-read with `scheduled:list` to see the new state. None of them takes an idempotency key: re-running the same call converges.
Advanced settings on `scheduled:create`: flags you omit inherit your Default Post Settings from the SuperX app. Exactly five settings inherit this way (auto retweet, auto delete, auto plug, auto DM, Super Followers only); other composer defaults such as Bluesky cross-posting or share-with-followers are never applied to API posts. `--auto-retweet ` (1-12, plus `--auto-retweet-remove `), `--auto-delete ` (1-12, plus `--auto-delete-threshold `, default 1000), `--auto-plug ` with `--auto-plug-threshold ` (template ids from `plug-templates:list`), `--auto-dm-message ` (always required to arm an auto DM; 1-1000, with optional `--auto-dm-triggers reply,repost` where `retweet` is accepted as an alias of `repost`, `--auto-dm-max ` and `--auto-dm-batch`), and `--super-followers` set explicit values; the `--no-*` forms (`--no-auto-retweet`, `--no-auto-delete`, `--no-auto-plug`, `--no-auto-dm`, `--no-super-followers`) turn a setting off for that post. On `scheduled:update` there is no inheritance: flags you pass override, omitted flags keep the post's current settings, and `--no-*` removes them. An auto DM goes to the people who reply to or repost the post once it is live; your plan caps how many posts a month may carry one (`dm:limits` shows `posts_with_auto_dm`), and if that cap strips it at create time the post is still created and the response carries `auto_dm_skipped: true`.
Writing helpers: `engage:reply-draft`, `posts:remix`, `tools:inline-edit`, `tools:rephrase`, `tools:factcheck` and `posts:viral-score` all return TEXT or a score and post NOTHING. `engage:reply-draft` writes one reply for a person to review and post; there is no reply-sending command anywhere in the CLI, so never report a reply as sent. Give it exactly one of `--post ` (the post is read live, which costs one live lookup on top of the credit) or `--text`, and use `--thoughts` for what the person actually wants to say rather than inventing an opinion for them. `posts:remix` needs `--closeness` 0-100: 0 keeps only the idea, 100 stays very close to the wording. A `tools:factcheck` verdict is a model's reading of a couple of search results, so report it with its sources and never as settled fact, and a `posts:viral-score` result compares a draft with the account's OWN recent posts (its originals from the past 90 days, minus the last 3 days, whose numbers are still settling) rather than predicting reach: rewrite what `hurt` names, score again, and read anything in `warnings` as a stop sign, because those things can only push the score down. Each of these costs measured AI credits: typically 1, and 2 for a remix or a reply draft.
`posts:triage ""` is the one command here that reads other people's posts. It searches recent public posts on a topic (`--days` 1-7, default 3) and sorts up to 40 of them into `lane` `read`, `unsure` or `pass`, each with a `pct`, a `kind` and the `answers` behind the call, so you can say why a post landed where it did from its own numbers. `pct` is how CLEAR the call was and NOT how good the post is: on `read` and `pass` it runs 50 to 99, so a `pass` at 99 is a post confidently not worth reading, and only on `unsure` is it the raw worth-reading score. Always quote it with its lane, and never rank posts by it across lanes. What is judged is the TEXT of a post, and the model never sees who wrote it, so report it as a read on the writing rather than a rating of a person. The search asks for original posts, English only, with a floor of 30 likes; replies and reposts never come back, and none of those is a flag you can change, so a small or brand-new topic can come back empty. The floor is what the search asks for rather than a promise about `counts.likes`: a few posts do come back under it. It costs a flat 2 credits a run, spends one live lookup for a single-word query and two for a multi-word one, and carries a per-day cap per plan. Nothing is posted, saved or sent.
DM campaigns queue, they do not send. `dm:campaign` takes `--recipients` as a JSON file (or `--recipients=-` for stdin; the `=` is required) of `[{ "x_user_id", "handle"?, "name"?, "message"?, "source_post_id"? }]`, up to 100 people, plus a shared `--message` in which `[name]`, `[first]` and `[handle]` are filled per recipient. The messages go into the account's own DM queue and the SuperX app's scheduler sends them within the account's daily and monthly limits, so the reply is counts (`queued`, `queued_now`, `scheduled`, `skipped`, `duplicates`), not deliveries: read `dm:campaign-status` to see what actually went out. When every recipient is skipped nothing is queued and the `id` comes back null, so there is no campaign to look up. People messaged in the last 24 hours are skipped and counted in `duplicates`, the account never messages itself, and `--spread` places whatever today's allowance cannot hold over the coming days. `dm:cancel` deletes the unsent rows and gives the monthly allowance back; a campaign that exists but has nothing left answers `cancelled: 0`. Costs no AI credits; `dm:limits` shows the plan's numbers. You are responsible for these messages under X's rules on automation and unsolicited contact.
Free helpers: `context:regenerate-style-guide`, `context:scrape-product`, `signals:suggest-keywords` and `signals:expand-icp` cost no AI credits. `context:regenerate-style-guide` rewrites the guide every writing command above reads, once an hour per account; your manual overrides (`context:set --style-audience` / `--style-vocabulary`) still outrank it. `context:scrape-product` and `signals:expand-icp --url` read a page, and each account can read 20 pages a day, shared with the SuperX app; `--url` also inherits the app's short-term limit of 10 prefills per 10 minutes, which comes back as `rate_limited` and clears in about a minute. `context:regenerate-style-guide` on an account with fewer than 5 stored posts reads them live, and that leg is capped at 3 attempts a day. `signals:expand-icp` returns a rubric with nowhere to save it (agents are created with `--icp`), so use it to sharpen that description; a keyword suggestion, on the other hand, goes straight into `signals:create-agent --keyword` or `signals:add-signal`. All four need a key with the `write` scope: they are POSTs, and every non-GET route on the API needs it.
Lead search and outreach: `signals:search` runs ONE live keyword search and returns the leads inline. It creates no signal agent and stores no leads, so keep what you need from the response and use `signals:create-agent` when the person wants leads to keep arriving. `datasets:research` turns handles, a contact list, an agent's leads or a dataset into outreach briefs saved as a dataset; more than 5 profiles run in the background, so pass `--wait`. `datasets:outreach-drafts` then writes one message per person onto that dataset. **The drafts are text and nothing is sent**: they live on the dataset (read them with `datasets:rows`) and a person sends them from the SuperX app. Ask the person for the `--format`; never invent one. `datasets:refine` filters a dataset by what each person wrote into a NEW dataset, leaving the source untouched, keeps rows it cannot judge (counted as `unclear`), and counts against the same 10 dataset collections a day. On a `429 ai_action_limited`, read `error.scope`: `account` is the plan's own daily cap, `platform` is a fair-use ceiling shared by every account, so wait for `reset_at` rather than reporting the account as out.
Engage feeds and signals: `engage:feeds:create` saves a feed but deliberately does not switch the feed the person has open in the app, so tell them where to find it. Up to 8 feeds per account, `engage:feeds:update` changes one source at a time (a feed may change type and keeps its id), and deleting the open feed hands the slot to the first remaining one. An `--x-list` source and the `profile_watch`, `follower_watch` and `list_watch` signal types are looked up live: those calls spend one unit of the tighter enrichment allowance and only PUBLIC X lists work. `signals:create-agent` is a partial success, so read the `warnings` array before reporting what an agent watches and re-add the fixed entries with `signals:add-signal`. `signals:feedback` trains the scorer, so ask the person for the verdict rather than deciding for them.
Article bodies are markdown in both directions: headings, lists, blockquotes, bold/italic/strikethrough, links, images by URL, and bare X post URLs as embeds. Constructs the X Articles format cannot express (code blocks, horizontal rules) degrade to plain text and are reported in a `warnings` array.
Context settings (`context:get` / `context:set`) are the background SuperX's AI uses when writing for the account: the profile description grounds the voice, `--interests` drive content suggestions, `--rules` are mandatory instructions on every AI surface, `--reply-rules` and `--reply-author-name` steer generated replies, `--favorite-creators` (max 3) inspire the style, and `--style-audience`/`--style-vocabulary` outrank the app's generated style guide until cleared with `""`. Boolean flags support `--no-*` negation. Caps: 500 characters for the profile description, rules, and reply rules; 600 for the style audience; 1000 for the style vocabulary; 30 interests; 3 creators; 5 products.
Contacts and lists: `contacts:get` takes a numeric X user id (from `contacts:list`, `lists:members`, or `signals:leads`) and returns the stored profile plus the lists that person is in. It resolves only your KNOWN contacts, meaning people who have replied to or reposted your posts, members of your contact lists, and scored signal leads; any other id returns 404 `contact_not_found`, even one SuperX holds a profile for. `contacts:notes:add` follows the same rule: you can only start a note on a known contact. The other `contacts:notes*` commands work on any id you already have a note on. `--refresh` refreshes a stale profile from X and counts against the tighter enrichment limit, so leave it off unless the follower counts have to be current. Notes are private to SuperX and never posted, and a note written through the CLI is attributed to the account it was written as. `lists:add-members` adds up to 500 people in one call by X user id and does no live lookup, which is why it costs one write and no enrichment; ids SuperX has never seen come back in `not_found` and are not added, so add those with `lists:add-member --handle`. `lists:delete` also stops any signal agent depositing into that list until the agent is repointed in the SuperX app. `context:products:replace` is a full replace by url: read `context:products` first and send every product the account should keep, or use `context:products:set` to change one in place.
## JSON output
stdout is clean JSON for every command except `superx docs` (markdown), so output pipes straight into `jq`:
```bash theme={null}
superx posts:list --sort likes --limit 5 | jq '.data[].text'
```
Human and status messages go to stderr. Exit code is `0` on success, `1` on error.
## Agent skill
The [superx-agent](https://github.com/superx-so/superx-agent) repo packages the CLI as a skill for Claude Code and compatible agent tools:
```bash theme={null}
npx skills add superx-so/superx-agent
```
With the CLI already installed, `superx skills:install` does the same job from the package itself: it puts the skill in `~/.claude/skills/superx` and `~/.agents/skills/superx` (`--target claude|agents|openclaw|all`, `--project` for the current directory, `--copy` instead of a symlink). `superx skills:list` prints every bundled skill as JSON. Nothing is written on `npm install`.
The skill teaches the agent the full workflow (check auth, read analytics and contacts, create drafts, verify) and ships with a growth strategy guide, a distilled SuperX method the agent follows when deciding what and when to post.
It also ships with the goal-shaped skills documented on [Agent skills](/skills), one folder each: every one gives the command chain for a named SuperX skill, the matching MCP tools, and the point where the agent hands back to a person.
# Errors
Source: https://docs.superx.so/errors
The error envelope, every error code, and one legacy exception to know about.
## The error envelope
Errors return an appropriate HTTP status and this JSON body:
```json theme={null}
{
"error": {
"code": "invalid_parameter",
"message": "since must be a UTC ISO-8601 timestamp"
}
}
```
`code` is stable and machine-readable; branch on it, not on `message` (messages may be reworded). Rate-limit errors add a `retry_after` field inside the envelope, and credit errors add `credits_required`, `credits_remaining` and `reset_at` (a unix timestamp in seconds). Fields are only ever added, never removed, so ignore ones you do not use.
## Legacy exception: subscription errors
One middleware predates the v1 envelope and is shared with the SuperX app, so two subscription-related responses use a **plain string** `error` field instead of the object envelope:
```json theme={null}
{ "error": "subscription_required: The SuperX API requires an active subscription" }
```
* `403` when the subscription has lapsed (string starts with `subscription_required:`)
* `500` if subscription verification itself fails (string starts with `internal_error:`)
To handle every case, check whether `error` is a string or an object. All other errors, including every other `403`, use the object envelope.
## Error codes
| Status | Code | Meaning |
| - | - | - |
| 400 | `invalid_parameter` | A query or body parameter is missing, malformed, or out of range (including timestamps without an explicit `Z` or offset) |
| 400 | `invalid_request` | The scheduling service rejected the post payload |
| 400 | `invalid_media` | An `object_key` that is unknown or not yours; upload first via `POST /v1/media` |
| 400 | `media_not_uploaded` | The upload was presigned but the bytes were never PUT (or the file is empty) |
| 400 | `unsupported_media_type` | Not a supported image (JPG, PNG, WEBP, or GIF); videos land here too |
| 400 | `media_too_large` | Over the size cap: 5MB for images, 15MB for GIFs |
| 400 | `fetch_failed` | The MCP `upload_media_from_url` download failed, timed out, or followed too many redirects |
| 400 | `url_not_allowed` | The MCP `upload_media_from_url` URL is not plain public https (private or reserved addresses, embedded credentials, and non-https schemes are rejected) |
| 400 | `invalid_source` | `POST /v1/datasets` was sent a `source` it does not accept. The list is in the endpoint reference, and it includes `research` |
| 400 | `system_list_not_supported` | A system people-list (Followers, Following, Repliers, Reposters) was used where only a list you created works: reading its members, or pointing `POST /v1/datasets` with `source: "research"` at it |
| 400 | `range_too_large` | Analytics range beyond the 366-day maximum |
| 400 | `mirror_rejected` | The `mirror` post on `POST /v1/posts/draft` cannot be used as a shape (too thin, carries a link, or is engagement bait); the message names the reason |
| 400 | `invalid_collection` | Unknown or unusable `collection` id on `POST /v1/posts/draft`; the message lists the ids that work |
| 400 | `unknown_creator` | SuperX has no posts for that `creator` handle, so it cannot learn the style |
| 400 | `creator_style_unavailable` | A style guide for that creator could not be built (not enough public posts). Terminal: retrying will not help |
| 400 | `dataset_has_no_people` | The dataset holds no people to add to a contact list: own-content datasets (`has_people: false`) hold posts, and rows without an X account id are skipped |
| 400 | `not_enough_posts` | `POST /v1/context/style-guide/regenerate` needs at least 5 recent posts on the account to read a style from. Terminal until the account posts more |
| 400 | `account_not_linked` | `POST /v1/dm/campaigns` needs a connected X account on the sending account; connect it in the SuperX app |
| 401 | `unauthorized` | Missing or malformed `Authorization` header |
| 401 | `invalid_api_key` | Unknown or revoked key |
| 403 | `insufficient_scope` | Read-only key used on a non-GET endpoint |
| 403 | `writes_main_account_only` | Write attempted for an account shared with you (shared accounts are read-only through the API), or a `/v1/tags` write for an account other than your main account. Your own linked accounts accept writes |
| 403 | `editor_restricted` | Context write on an account shared with you with `editor` permission; only the owner can change those settings (queue settings stay editable) |
| 403 | `onboarding_required` | Finish onboarding in the SuperX app before scheduling posts |
| 403 | `post_quota_exceeded` | Post quota for the billing period is used up |
| 403 | `reauth_required` | The connected X account must be re-authorized in the SuperX app before it can publish. Returned by `scheduled_for: "now"` and article publishing |
| 403 | `dm_not_in_plan` | The account's plan carries no DM allowance, so `POST /v1/dm/campaigns` cannot queue anything. Check `GET /v1/dm/limits` |
| 403 | `cap_reached` | A plan limit on signal agents, or on the signals one agent may hold, is reached. Pause or delete one, or upgrade |
| 403 | (legacy string) | Subscription lapsed; see above |
| 404 | `account_not_found` | `account_id` is not one of your accounts |
| 404 | `not_found` | No such resource for this account (for example a scheduled post id) |
| 404 | `contact_not_found` | The id is not one of the account's contacts. Returned by `GET /v1/contacts/{id}` and `POST /v1/contacts/{id}/notes`; contacts are your engagers, contact-list members and signal leads |
| 404 | `note_not_found` | No note with that id belongs to the contact in the path |
| 404 | `list_not_found` | The contact list id is not one of your lists. Also returned when a signal agent's `destination_list_id` is not usable |
| 404 | `feed_not_found` | No Engage feed with that id belongs to this account |
| 404 | `x_list_not_found` | The X list is private, deleted, or never existed. Only public X lists can be used as an Engage feed source or a `list_watch` signal |
| 404 | `user_not_found` | No X account matches that handle (contact-list adds, `profile_watch` / `follower_watch` signals, `GET /v1/x/users/{handle}` and its `/posts`) |
| 404 | `post_not_found` | No public post with that id on the live lookups (`GET /v1/x/posts/{id}` and its `/replies`, and `POST /v1/engage/reply-draft` with a `post_id`): deleted, protected, or the wrong id. The upstream read reports a missing post and a failed read identically, so a transient failure can surface here too; retry once before concluding the post is gone |
| 404 | `agent_not_found` | The agent id is not one of your signal agents |
| 404 | `signal_not_found` | The signal id does not belong to the agent in the path |
| 404 | `lead_not_found` | No lead with that id belongs to this account. Lead ids come from `GET /v1/signals/leads` and are not X user ids |
| 404 | `cover_style_not_found` | The `style_id` is not one of your saved cover styles; list them at `GET /v1/cover-styles` |
| 404 | `product_not_found` | No product with that id belongs to this account. Product ids come from `GET /v1/context`; returned by `POST /v1/context/products/{id}/scrape` |
| 404 | `campaign_not_found` | No DM campaign with that id belongs to this account, or it queued nothing in the first place (every recipient was skipped, so `data.id` came back null), or every message it queued has been sent or cancelled. Campaign ids come from `POST /v1/dm/campaigns` |
| 404 | `dataset_not_found` | No dataset with that id belongs to this key, or it expired (datasets are kept for 30 days). List them at `GET /v1/datasets` |
| 409 | `idempotency_key_reuse` | Same `Idempotency-Key` with a different request body |
| 409 | `idempotency_in_flight` | An earlier request with this `Idempotency-Key` is still publishing. Wait for the `Retry-After` delay and retry the SAME key; it will never publish twice |
| 409 | `post_already_published` | The post has already gone out on X, so it cannot be published again |
| 409 | `creator_style_pending` | The creator's style guide is being prepared; retry the same request in about a minute |
| 409 | `duplicate_signal` | The agent already watches that target. An agent may hold each target once |
| 409 | `feed_limit_reached` | The account already holds the maximum number of saved Engage feeds (8). Delete one first |
| 409 | `profile_not_synced` | The account's X profile has not synced into SuperX yet, so `GET /v1/engage/mentions` has no handle to search for. Open the account in the SuperX app once, then retry |
| 409 | `collection_in_progress` | Another background audience collection, research run or refinement is still running for this account. Poll it with `GET /v1/datasets/{id}` and start the next one when it finishes |
| 409 | `dataset_not_ready` | The dataset id is valid but the dataset is not `ready`. The error carries the current `dataset_status`: `collecting` finishes on its own (poll `GET /v1/datasets/{id}`), `failed` has to be rebuilt in the SuperX app |
| 422 | `post_has_no_text` | `POST /v1/engage/reply-draft` read the post you named but it carries no text to reply to (an image or video with no caption). Supply the wording yourself in `post` instead. The credits are refunded |
| 422 | `scrape_failed` | A page could not be read (`POST /v1/context/products/{id}/scrape`, `POST /v1/signals/icp/expand-from-url`): it blocked the read, moved, or carries no usable text. The message says what happened. A transient failure answers `502 upstream_error` instead, so a `scrape_failed` is worth fixing rather than retrying |
| 429 | `rate_limited` | Rate limit exceeded; honor `Retry-After`. Also returned by `POST /v1/signals/icp/expand-from-url` when more than 10 website prefills are run in 10 minutes, a short-term limit separate from the daily page-read budget |
| 429 | `media_quota_exceeded` | Daily media upload limit (100 per key) reached; honor `Retry-After` |
| 429 | `ai_credits_exhausted` | The account's AI credit pool is used up (AI cover generation, post drafting, reply drafts, remix and the `/v1/tools/*` helpers). Carries `credits_required`, `credits_remaining` and `reset_at`, plus a `Retry-After` header. See [Credits](/rate-limits#credits) |
| 429 | `ai_action_limited` | A count limit for this AI action is used up. Carries `scope`, `retry_after`, `reset_at` and a `Retry-After` header; the daily counters reset at midnight UTC. `scope: "account"` is your own ceiling: your plan's daily cap for the action, the once-an-hour limit on `POST /v1/context/style-guide/regenerate` (here `reset_at` is an hour after the last SUCCESSFUL run, not midnight), the 3 live style-guide attempts a day that same endpoint allows an account with fewer than 5 stored posts, or the 20 page reads a day shared with the SuperX app that `POST /v1/context/products/{id}/scrape` and `POST /v1/signals/icp/expand-from-url` draw on. `scope: "platform"` is the platform-wide fair-use ceiling on live-data actions, shared with every SuperX account, so your own allowance is untouched and the fix is to wait and retry |
| 429 | `dm_limit_reached` | The account's DM allowance is used up. Carries `scope` (`month` or `day`) and a `Retry-After` header; the monthly refusal also carries `reset_at`. These are PLAN limits, not AI credits, so `GET /v1/dm/limits` is where the numbers live. On `scope: "day"`, `spread: true` places the campaign over the coming days instead |
| 429 | `collection_quota_exceeded` | Today's dataset collections are used up (10 per account per day, shared with the collections Ask SuperX runs in the app; a refinement counts as one). Carries `retry_after`, `limit` and `reset_at`, plus a `Retry-After` header; the counter resets at midnight UTC |
| 429 | `lookup_quota_exceeded` | The daily live X lookup allowance (300 per account, shared with Ask SuperX in the app) is used up, or it could not be verified. Carries `retry_after`, `limit` and `reset_at`, plus a `Retry-After` header; the counter resets at midnight UTC. See [Rate limits](/rate-limits#live-x-lookups) |
| 500 | `internal_error` | Unexpected server error |
| 502 | `upstream_error` | A dependent SuperX service returned an unexpected response |
| 502 | `generation_failed` | Every draft in a `POST /v1/posts/draft` call failed to generate; all credits for the call were refunded |
| 503 | `media_not_configured` | Media storage is not configured on this server; try again later |
| 503 | `accounts_unavailable` | Linked and shared account verification temporarily unavailable (main account still works) |
| 503 | `upstream_unavailable` | The scheduling service is temporarily unreachable; safe to retry (reuse your `Idempotency-Key` on POST) |
Retired code: `media_not_supported` (posts were text-only before 2026-07-09). Posts now take images via `POST /v1/media` plus `parts[].media`; a top-level `media` field on the create or update body returns `400 invalid_parameter` with a message pointing at `parts[].media`.
## Fail-closed behavior
When the API cannot verify something, it refuses rather than guesses: unverifiable linked or shared accounts return `503 accounts_unavailable` (never stale data), and an unreachable scheduling service returns `503 upstream_unavailable` (never a silent success). The same rule covers metering: when your credit balance or a per-day action counter cannot be read, the call returns `429` rather than running unmetered.
# Idempotency
Source: https://docs.superx.so/idempotency
Safely retry POST /v1/scheduled-posts without creating duplicates.
Network timeouts make writes ambiguous: the request may or may not have landed. `POST /v1/scheduled-posts` supports idempotency keys so retries converge on **one** post instead of creating duplicates.
## Usage
Send a unique key (up to 64 characters; a UUID works well) with the request:
```bash theme={null}
curl -X POST https://api.superx.so/v1/scheduled-posts \
-H "Authorization: Bearer sxk_..." \
-H "Idempotency-Key: 2f1e8a54-6f6c-4a3b-9a1e-example00001" \
-H "Content-Type: application/json" \
-d '{
"text": "Shipping day.",
"scheduled_for": "2026-07-08T15:00:00Z"
}'
```
On success the response is `201` with the created post. If the request times out or returns `503 upstream_unavailable`, retry with the **same key and same body**; you will end up with exactly one scheduled post.
## Semantics
* The key is reserved **before** the write is attempted, and the post id is fixed at reservation time. Retries reuse that id, which is why they cannot duplicate.
* Same key, same body, after a completed request: the stored response is replayed with its original status (`201`, or a stored definitive `4xx`), plus the header `Idempotency-Replayed: true`.
* Same key, **different body**: `409 idempotency_key_reuse`. Keys identify one logical request; new content needs a new key.
* Definitive rejections (`4xx`) are stored and replayed. Transient failures (`5xx`, unreachable) are **not** stored, so retrying the same key attempts the write again.
* Keys are retained for 24 hours; after that the same key behaves as new.
* Requests without an `Idempotency-Key` header get no idempotency protection.
## Publishing now
`scheduled_for: "now"` publishes to X immediately, which cannot be undone, so the header is **required** there: without it the request is rejected with `400 invalid_parameter`. Two rules are specific to publishing:
* A retry that arrives while the first attempt is still publishing returns `409 idempotency_in_flight` with a `Retry-After` header. Wait that long, then retry the **same** key.
* After that window, a retry does not post again: the API looks up the reserved post id, and if the first attempt did publish, it replays that result (`201`, with `Idempotency-Replayed: true`).
The 24-hour retention has one consequence worth knowing when publishing: a retry sent more than 24 hours after the original request no longer finds the key and is treated as brand new content, so it publishes again. Retry within the window, or check `GET /v1/scheduled-posts?status=sent` first.
## Scope
Idempotency keys are scoped to the API key that sent them; two of your API keys can use the same string without colliding. Only `POST /v1/scheduled-posts` uses idempotency keys (optional when scheduling, required with `scheduled_for: "now"`). The bulk queue endpoints do not take one and do not need one: re-running the same call converges. `DELETE` is naturally idempotent: deleting an already-deleted post returns `404 not_found`.
# Introduction
Source: https://docs.superx.so/introduction
The SuperX public API: your Twitter/X content, analytics and audience data over simple REST endpoints.
The SuperX API gives you programmatic access to the same data you see in the SuperX app: your published posts and their metrics, analytics over time, the people who engage with you, and your drafts and scheduled posts. You can also create and delete scheduled posts.
## Base URL
```
https://api.superx.so/v1
```
All endpoints live under `/v1`. Requests and responses are JSON, except `GET /v1/docs`, which returns a short machine-readable markdown quickstart without authentication.
## What you can do
| Area | Endpoints |
| - | - |
| Identity | `GET /v1/me`, `GET /v1/accounts` |
| Content | `GET /v1/posts`, `GET /v1/replies`, `GET /v1/replies/received` |
| Analytics | `GET /v1/posts/analytics` |
| Audience | `GET /v1/contacts`, `GET /v1/contacts/{id}/replies`, contact lists (`/v1/contact-lists`) |
| Scheduling | `/v1/scheduled-posts` CRUD, tags (`/v1/tags`), `POST /v1/media` |
| Articles | `/v1/articles` CRUD, schedule/publish, AI cover generation |
| Signals | `/v1/signals/agents` CRUD, `GET /v1/signals/leads` |
| Inspiration | `GET /v1/inspiration` |
Posts take images: presign with `POST /v1/media`, PUT the bytes, then attach the returned `object_key` via `parts[].media` (up to 4 images or exactly 1 GIF per part, optional `alt_text`). JPG, PNG, WEBP up to 5MB; GIF up to 15MB. Video is not supported yet.
## Conventions
* **Timestamps** are UTC ISO-8601 in both directions. Inputs must include an explicit `Z` or a numeric offset (`2026-07-06T12:00:00Z`, `2026-07-06T14:00:00+02:00`). Timestamps without a timezone are rejected with `400 invalid_parameter`.
* **Lists** return `{ "data": [...], "pagination": { "page", "limit", "has_more", "total"? } }`. `limit` is capped at 100; `total` appears only where it is cheap to compute.
* **Errors** return `{ "error": { "code", "message" } }` with a stable machine-readable code. See [Errors](/errors) for the codes and one legacy exception.
* **Query parameters**: each query parameter may appear once; a repeated or bracketed parameter (for example `?q=a&q=b` or `?q[a]=1`) is rejected with `400 invalid_parameter`.
* **Account selection**: most endpoints accept an `account_id` parameter. When omitted, your main account is used. See [Accounts](/accounts).
## Quick start
1. Create an API key in the SuperX app: **Account > API / MCP / CLI**.
2. Copy the key when it is shown. It is displayed exactly once.
3. Make a request:
```bash theme={null}
curl https://api.superx.so/v1/me \
-H "Authorization: Bearer sxk_your_key_here"
```
## Requirements
An active SuperX subscription (including trials and team-billed accounts). If the subscription lapses, requests return `403` until you resubscribe; your keys are kept and start working again automatically.
# MCP server
Source: https://docs.superx.so/mcp-server
Connect Claude Code, Codex, ChatGPT, and Claude directly to your SuperX data with the hosted SuperX MCP server.
SuperX hosts a remote MCP (Model Context Protocol) server at `https://api.superx.so/v1/mcp`. Any MCP client can read your X (Twitter) analytics, posts, contacts, contact lists, audience replies, signal agents and their leads, tags, scheduled queue, and long-form Articles, search a library of high-performing posts for inspiration, schedule, edit, or delete posts (with image attachments), manage contact list members, create, edit, pause, resume, or delete signal agents (automated lead finders) and the signals they watch, record verdicts on the leads they find, create, edit, and delete Engage feeds, create, edit, schedule, and publish Articles with AI cover generation, read or update the account's Context settings (the background SuperX's AI uses when writing: profile description, interests, rules, favorite creators, style guide, products), rebuild the account's generated style guide, stage the audience description, rubric and keyword ideas for a new signal agent, queue direct messages into the account's own DM pipeline, and read the posts the account's Workers wrote and save, schedule or dismiss one, using the same API keys as the REST API. Nothing to install or run yourself.
You need an API key from [app.superx.so/account?tab=api](https://app.superx.so/account?tab=api) and an active SuperX subscription.
## Claude Code and Codex (header auth)
CLI-class clients send the key as a normal Authorization header. This is the preferred mode.
```bash theme={null}
claude mcp add --transport http superx https://api.superx.so/v1/mcp --header "Authorization: Bearer YOUR_API_KEY"
```
Replace `YOUR_API_KEY` with your `sxk_...` key. For Codex, add a streamable HTTP MCP server with the same URL and header in its MCP configuration.
## ChatGPT and claude.ai (keyed URL)
Remote connectors that cannot send custom headers use a URL with the key embedded:
```bash theme={null}
https://api.superx.so/v1/mcp/YOUR_API_KEY
```
* **ChatGPT**: Settings, then Connectors, then add a custom connector with this URL. Set authentication to none (the key is in the URL).
* **claude.ai**: Settings, then Connectors, then add a custom connector (remote MCP server) with this URL, authentication none.
The API / MCP / CLI tab in the SuperX app shows the ready-to-paste URL once, right when you create a key.
## Tools
For the tool chains behind a whole job (a weekly recap, a week of posts, a queue reshuffle, a DM campaign), see [Agent skills](/skills): one recipe per skill, each naming the tools to call in order and where the chain stops.
| Tool | Description |
| - | - |
| `get_account_overview` | Follower count and trend, plus posting totals over a date range |
| `get_post_analytics` | Published posts with per-post metrics, top performers or most recent; a thread continuation (a reply to your own post) counts as a post and is flagged `is_thread` |
| `get_top_contacts` | The people who engage with the account most (90-day window) |
| `get_contact_history` | One contact's reply history to the account |
| `get_my_replies` | Replies the account sent to other accounts, newest or best-performing first; thread continuations are posts, so they are listed by `get_post_analytics` instead |
| `get_scheduled_posts` | Drafts and the scheduled queue for an account |
| `find_inspiration` | Search a library of 50M+ high-performing posts by topic; filter by author follower range (`min_followers`, `max_followers`), `min_outlier_score` (1.0 = expected engagement for the author's size), engagement minimums, length and excluded topics, sort by `outlier` and other orders, and page through results. Each post returns its `outlier_score` |
| `list_engage_feeds` | The account's saved Engage feeds (keyword and list feeds) with id, type and fetch\_units |
| `get_engage_feed_posts` | Candidate posts from one Engage feed (id, url, text, author, metrics) for a person to review; there is no reply tool by design |
| `schedule_post` | Create a draft or scheduled post or thread on your main account or a linked account, with optional images, title, scratchpad notes, tags, and advanced settings (`autoRetweet`, `autoDelete`, `autoPlug`, `superFollowersOnly`) |
| `delete_scheduled_post` | Delete a draft or scheduled post by id |
| `list_tags` | List the account's tags (id, name, color) |
| `update_scheduled_post` | Edit a draft or scheduled post: text, images, title, scratchpad, tags, time, draft/scheduled status, or advanced settings |
| `publish_post` | Publish a post or thread to X immediately (irreversible; requires an `idempotency_key` you choose and reuse on retries) |
| `bulk_retime_scheduled_posts` | Move up to 500 queued posts to new times in one transaction |
| `bulk_enable_auto_retweet` | Turn Auto Retweet on for up to 100 queued posts that do not already have it |
| `bulk_delete_scheduled_posts` | Delete up to 100 queued posts and refund their post quota |
| `list_articles` | List long-form X Articles (title, status, times) |
| `get_article` | One article with its full body as markdown |
| `create_article` | Create an article draft (markdown body) on your main account or a linked account |
| `update_article` | Edit an article's title, markdown body, or cover URL |
| `schedule_article` | Schedule or reschedule an article (more than 2 minutes ahead) |
| `publish_article` | Publish an article to X immediately (irreversible; needs X Premium) |
| `generate_article_cover` | Generate an AI cover from the article's title, attached by default (60-100s, spends AI credits) |
| `get_audience_replies` | Replies the account has received from its audience across all its posts |
| `list_contact_lists` | The account's contact lists (system lists are read-only) |
| `get_contact_list_members` | Members of a list the user created |
| `add_contact_list_member` | Add a person to a contact list by handle or X user id |
| `remove_contact_list_member` | Remove a member from a contact list |
| `list_signal_agents` | The account's signal agents (automated lead finders) and what they watch |
| `get_signal_leads` | Leads the signal agents found, with match score, rationale, and provenance |
| `create_signal_agent` | Create a signal agent on your main account or a linked account; keywords and the destination list can be auto-generated |
| `set_signal_agent_status` | Pause or resume a signal agent |
| `delete_signal_agent` | Delete a signal agent (its saved leads and contact list stay untouched) |
| `upload_media_from_url` | Download an image from a public https URL and store it for attaching to posts (JPG, PNG, WEBP up to 5MB; GIF up to 15MB) |
| `list_plug_templates` | List an account's auto-plug reply templates (id, text, has\_media) for `autoPlug.templateId`; pass the same `account` you are scheduling on |
| `get_context` | The account's Context settings: profile description, interests, SuperX rules, reply settings, favorite creators, style guide (overrides + generated), products |
| `update_context` | Update any subset of the Context settings; only passed params change, `null` clears, arrays fully replace |
| `update_product` | Add or edit one product by id or url (creates by url when new, cap 5) |
| `delete_product` | Remove one product by id (reversible by re-adding the same url) |
| `get_queue_settings` | The account's posting schedule: predefined time slots (`{ time, days }`, 0 = Sunday) and the timezone they run in |
| `update_queue_settings` | Change the posting schedule; changing the slots also re-flows queued posts onto them |
| `draft_post` | Write post drafts in the user's voice from a brief, copying the shape of a proven post (`mirror`) or one picked for you; nothing is scheduled, and each draft spends AI credits |
| `get_me` | Who the key belongs to: owner, plan, the key's name and scopes, and the AI credit pool |
| `list_accounts` | The X accounts the key can act on (main, linked, and accounts shared with the owner) |
| `create_tag` | Create a tag (names are unique across the workspace) |
| `update_tag` | Rename and/or recolor a tag |
| `delete_tag` | Delete a tag (it is removed from every post that carries it) |
| `set_products` | Replace the WHOLE product list (max 5); products missing from the list are removed |
| `get_contact` | One person's profile, follower counts, verified status and the lists they are in (`refresh` costs one enrichment unit) |
| `list_contact_notes` | The private notes the account has written about one person |
| `add_contact_note` | Write a private note about one person (never posted anywhere) |
| `update_contact_note` | Rewrite one note (full body replacement) |
| `delete_contact_note` | Delete one note |
| `create_contact_list` | Create a contact list (names are not unique) |
| `rename_contact_list` | Rename a list the user created |
| `delete_contact_list` | Delete a list the user created and its membership (the people stay) |
| `add_contact_list_members` | Add up to 500 people at once by X user id; ids SuperX does not know come back in `not_found` |
| `remove_contact_list_members` | Remove up to 500 members at once by member id |
| `create_engage_feed` | Save a new Engage feed: keywords, a public X list, or one of the user's contact lists (does not switch the feed the app has open) |
| `update_engage_feed` | Rename an Engage feed or replace what it watches (one source at a time; the feed keeps its id) |
| `delete_engage_feed` | Delete an Engage feed; if it was the open one, the first remaining feed takes over |
| `update_signal_agent` | Edit a signal agent's name, ICP, precision mode, destination list, or status |
| `add_signal_agent_signal` | Add one thing for an agent to watch: a search, an account, its followers, or a public X list |
| `remove_signal_agent_signal` | Remove one signal from an agent (leads it already found stay) |
| `set_lead_feedback` | Record the user's verdict on one lead (`fit`, `not_fit`, or null to clear); it trains the scorer |
| `list_cover_styles` | The article cover styles saved in the app, with the ids `generate_article_cover` takes as `style_id` |
| `list_datasets` | The audience collections Ask SuperX built in the app, newest first (kept for 30 days) |
| `get_dataset` | One dataset's status, counts and coverage sentence; poll it while a collection runs |
| `get_dataset_rows` | A page of a ready dataset's rows, exactly as they were collected |
| `add_dataset_to_contact_list` | Copy the people in a ready dataset into a contact list the user created |
| `lookup_x_post` | Read one public X post live: text, author, counts, media, card, quoted post (`include_quotes` for a page of quotes) |
| `get_x_post_replies` | The top replies by likes to any public post, live (up to 3 relevance-ranked pages) |
| `lookup_x_user` | Read one public X profile live by @handle |
| `get_x_user_posts` | One live timeline page (about 20) of any public account's latest posts |
| `search_inspiration_media` | Search the cross-platform media index behind the app's Inspiration > Media tab (`source_url` only; no media file URLs) |
| `get_audience` | A cursor page of the account's followers, following, repliers or reposters from SuperX's synced snapshot |
| `get_mentions` | The posts @-mentioning the account right now, each with the post it replies to (costs 3 feed fetches) |
| `collect_audience` | Collect a post's repliers, quoters or reposters, an X list's members, or the account's own posts, into a dataset |
| `search_leads` | One live keyword search for people on X now, scored against an ideal-customer profile. Recent posts only. Saves nothing |
| `research_profiles` | Turn handles, a contact list, an agent's leads or a dataset into outreach briefs saved as a dataset |
| `draft_outreach_dms` | Write one personalized message per person onto a research dataset. Text only: nothing is sent |
| `refine_dataset` | Filter a dataset by what each person wrote, into a new dataset |
| `draft_reply` | Draft ONE reply to a post, in the user's voice. Text only: nothing is posted or sent |
| `remix_post` | Rewrite a post in the user's voice, near or far from the original (`author_handle` keeps the subject when it is this account's own post) |
| `inline_edit` | Edit one selected piece of a post, keeping the surrounding style |
| `rephrase_text` | Apply one preset rewrite to a post (improve, hook, concise, translate, and more) |
| `fact_check` | Check a statement against a web search: true, false or unknown, with the sources |
| `predict_viral_score` | Score ONE draft 0-100 against the account's own normal post, with what helped and what hurt |
| `triage_posts` | Search recent public posts on a topic and sort up to 40 into Read, Pass or Not sure, with the answers behind each call |
| `regenerate_style_guide` | Rebuild the account's generated style guide from its recent posts (free, once an hour) |
| `scrape_product` | Re-read a saved product's page and refresh its stored details (free) |
| `suggest_keywords` | Turn an audience description into 2 or 3 keyword-watch ideas. Creates nothing |
| `expand_icp` | Turn an audience description into the rubric signal agents score people against. Creates nothing |
| `expand_icp_from_url` | Read a website and infer its audience: description, rubric and keyword ideas (free) |
| `queue_dm_campaign` | Queue direct messages to up to 100 X users. Nothing is sent by it: the SuperX app sends |
| `get_dm_campaign` | One campaign's status counts and its individual messages |
| `cancel_dm_campaign` | Cancel a campaign's unsent messages |
| `list_dm_queue` | The account's queued and recently sent direct messages |
| `get_dm_limits` | The account's DM allowances and how much of each is used (free) |
| `list_workers` | The account's Workers (scheduled AI writers set up in the app) with their voice, topic source, shape, schedule and next run time |
| `list_worker_suggestions` | The posts the Workers wrote, newest first; `to_review` by default, the queue waiting on a person. `fallback: true` marks a suggestion from a niche-shaped Worker that found no usable popular post that run and wrote from a proven format |
| `draft_worker_suggestion` | Save one Worker suggestion as a draft post. Nothing is posted to X |
| `schedule_worker_suggestion` | Save one Worker suggestion as a scheduled post at a time you give |
| `dismiss_worker_suggestion` | Drop one Worker suggestion out of the To review queue. No post is created or removed |
## Scopes
The forty-three read tools work with any API key. The write tools (`schedule_post`, `publish_post`, `bulk_retime_scheduled_posts`, `bulk_enable_auto_retweet`, `bulk_delete_scheduled_posts`, `update_scheduled_post`, `delete_scheduled_post`, `create_article`, `update_article`, `schedule_article`, `publish_article`, `generate_article_cover`, `add_contact_list_member`, `remove_contact_list_member`, `create_signal_agent`, `set_signal_agent_status`, `delete_signal_agent`, `upload_media_from_url`, `update_context`, `update_product`, `delete_product`, `update_queue_settings`, `draft_post`, `create_tag`, `update_tag`, `delete_tag`, `set_products`, `add_contact_note`, `update_contact_note`, `delete_contact_note`, `create_contact_list`, `rename_contact_list`, `delete_contact_list`, `add_contact_list_members`, `remove_contact_list_members`, `create_engage_feed`, `update_engage_feed`, `delete_engage_feed`, `update_signal_agent`, `add_signal_agent_signal`, `remove_signal_agent_signal`, `set_lead_feedback`, `add_dataset_to_contact_list`, `collect_audience`, `search_leads`, `research_profiles`, `draft_outreach_dms`, `refine_dataset`, `draft_reply`, `remix_post`, `inline_edit`, `rephrase_text`, `fact_check`, `predict_viral_score`, `triage_posts`, `regenerate_style_guide`, `scrape_product`, `queue_dm_campaign`, `cancel_dm_campaign`, `draft_worker_suggestion`, `schedule_worker_suggestion`, and `dismiss_worker_suggestion`) need a key with the **write** scope; with a read-only key they return an insufficient-scope error the model can relay. The post, article, contact, contact-list, and signal-agent write tools take an optional `account` parameter (an account id or `@handle`) and work on your main account or any account you have linked to it; omit `account` and the tool writes to your main account. `list_accounts` returns the ids and handles that parameter accepts, and `get_me` reports whether the key has the write scope at all. Accounts other people share with you are read-only for those tools, with a set of exceptions: `search_leads`, `draft_reply`, `remix_post`, `inline_edit`, `rephrase_text`, `fact_check`, `predict_viral_score` and `triage_posts` spend credits without changing the account, so they work on a shared account too. `draft_post` is not among them: it prepares the account's own style guide when needed, so a shared account returns `writes_main_account_only`. `regenerate_style_guide` is not one of them: it rewrites the account's own style guide, so a shared account refuses it, and neither are `queue_dm_campaign` and `cancel_dm_campaign`: sending on someone else's behalf is not something a share grants. `upload_media_from_url` takes no `account`: uploads belong to you rather than to one X account, so an `object_key` can be attached to a post on any of your accounts. Tags are workspace-wide, one set covering all your linked accounts, so `create_tag`, `update_tag`, and `delete_tag` take no `account` and always write on the main account. The context and queue-settings tools accept an `account` parameter for any linked or shared account. On an account shared with `editor` permission, `update_context`, `update_product`, `delete_product`, `set_products`, and `scrape_product` return an `editor_restricted` error while `update_queue_settings` works.
To attach images to a post, call `upload_media_from_url` first, then pass the returned `object_key` in the per-part `media` field of `schedule_post` or `update_scheduled_post` (up to 4 images or exactly 1 GIF per part, optional `alt_text`). `upload_media_from_url` counts against a daily quota of 100 uploads per key. On `update_scheduled_post`, replacement posts sent without `media` remove the media those parts carried; re-include the existing `object_key`s to keep them. Video is not supported yet.
Advanced settings on `schedule_post`: omit `autoRetweet`, `autoDelete`, `autoPlug`, or `superFollowersOnly` to inherit that setting's Default Post Settings value from the SuperX app; pass an object to override or `null` to turn a setting off for that post. Exactly five settings inherit this way (auto retweet, auto delete, auto plug, auto DM, Super Followers only); other composer defaults such as Bluesky cross-posting are never applied to API posts. `autoPlug.templateId` comes from `list_plug_templates` called with the same `account` you are posting on; unknown ids are rejected. On `update_scheduled_post` there is no inheritance: provided values override, omitted ones keep the post's current settings, `null` removes them. Auto DM always inherits the user's defaults and has no parameter; if a plan limit strips it, the `schedule_post` result carries `auto_dm_skipped: true`.
Creating a signal agent returns immediately, but the agent finds leads over the following minutes and days; there is no synchronous search. Check `get_signal_leads` later for what it found. `create_signal_agent` takes `keywords` (searches) and `signals` (all four watch types) and is a PARTIAL SUCCESS: entries it could not add come back in `warnings` with a `code`, and the agent is still created from the ones that landed, so read `warnings` before telling the user what the agent watches. `add_signal_agent_signal` adds one target per call, `remove_signal_agent_signal` removes one (removing the last one is allowed and leaves the agent finding nothing), and `update_signal_agent` changes the agent's own fields, where a new ICP re-scores only future leads. `set_lead_feedback` teaches the scorer, so ask the user for the verdict rather than deciding for them; its `lead_id` is the numeric id from `get_signal_leads`, not an X user id.
Engage feeds are writable: `create_engage_feed` saves a feed but deliberately does NOT switch the feed the person has open in the app, so say where to find it rather than assuming they will see it. Up to 8 feeds per account, `update_engage_feed` changes one source family at a time, and deleting the feed the app has open hands the slot to the first remaining feed. An X list source (`x_list_id` / `x_list_url`) and the `profile_watch`, `follower_watch` and `list_watch` signal types are resolved live, so they also spend one unit of the tighter enrichment allowance and only PUBLIC X lists work.
Context settings (`get_context` / `update_context`) are the background SuperX's AI uses on every writing surface: the profile description grounds the voice, interests drive content suggestions and personalized search, SuperX rules are mandatory instructions, reply settings steer generated replies, favorite creators (max 3 X usernames) inspire the style, and the style-guide overrides outrank the app's generated guide until cleared with `null`. On `update_context` only the params you pass change; `interests` and `favoriteCreators` fully replace the stored lists. Because these settings shape all future AI output for the account, confirm with the user before changing them. Products (max 5, managed with `update_product` / `delete_product`) are mentioned naturally in generated content; deleting one is reversible by re-adding the same url. `set_products` replaces the whole list at once: any product whose url is missing from the call is removed, so read `get_context` first and send every product the account should keep, or use `update_product` to change one in place.
Queue settings (`get_queue_settings` / `update_queue_settings`) are the account's posting schedule: the predefined time slots the queue fills and the timezone they run in. Slots are `{ time: "09:00", days: [1, 3, 5] }` with 0 = Sunday, at most 50 entries, one per unique time. `slots` is a full replace, so send the complete set the user should end up with; `[]` clears every slot and leaves the queue all-custom. Changing the slots also re-flows the queue the way the app does: a queued post sitting exactly on an old slot moves to the matching new slot, so gaps are preserved and hand-picked custom times stay put. The result carries `reflow: { moved, skipped, bailed }`; `bailed: true` means the settings were saved but the queue was deliberately left alone, and retrying is safe. Changing only `timezone` never moves posts. Changing the timezone and the slots in one call usually moves nothing, because the existing posts were placed under the old timezone; to re-flow them, change the timezone first, then send the slots in a second call.
The contacts tools work on people the account already knows (the note list, update and delete tools also work on any id with an existing note). `get_contact` takes a numeric X user id (from `get_top_contacts`, `get_contact_list_members`, or `get_signal_leads`) and returns the stored profile plus the lists that person is in; `refresh: true` refreshes a stale profile from X and counts against the tighter live-contact-enrichment allowance, so leave it off unless the follower counts have to be current. Notes are private to SuperX and never posted: a note written through a tool is attributed to the account it was written as. `add_contact_list_members` adds up to 500 people in one call by X user id and does no live lookup, which is why it costs one write and no enrichment; ids SuperX has never seen come back in `not_found` and are not added, so add those one at a time with `add_contact_list_member` and a handle. Deleting a contact list also stops any signal agent depositing into it until the agent is repointed in the SuperX app, so confirm before calling `delete_contact_list`.
The live X lookups (`lookup_x_post`, `get_x_post_replies`, `lookup_x_user`, `get_x_user_posts`) read X right now rather than SuperX's stored data, take no `account` parameter, and spend the tighter enrichment allowance: 1 unit each, 3 for replies, and 2 for a post with `include_quotes` or a handle SuperX has never seen. On top of that they share an allowance of 300 live lookups per day with Ask SuperX in the app, so look up what the user actually asked about rather than sweeping an account's network; over the allowance is a `lookup_quota_exceeded` error that resets at midnight UTC. Repeats within 15 minutes may come from a server-side cache. `get_x_post_replies` samples the best-liked replies from up to 3 pages, so it is never the full set (the audience collections in `list_datasets` are), and unlike the app it does not hide the account owner's own replies. `search_inspiration_media` is the app's Inspiration > Media tab, costs no enrichment, and is not personalised here: omit `q` to browse the newest media instead of searching. It returns no media file URLs, so point the user at `source_url` (the original post) rather than trying to show them the video or thumbnail.
The four system people-lists (Followers, Following, Repliers, Reposters) are read with `get_audience`, not `get_contact_list_members`, which only serves lists the user created. `get_audience` pages by cursor: pass the `next_cursor` it returns back as `cursor`, and read `synced_count` for the size of the whole list rather than counting rows (it may exceed a full walk, because edges that were later removed are still counted). Repliers and reposters are a rolling 90-day window, so someone drops out when their last reply ages past it. `get_mentions` reads the posts @-mentioning the account live, newest first, each with the post it replies to; one call costs 3 of the plan's daily feed fetches, so read a page and work from it rather than polling. Unlike the app's Mentions tab it does not hide posts the user skipped or blocked there, and by default it leaves out mentions they already replied to on X (`include_replied` keeps them, flagged `replied`).
Datasets are the audience collections Ask SuperX builds in the app: the repliers, quoters or reposters of a post, the members of an X list, the user's own posts or replies, or a research brief. `list_datasets`, `get_dataset` and `get_dataset_rows` read them and take no `account` parameter, because a dataset belongs to the key owner rather than to one X account (the account a collection ran as comes back as `x_account_id`). Datasets are kept for 30 days, and `collect_audience` builds new ones here as well as in the app. A collection big enough to run in the background, or one whose size cannot be established up front, comes back with `status: "collecting"` and no rows: poll `get_dataset` until it says `ready` before describing what is in it, and never state a row count from the create result. Only one background collection runs per account at a time, and every collection counts against 10 per day shared with Ask SuperX in the app. `get_dataset_rows` and `add_dataset_to_contact_list` need `status: "ready"`; a dataset that is still collecting returns `dataset_not_ready`, so call `get_dataset` and wait rather than retrying in a loop, and a failed one has to be rebuilt in the app. `add_dataset_to_contact_list` costs one write and no enrichment because the profiles come from the dataset itself: people are deduped by X account id, rows without one come back in `skipped_without_id`, and re-running is safe (people already in the list are counted in `duplicates`). Own-content datasets carry `has_people: false` and cannot be added to a list. The CSV export is available on the REST API, not here.
The outreach tools run in a chain: `search_leads` finds people on X right now and saves nothing (it creates no signal agent and no stored leads, so use `create_signal_agent` when the user wants an audience that keeps filling up); `research_profiles` turns handles, a contact list, an agent's leads or an existing dataset into briefs saved as a dataset; `refine_dataset` filters a dataset by what each person wrote into a NEW dataset, leaving the source untouched; and `draft_outreach_dms` writes one message per person onto a research dataset. **The drafts are text and nothing is sent**: no tool here sends a DM, and a person sends them from the SuperX app after reviewing each one, so never tell the user their messages have gone out. Ask the user for their format or an example message before calling `draft_outreach_dms`; never invent one.
`research_profiles` costs 1 credit per profile actually researched (unresearched ones are returned) and reads X live, so more than 5 profiles run in the background: the result then carries `status: "collecting"` and you must poll `get_dataset` until it says `ready` before stating any brief count. A big refinement does the same. `search_leads` is a write tool for the same reason `draft_post` is: it spends AI credits and live requests, not because it saves anything, so a read-only key gets an insufficient-scope error; an account shared with you still works, because nothing is written to it. It counts only posts written inside `max_post_age_days` (1-90, 30 by default; use 7 for a pain point worth catching while it is fresh), returns each lead's `posted_at` and `post_age_days` freshest first within each score, and counts the older matches it skipped in `freshness.stale_skipped`, so an empty result with a count there means people do post about this, just not lately: broaden the keywords rather than widening the window on your own. The REST endpoint `POST /v1/signals/leads/search` behaves identically. `search_leads` and `research_profiles` also draw on a platform-wide fair-use ceiling for live-data actions on top of the plan's own daily caps; a 429 whose `scope` is `"platform"` is not about this account's quota, so wait and retry rather than telling the user they are out. `refine_dataset` counts against the same 10 dataset collections a day `collect_audience` does, keeps rows it cannot judge (counted as `unclear`), and only works on datasets whose rows carry text.
The writing helpers all return TEXT and write nothing: `draft_reply` drafts one reply to a post, `remix_post` rewrites a post as close to or as far from the original as asked (`closeness` 0 to 100), `inline_edit` changes one selected piece while keeping the surrounding style, `rephrase_text` applies one preset rewrite, `fact_check` checks a claim, and `predict_viral_score` scores one draft against the account's own normal post. **Nothing here is posted, scheduled or sent**, so never say a reply went out: show the draft, let the person edit it, and call `draft_post`, `schedule_post` or `publish_post` when they say so. There is still no reply-sending tool anywhere in this server. They are write tools for the same reason `draft_post` is: they spend AI credits. Unlike `draft_post`, a shared account works for these. `draft_reply` with a `post_id` reads the post live and spends one lookup from the same 300-a-day allowance the live X lookups use; pass the wording in `post` instead and it spends none. Ask the user what they want a reply to convey (`thoughts`) rather than inventing an opinion for them. A `fact_check` verdict is a model's reading of a couple of search results: report it with its `sources` and never as settled fact, and a `predict_viral_score` result compares a draft with the account's OWN recent posts: it is not a prediction of reach and it knows nothing about follower count. Iterate a draft with it until the score stops rising, show `helped` and `hurt` as they come back, and treat anything in `warnings` as a stop sign rather than something to work around: asking for replies, inviting people to connect, borrowing a template or sending readers off the platform can only push the score down.
Five helpers cost no AI credits at all. `regenerate_style_guide` rewrites the account's generated style guide from its recent posts, which is what every writing tool above reads: it is limited to once an hour per account, and any style-guide overrides the user set in `update_context` still outrank it, so say that rather than promising a change of voice. `scrape_product` refreshes one saved product from its own page (the url comes from the saved product, so fix a moved url with `update_product` first), and `expand_icp_from_url` reads a website and infers who it sells to. Those two read a page, and each account can read 20 pages a day, shared with the SuperX app. `suggest_keywords` and `expand_icp` create nothing and read nothing live: a suggestion becomes real only when it is passed to `create_signal_agent` or `add_signal_agent_signal`, and a rubric has nowhere to be saved (agents are created with `icp_description`), so use it to sharpen that description or to score people in the conversation.
`draft_post` writes post text in the user's voice and saves nothing apart from the account's style guide, which it may prepare on first use. It is a write tool because it spends AI credits, not because it changes anything: show the drafts, let the user pick and edit one, then call `schedule_post` with the final text. Each draft copies the shape of a proven post, never its content: pass one in `mirror` (50 to 1500 characters, the text of a post from `find_inspiration` works well) or leave `mirror` out and a shape is picked, optionally biased with `collection`. Pick a mirror with room for the user's data: a two-line aphorism squeezes the facts out. A draft's `mirrored` is `null` when it ended up copying no shape. `voice` is `mine` (default), `creator`, or `hybrid`; the last two need a `creator` handle, and the first call naming a new creator returns `creator_style_pending` while their style guide is prepared, so retry a minute later. `mine` is the voice of the account in `account`: its own posts, style guide and rules, so pass a linked account's id or `@handle` to draft as that account. Accounts shared with you are refused. Ask for the `count` the user actually wants, since every draft costs credits, and expect the call to take 20 to 40 seconds.
Workers are the scheduled AI writers the user sets up in the SuperX app: each run writes a batch of posts into the app's "To review" queue. `list_workers` shows the Workers themselves and `list_worker_suggestions` shows what they wrote, newest first, with `to_review` as the default status and `drafted`, `scheduled`, `dismissed` and `all` for the rest. Each Worker answers two separate questions: `topic_source` is what its posts are about (`for_you` = the user's profile, `product` = a saved product, `custom` = a topic the user wrote, `niche_trending` = the Worker's niche keywords) and `shape` is how each post is built (`formats` = modeled on a proven post format, `niche` = modeled on a popular post found by the Worker's keywords, `fresh` = written freely with only a loose format hint, and no post is closely modeled). `style_mode` stays for older clients: a product or custom Worker shaped on a niche reports `reference_remix` there, so read `shape` to tell them apart. `fallback: true` appears on a suggestion from a niche-shaped Worker that found no usable popular post that run and wrote from a proven format. Creating, editing and RUNNING a Worker stays in the app, so there is no tool for any of those; say so rather than offering to run one. The three write tools act on one suggestion: `draft_worker_suggestion` saves it as a draft, `schedule_worker_suggestion` queues it for a time you pass, and `dismiss_worker_suggestion` drops it out of the queue without touching any post. Nothing here posts to X, but a scheduled suggestion does go out later, so show the user the text and confirm the time first, and offer to rewrite it with `remix_post` or `rephrase_text` and save your version with `schedule_post` instead. A suggestion can only be saved once: a second draft or schedule call on the same id comes back `already_saved`, a dismissed one `already_dismissed`, and an id belonging to another account's Worker `suggestion_not_found`. Once saved, the response carries the new `post_id`, which is an ordinary post: read it with `get_scheduled_posts`, edit it with `update_scheduled_post`, cancel it with `delete_scheduled_post`.
`get_scheduled_posts` returns posts most recently updated first, so page 1 is the newest work, and it takes a `page` parameter (1-based) for walking back through older ones rather than raising `limit`. That ordering is the same for every `status` it takes, not just drafts: `scheduled` and `all` come back most recently updated first too. The REST endpoint orders `sent` and `error` the same way, and its `from`/`to` request is the calendar query instead, in post-time order, oldest first. Timestamps passed to the scheduling tools must be ISO-8601 with an explicit `Z` or numeric offset. Naive local times are rejected. A new time alone never schedules a draft post; `update_scheduled_post` promotes only when `status` is set to `scheduled`. `publish_post` goes out to X the moment it returns and cannot be undone, so confirm the exact text with the person first and use `schedule_post` for anything that can wait; its `idempotency_key` is required and is yours to pick, reused verbatim on any retry (a retry never posts twice) and changed only for genuinely new content. The three bulk tools only touch posts in the queue, answer with counts rather than per-post results, and need no idempotency key because re-running them converges. Article bodies are markdown in both directions; `publish_article` is live and irreversible, and `generate_article_cover` costs a flat 25 AI credits per generation and counts against the account's daily and monthly cover caps. Steer a cover with `style_id` (a saved style from `list_cover_styles`) or `style_text` (a one-off description), never both: passing both is a tool error, so the call always says exactly which look was rendered.
The DM tools QUEUE, they do not send. `queue_dm_campaign` puts messages into the account's own DM queue, the same one the SuperX app fills, and the app's scheduler sends them within the account's daily and monthly DM limits: the reply is counts, not deliveries, so never tell the user their messages have gone out. When every recipient is skipped nothing is queued and the `id` comes back null, so say that rather than inventing a campaign. `get_dm_campaign` and `list_dm_queue` show what actually went out, `cancel_dm_campaign` removes the unsent ones (anything already sent cannot be recalled, and a campaign with nothing left answers 0), and `get_dm_limits` shows the allowances, which are plan limits rather than AI credits. Confirm the recipient list and the exact wording with the user before queueing anything: they are responsible for these messages under X's rules on automation and unsolicited contact, and unsolicited bulk DMs can get an X account suspended. Auto DM on a scheduled post is a separate thing: pass `autoDM` to `schedule_post` to message the people who reply to or repost that post.
## Security
The keyed URL **is** your API key. Treat it like a password: share it only with the connector, keep it out of chat transcripts and screenshots, and rotate the key from the API / MCP / CLI tab if it ever leaks. Prefer header auth wherever the client supports it. SuperX redacts the key from its own request logs.
## Troubleshooting
| Symptom | Cause |
| - | - |
| `401 invalid_api_key` | Wrong, mistyped, or revoked key. Create or rotate a key in the API / MCP / CLI tab. |
| `403 subscription_required` | The key owner's SuperX subscription is not active. |
| `405 Method not allowed` | The endpoint is POST-only. Some clients probe with GET first; that is harmless. |
| Duplicate scheduled posts | `schedule_post` has no idempotency. If a call timed out or was retried, check `get_scheduled_posts` before calling it again. `publish_post` is different: its `idempotency_key` makes a retry safe, so reuse the same key rather than checking first. |
| `idempotency_in_flight` on `publish_post` | An earlier call with that key is still publishing. Wait the number of seconds in the message, then retry the SAME key; it will never publish twice. |
| A bulk tool reports fewer changes than ids sent | The bulk tools only touch posts in the queue. Drafts, sent posts and error rows are counted as skipped, and `bulk_enable_auto_retweet` also skips posts that already have an auto retweet. |
# Rate limits
Source: https://docs.superx.so/rate-limits
Per-plan request limits, response headers and how to back off.
Limits depend on your SuperX plan, with separate buckets for reads (`GET`), writes (`POST`, `PATCH`, `DELETE`), live contact enrichment (adding contact-list members) and Engage feed fetches:
| Plan | Reads/min | Reads/day | Writes/min | Writes/day | Enrichment/min | Enrichment/day | Feed fetches/min | Feed fetches/day |
| - | - | - | - | - | - | - | - | - |
| Trial | 15 | 2,000 | 5 | 50 | 2 | 20 | 2 | 20 |
| Pro | 30 | 5,000 | 10 | 300 | 5 | 100 | 5 | 60 |
| Advanced | 120 | 20,000 | 30 | 1,000 | 10 | 250 | 10 | 120 |
| Ultra | 400 | 60,000 | 60 | 2,000 | 15 | 500 | 15 | 300 |
Limits aggregate per account: all your API keys, the CLI and MCP draw from the same budget. MCP tool calls are read-classed; MCP write tools (scheduling, articles, signal agents, media) also count against the write limit. Adding a contact-list member counts against both the write limit and the tighter enrichment limit, and so does `GET /v1/contacts/{id}?refresh=true`. Anything that resolves an X handle or list live costs one enrichment unit too: creating or updating an Engage feed with `x_list_id` / `x_list_url`, adding a `profile_watch`, `follower_watch` or `list_watch` signal, and creating a signal agent whose `signals` include any of those three (one unit for the whole create, however many such entries it carries). Keyword feeds, contact-list feeds and `keyword_watch` signals cost no enrichment. The enrichment unit pays for the lookup itself, so it is spent even when the request is then rejected: an X-list feed create that fails on the 8-feed cap (409 `feed_limit_reached`) has already resolved the list and does not get the unit back. The live X lookups spend enrichment too, and more than one unit each where they make more than one upstream call: `GET /v1/x/posts/{id}` costs 1 (2 with `include_quotes`), `GET /v1/x/posts/{id}/replies` costs a flat 3 (it walks up to 3 pages), `GET /v1/x/users/{handle}` costs 1, and `GET /v1/x/users/{handle}/posts` costs 1 for a handle SuperX already knows and 2 for one it does not. A multi-unit call is all-or-nothing: it is rejected without charging anything rather than half-charged. Bulk adding members (`POST /v1/contact-lists/{id}/members/bulk`) costs one write and no enrichment: it resolves ids SuperX already knows and never calls out to X. The bulk queue endpoints (`POST /v1/scheduled-posts/bulk/retime`, `/bulk/auto-retweet`, `/bulk/delete`) cost one write each no matter how many posts they touch, so changing 100 posts at once is one unit rather than 100. A feed fetch (`GET /v1/engage/feeds/{id}/posts`) counts against the feed bucket, and a list feed that rotates its members counts as 3 fetches. `GET /v1/engage/mentions` counts as a flat 3 fetches too: one call reads several pages of X plus the posts each mention replies to.
Collecting a dataset (`POST /v1/datasets`) has a cap of its own: 10 collections per account per day, shared with the collections Ask SuperX runs in the app, resetting at midnight UTC (`429 collection_quota_exceeded`). Refining one (`POST /v1/datasets/{id}/refine`) creates a dataset too, so it counts against the same 10; research (`POST /v1/datasets` with `source: "research"`) does not, and is bounded by the `research_profiles` day cap below instead. A collection that reads X also spends enrichment: 1 unit for the size estimate, plus the pages the walk is expected to need, all charged before the walk starts, so `X-RateLimit-Remaining` already reflects work that finishes after a `202`. `my_posts` and `my_replies` read your own synced posts and spend no enrichment at all, and a collection that matches nobody gives its daily slot back.
The dataset reads (`GET /v1/datasets/{id}/rows` and `GET /v1/datasets/{id}/export`) each parse one whole dataset, up to about 5MB, per call, so page at `limit=100` rather than looping at a small limit: ten calls at 100 rows are far cheaper on both sides than a hundred calls at 10. `POST /v1/datasets/{id}/contacts` costs one write and no enrichment however many people it copies, because the profiles come from the dataset itself. `POST /v1/datasets/{id}/outreach-drafts` and `POST /v1/datasets/{id}/refine` cost no enrichment either: both work on rows that are already stored.
Media uploads have one more cap of their own: 100 per API key per day, counted per key rather than per account.
Windows are fixed (aligned to the clock minute and UTC day), not sliding.
## Response headers
Every authenticated `/v1` response, not just rate-limited ones, includes:
| Header | Meaning |
| - | - |
| `X-RateLimit-Limit` | The limit of the window closest to exhaustion |
| `X-RateLimit-Remaining` | Requests left in that window |
| `X-RateLimit-Reset` | Unix timestamp (seconds) when that window resets |
## When you hit a limit
Over-limit requests return `429` with a `Retry-After` header (seconds) and this body:
```json theme={null}
{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded for the Pro plan (30 requests/min). Upgrade for higher limits.",
"retry_after": 42
}
}
```
Honor `Retry-After` before retrying. For sustained workloads, spread requests out rather than bursting at the top of each minute, and page with `limit=100` to reduce request counts.
## Credits
Endpoints that run an AI model spend **AI credits** on top of the request limits above. One credit is one cent of model spend. Some calls have a flat per-unit price (post drafting), and others charge what the work actually cost when it finishes (cover generation), so read the price per call below rather than assuming one rule. Your plan includes a pool: paid plans get a monthly pool that resets on your billing date, trials get a daily one. `GET /v1/me` returns the current pool:
```json theme={null}
{
"credits": {
"remaining": 712,
"pool": 750,
"period": "month",
"period_end": "2026-10-01T00:00:00.000Z",
"bonus": 0
}
}
```
Typical costs today:
| Call | Credits |
| - | - |
| `POST /v1/posts/draft` | Flat 3 per draft (a 3-draft call charges 9) |
| `POST /v1/articles/{id}/cover` | Flat 25 per generation, whatever the render actually cost |
| `POST /v1/signals/leads/search` | Measured, at least 1 for any search that reaches X. Usually 1-2 |
| `POST /v1/datasets` with `source: "research"` | Flat 1 per profile actually researched. Profiles that could not be researched are returned |
| `POST /v1/datasets/{id}/outreach-drafts` | Measured, usually 1-3 for a 25-row dataset |
| `POST /v1/datasets/{id}/refine` | Measured, roughly 1 per 40 rows with text |
| `POST /v1/engage/reply-draft` | Measured, typically 2 (the reply write plus the shared post-editor pass). With a `post_id` it also spends one live X lookup |
| `POST /v1/posts/remix` | Measured, typically 2 |
| `POST /v1/tools/inline-edit`, `/rephrase`, `/factcheck` | Measured, typically 1 each |
| `POST /v1/posts/viral-score` | Flat and cheap: 1 credit per 10 scores, plus 1 the first time an account's baseline is built |
| `POST /v1/posts/triage` | Flat 2 per run, whatever the run finds. A run with nothing to judge charges 0 and still counts against the daily cap. Also spends the live searches it runs |
| `POST /v1/context/style-guide/regenerate` | Free |
| `POST /v1/context/products/{id}/scrape` | Free |
| `POST /v1/signals/keywords/suggest`, `/v1/signals/icp/expand`, `/v1/signals/icp/expand-from-url` | Free |
Drafts that fail to generate are refunded, and a call where every draft failed returns `502 generation_failed` with nothing charged. A lead search that never reaches X is not charged either.
A cover generation that fails outright is refunded in full. A cover that TIMES OUT (`504`) keeps its 25 credits: the render may well have completed and landed in the article's cover history, so read the article before retrying. The reply draft and the four composer tools refund in full when the model call fails before it produces anything.
The free calls above charge nothing at all, so they send no `X-Credits-Charged` header. They still send `X-Credits-Remaining` and `X-Credits-Reset`, and they still have ceilings of their own: see the two sections below.
Research is settled when the run finishes, which for a background run (more than 5 profiles) is after the `202`: the response body cannot report a final figure, so read the pool with `GET /v1/me` afterwards. The same is true of a background refinement.
### Credit headers
Responses from a credit-charging endpoint carry:
| Header | Meaning |
| - | - |
| `X-Credits-Charged` | Credits kept for this call. Present on every endpoint that settles before answering, which is all of them except the ones that answer `202` and finish in the background |
| `X-Credits-Remaining` | Credits left in the pool, bonus credits included |
| `X-Credits-Reset` | Unix timestamp (seconds) when the pool refills |
### When the pool is empty
An exhausted pool returns `429 ai_credits_exhausted` with three fields in the envelope, plus a `Retry-After` header when the reset time is known:
```json theme={null}
{
"error": {
"code": "ai_credits_exhausted",
"message": "Not enough AI credits to draft these posts.",
"credits_required": 9,
"credits_remaining": 2,
"reset_at": 1790812800
}
}
```
`reset_at` is a unix timestamp in seconds. Buy a top-up or wait for the pool to refill; retrying sooner returns the same error.
### Per-day action limits
Some AI actions also carry a per-day count cap per plan, so an unusually cheap run cannot be repeated all day. Over the cap returns `429 ai_action_limited` with `scope: "account"`, `retry_after`, `reset_at` and a `Retry-After` header; the counter resets at midnight UTC.
| Action | Endpoint | Trial | Pro | Advanced | Ultra |
| - | - | - | - | - | - |
| `lead_search` | `POST /v1/signals/leads/search` | 2 | 10 | 25 | 50 |
| `research_profiles` | `POST /v1/datasets` with `source: "research"` | 10 | 50 | 100 | 250 |
| `viral_score` | `POST /v1/posts/viral-score` | 50 | 300 | 1,000 | 2,000 |
| `posts_triage` | `POST /v1/posts/triage` | 20 | 60 | 150 | 300 (the 300-a-day lookup allowance binds first at higher tiers) |
| `draft_outreach_dms` | `POST /v1/datasets/{id}/outreach-drafts` | no cap | no cap | no cap | no cap |
| `refine_dataset` | `POST /v1/datasets/{id}/refine` | no cap | no cap | no cap | no cap |
| `article_cover` | `POST /v1/articles/{id}/cover` | no cap | no cap | no cap | no cap |
| `reply_draft` | `POST /v1/engage/reply-draft` | no cap | no cap | no cap | no cap |
| `remix` | `POST /v1/posts/remix` | no cap | no cap | no cap | no cap |
| `inline_edit`, `rephrase`, `factcheck` | `POST /v1/tools/*` | no cap | no cap | no cap | no cap |
The uncapped actions read no live data, so credits are what bound them (plus, for refine, the 10-collections-a-day allowance, and for cover generation, the account's own daily and monthly cover caps).
The free actions are not in that table because they cost no credits, but each has its own `ai_action_limited` ceiling with `scope: "account"`:
| Action | Endpoint | Limit |
| - | - | - |
| Style guide regeneration | `POST /v1/context/style-guide/regenerate` | Once an hour per account. `reset_at` is an hour after the last SUCCESSFUL run, not midnight |
| Style guide read live | `POST /v1/context/style-guide/regenerate` on an account with fewer than 5 stored posts | 3 attempts a day per account, resetting at midnight UTC, on top of the platform fair-use ceiling below |
| Page reads | `POST /v1/context/products/{id}/scrape`, `POST /v1/signals/icp/expand-from-url` | 20 a day per account, shared with the same feature in the SuperX app |
`POST /v1/signals/keywords/suggest` and `POST /v1/signals/icp/expand` have no ceiling of their own: they run inside SuperX's own process, so the short-term limiter the SuperX app applies to them does not reach the API and your plan's request rate limit is their only bound. Each is still a model call, so keep them occasional rather than looping. `POST /v1/signals/icp/expand-from-url` is the exception: it goes through the app, so the app's limiter binds it too, and more than 10 calls in 10 minutes returns `429 rate_limited` (honour `Retry-After`; it clears in about a minute) rather than `ai_action_limited`.
All five free endpoints are POSTs, so all five need a key with the `write` scope, as every non-GET route on this API does, whether or not they create anything.
Credit and action limits fail closed: when SuperX cannot verify your balance or your day count, the call is refused rather than run for free.
### Fair-use ceiling on live-data actions
The actions that read X live for you (a lead search, a research run, a triage run, and the style-guide fallback below) also draw on a platform-wide daily ceiling shared by every SuperX account. It exists so that no single integration can exhaust what everyone else relies on; it is generous enough that normal use never meets it, and it is not a per-account quota you can raise by upgrading.
Reaching it returns the same `429 ai_action_limited`, with `scope: "platform"` instead of `"account"`:
```json theme={null}
{
"error": {
"code": "ai_action_limited",
"message": "The platform-wide fair-use ceiling for live-data actions has been reached for today. It resets at midnight UTC.",
"scope": "platform",
"retry_after": 20400,
"reset_at": 1789430400
}
}
```
Always read `scope` before telling a user anything: on `platform` their own allowance is untouched, so wait for `reset_at` and retry rather than reporting them as out of quota. Like the other ceilings, it fails closed.
One free endpoint reaches this ceiling too. `POST /v1/context/style-guide/regenerate` normally reads the account's posts out of SuperX and touches nothing live, but an account with fewer than 5 recent posts stored has them read live instead, and that read is counted here (up to 4 requests). So a `scope: "platform"` refusal on the style guide means "a brand new account could not be read right now", never "you are out of credits". That live read is also limited to 3 attempts per account per day, because the hourly cooldown only starts after a run that SUCCEEDS: an account whose live read keeps coming back too thin would otherwise be free to retry all day against a ceiling everyone shares. Over the 3, the same 429 comes back with `scope: "account"` and a midnight `reset_at`.
## Live X lookups
The `/v1/x/*` endpoints read X live rather than SuperX's stored data, so they carry a second limit on top of the enrichment bucket above: an allowance of **300 live lookups per account per UTC day**, SHARED with Ask SuperX inside the SuperX app. Heavy API use eats into what Ask can look up that day, and the other way around. Over the allowance returns `429 lookup_quota_exceeded`:
`POST /v1/engage/reply-draft` with a `post_id` reads the post live, so it spends one lookup from the same 300 a day. Pass `post` with the wording instead and it spends none.
`POST /v1/posts/triage` searches X live, so it draws on the SAME 300 a day: one lookup for a single-word `query`, and two for a multi-word one (it also runs the query as an exact phrase). Over the allowance it answers `429 lookup_quota_exceeded` like the `/v1/x/*` endpoints, though on that endpoint the body carries a `code` and a `message` only, with no `retry_after` field and no `Retry-After` header.
Profile research (`POST /v1/datasets` with `source: "research"`) reads X live too, so it draws on the SAME 300 a day: one or two lookups per profile it researches. It does not answer `429` when the allowance runs out mid-run, though. The profiles it could not read come back in `meta.skipped` with a reason, only the profiles it did research are charged, and a run where nothing could be read answers `200` with `data: null` and every credit returned.
```json theme={null}
{
"error": {
"code": "lookup_quota_exceeded",
"message": "Today's live X lookup allowance (300 lookups) is used up. It is shared with Ask SuperX in the app and resets at midnight UTC.",
"retry_after": 20400,
"limit": 300,
"reset_at": 1789430400
}
}
```
`reset_at` is a unix timestamp in seconds at the next midnight UTC. Like the credit limits, this one fails closed: when SuperX cannot verify your day count, the lookup is refused rather than run unmetered, and it answers with the same code.
Results are cached server-side for about 15 minutes. A repeat lookup inside that window still costs its enrichment units (the enrichment bucket counts the call), but it does NOT touch the 300/day allowance, because nothing was fetched from X.
`GET /v1/inspiration/media` is not a live X read and costs no enrichment. It has its own two caps per account instead: a burst of 20 refilling one every 3 seconds, and 500 FRESH searches per UTC day. Repeats of a recent identical search come from a short cache and do not count against the daily 500. Both return `429 rate_limited` with `Retry-After`. There is no pagination on that endpoint: one query returns at most 120 items, so ask for `limit=120` and filter your side rather than calling it repeatedly.
`lookup_quota_exceeded` covers three cases and the body says which: your own allowance is used up (`limit` is present), the SuperX-wide allowance is used up (no `limit`, because it is not your account's budget), or the counter could not be verified and the call was refused rather than run unmetered (no `limit`, and a short `retry_after` rather than one pointing at midnight). Read `error.retry_after` rather than assuming midnight.
## DM limits
Direct messages are not AI credits and are not metered like them. Each plan carries its own DM allowances, and `GET /v1/dm/limits` returns all of them for an account:
* a **monthly** message allowance (`monthly.max`), with `monthly.committed` counting the messages already queued and not yet sent, which are held against the allowance until they go out or are cancelled,
* a **daily bulk** allowance (`daily_bulk.max`), how many may go out in a rolling 24 hours,
* **`per_post_max`**, how many people one post's `auto_dm` may message,
* **`posts_with_auto_dm`**, how many scheduled posts a month may carry an `auto_dm` at all.
`POST /v1/dm/campaigns` counts against the writes bucket like any other write, and costs no AI credits. When an allowance is used up it answers `429 dm_limit_reached` with a `Retry-After` header and a `scope`:
```json theme={null}
{
"error": {
"code": "dm_limit_reached",
"message": "This account's monthly DM allowance is used up.",
"scope": "month",
"retry_after": 86400,
"reset_at": "2026-10-01T00:00:00.000Z"
}
}
```
On `scope: "day"` the campaign does not have to wait: send it again with `spread: true` and the messages today's allowance cannot hold are placed over the coming days instead of being skipped. One caveat: when `GET /v1/dm/limits` reports `scheduling_enabled: false`, placing messages on later days is switched off account-wide, so `spread: true` is ignored and the overflow is counted in `skipped` instead.
Neither the campaign endpoint nor `auto_dm` sends anything at the time you call it. Both ENQUEUE, and the SuperX app's scheduler sends within these limits, which is why a campaign answers with counts rather than deliveries. Unsent messages can be cancelled with `DELETE /v1/dm/campaigns/{id}`, and cancelling gives the monthly allowance back.
## Failed authentication attempts
Requests with unknown or revoked keys are limited separately, per IP address, at 20 per minute. This limiter never affects correctly authenticated traffic.
# Agent skills
Source: https://docs.superx.so/skills
32 goal-shaped recipes, one per SuperX skill, each with its CLI chain, its MCP tool chain, and the point where it hands back to a person.
This page is generated from the skill folders in the [superx-agent](https://github.com/superx-so/superx-agent) repo, the same files the installed skill reads. Run a chain with the [CLI](/cli) or the [MCP server](/mcp-server).
A goal-shaped recipe for every SuperX skill. Each is the same job the
in-app skill of that name does, run from the CLI or from the hosted MCP server.
Pick by goal, run the chain in order, hand the result to the person.
Three rules hold in every skill, no exceptions:
1. **Drafts unless the person says otherwise.** `scheduled:create` without `--at` is a draft and nothing publishes.
2. **Nothing here sends a reply or a DM.** Reply drafts are text a person posts. `dm:campaign` enqueues; the SuperX app sends.
3. **`posts:publish` and `articles:publish` are immediate and irreversible.** Confirm the exact text with the person first, and note that `posts:publish` REQUIRES `--idempotency-key` so a retry cannot post twice.
`--account ` acts on a linked account (`superx accounts` lists the
ids). It is shown once, in Weekly Growth Recap, and applies the same way to the
**account-scoped** commands: the posts, scheduled, replies, contacts, lists,
engage, signals, dm, context, queue and articles families, plus the dataset
commands that WRITE for an account (`datasets:collect`, `datasets:refine`,
`datasets:research`, `datasets:outreach-drafts`, `datasets:add-to-list`).
Some commands are **owner-scoped** and the CLI is strict, so passing `--account`
to one is an error, not a no-op. Nothing about them is per-X-account: the live
lookups `x:post`, `x:replies`, `x:user` and `x:user-posts`, the inspiration
searches `inspiration:search` and `inspiration:media`, and the dataset reads
`datasets:list`, `datasets:get`, `datasets:rows` and `datasets:export`. A few
id-addressed subcommands inside the account families are owner-scoped for the
same reason (the id already names the account), among them `articles:publish`,
`scheduled:delete` and `lists:remove-member`. When a chain here does not show
`--account`, that is deliberate; `superx --help` is the check.
Accounts other people shared with you are read-only. Ids in angle brackets are
placeholders you fill from the previous step's JSON.
## Grow & Plan
### Weekly Growth Recap
Your week in review: follower change, the posts that worked, new leads, one pattern to repeat and one focus for next week.
```bash theme={null}
SINCE=$(date -u -v-7d +"%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "7 days ago" +"%Y-%m-%dT00:00:00Z")
superx posts:analytics --since "$SINCE" --account
superx posts:list --sort likes --since "$SINCE" --limit 10
superx signals:leads --since "$SINCE" --limit 20
superx replies:received --sort recent --limit 20
```
There is no recap command: write the recap yourself from those four responses.
MCP: `get_account_overview` -> `get_post_analytics` -> `get_signal_leads` -> `get_audience_replies`
Stops at: the recap text in chat. Reads only, no AI credits.
### Growth Plan Builder
A multi-week plan tied to the account's real numbers: cadence, a reply target, and the format to repeat.
```bash theme={null}
SINCE=$(date -u -v-90d +"%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "90 days ago" +"%Y-%m-%dT00:00:00Z")
superx posts:analytics --since "$SINCE"
superx posts:list --type posts --sort likes --since "$SINCE" --limit 25
superx replies:list --limit 25
superx queue:get
```
Read the growth strategy guide (`references/growth-strategy.md`) before writing the plan: the numbers say what happened, the strategy guide says what to do about it.
MCP: `get_account_overview` -> `get_post_analytics` -> `get_my_replies` -> `get_queue_settings`
Stops at: the written plan. Reads only, no AI credits. Nothing is scheduled by this skill.
### Cadence & Queue Audit
Gaps and pile-ups in the queue, a cadence verdict, and the reschedules to make.
```bash theme={null}
superx queue:get
superx scheduled:list --status scheduled --limit 100
SINCE=$(date -u -v-30d +"%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "30 days ago" +"%Y-%m-%dT00:00:00Z")
superx posts:list --type posts --sort likes --since "$SINCE" --limit 25
superx scheduled:update --at ""
```
`--at` on its own never promotes a draft: add `--status scheduled` for that. The audit never deletes posts.
MCP: `get_queue_settings` -> `get_scheduled_posts` -> `get_post_analytics` -> `update_scheduled_post`
Stops at: the proposed moves, applied one at a time after the person agrees. Reads and one write, no AI credits.
### Find Your Story
The story people follow this account for, laid out as an arc, plus a pinned-post draft and two posts that continue it.
```bash theme={null}
SINCE=$(date -u -v-90d +"%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "90 days ago" +"%Y-%m-%dT00:00:00Z")
superx x:user
superx x:post
superx posts:list --type posts --sort likes --since "$SINCE" --limit 20
superx posts:draft --brief "" --count 3
```
Read the bio and `pinned_tweet_id` from `x:user`, then `x:post` on that id only if there is one. Write the arc as four labelled lines, each one sentence grounded in a real post or the bio: Setup, Stakes, Conflict, and Resolution (or Where it stands, when the story is still open). A line you cannot ground is a question to ask, never a guess. When the account has no posts, only a few, or posts with no personal arc, interview instead: ONE question per reply (what changed or what they left, what they are chasing and by when, what is in the way, what happens if it fails), then build the arc from the answers. `posts:list` empty means nothing is synced yet, so fall back to `x:user-posts --no-reposts --limit 20`. Never invent events the posts or the answers do not contain.
MCP: `lookup_x_user` -> `lookup_x_post` -> `get_post_analytics` -> `draft_post`
Stops at: the arc plus three drafts, one to pin and two that continue the story, for the person to pick from. The lookups draw on the shared 300-a-day `x:*` allowance; 3 AI credits per draft written.
## Content & Posting
### Daily Post Ideas
Two or three drafts for today, written in the account's voice and ready to schedule.
```bash theme={null}
SINCE=$(date -u -v-60d +"%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "60 days ago" +"%Y-%m-%dT00:00:00Z")
superx scheduled:list --status draft,scheduled --limit 100
superx posts:list --type posts --sort likes --since "$SINCE" --limit 10
superx posts:draft --brief "" --count 3
superx scheduled:create --text "" --idempotency-key "ideas--1"
```
`posts:draft` saves nothing. Show the drafts, let the person pick and edit, then pass the final wording to `scheduled:create`.
MCP: `get_scheduled_posts` -> `get_post_analytics` -> `draft_post` -> `schedule_post`
Stops at: a draft in the SuperX app for the person to review. Costs 3 AI credits per draft written, so ask how many they want.
### Viral Format Remix
Proven hooks and structures from a library of 50M+ high-performing posts, rewritten in the account's voice.
```bash theme={null}
superx inspiration:search "" --sort outlier --min-likes 500 --limit 10
superx posts:draft --brief "" --mirror "" --count 2
superx scheduled:create --text "" --idempotency-key "remix--1"
```
`--mirror` copies the SHAPE of a proven post, not its words. Pick a reference with room for the account's own facts.
MCP: `find_inspiration` (`sort: "outlier"`, optionally `min_outlier_score: 3` for posts with 3x the expected engagement for the author's size) -> `draft_post` -> `schedule_post`
Stops at: reference posts plus drafts, for the person to pick from. 3 AI credits per draft written.
### Trending Now Scan
High-performing posts in the account's niche from the last 48 hours, with angles to take.
```bash theme={null}
SINCE=$(date -u -v-48H +"%Y-%m-%dT%H:00:00Z" 2>/dev/null || date -u -d "48 hours ago" +"%Y-%m-%dT%H:00:00Z")
superx inspiration:search "" --since "$SINCE" --sort likes --limit 10
```
Run it once per topic phrase rather than sweeping the whole niche.
MCP: `find_inspiration`
Stops at: the posts and the suggested angles in chat. Reads only, no AI credits.
### Thread Builder
An idea or rough notes turned into a thread of up to 25 parts, ready to schedule.
```bash theme={null}
superx posts:draft --brief "" --count 1
superx scheduled:create --part "<1/ hook>" --part "<2/ detail>" --part "<3/ close>" --idempotency-key "thread--1"
```
Max 25 parts and 25,000 characters in total. Repeat `--part` in posting order.
MCP: `draft_post` -> `schedule_post`
Stops at: a thread draft in the app. 3 AI credits per draft written.
### Week of Posts
A week of varied drafts, spread across the week, one approval per post.
```bash theme={null}
SINCE=$(date -u -v-60d +"%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "60 days ago" +"%Y-%m-%dT00:00:00Z")
superx posts:list --type posts --sort likes --since "$SINCE" --limit 10
superx queue:get
superx posts:draft --brief "" --count 3
superx scheduled:create --text "" --at "" --idempotency-key "week--1"
superx scheduled:list --status scheduled --limit 100
```
Read the queue first so the new times land on the account's real slots instead of on top of what is already there. Reuse the same `--idempotency-key` on a retry.
MCP: `get_post_analytics` -> `get_queue_settings` -> `draft_post` -> `schedule_post` -> `get_scheduled_posts`
Stops at: a queued week the person can still edit. 3 AI credits per draft written.
### Repurpose a Winner
The account's best post, reworked into fresh angles.
```bash theme={null}
SINCE=$(date -u -v-90d +"%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "90 days ago" +"%Y-%m-%dT00:00:00Z")
superx posts:list --type posts --sort likes --since "$SINCE" --limit 5
superx posts:remix --text "" --closeness 70
superx scheduled:create --text "" --idempotency-key "repurpose--1"
```
Standalone posts only. `--closeness 0` keeps just the idea, `100` stays very close to the original wording.
MCP: `get_post_analytics` -> `remix_post` -> `schedule_post`
Stops at: remixed text the person approves before anything is saved. A remix typically costs 2 AI credits (measured).
### Queue Reshuffle
Move and rewrite scheduled posts by asking, up to 500 in one transaction.
```bash theme={null}
superx scheduled:list --status scheduled --limit 100
superx scheduled:bulk-retime --moves-json '[{"id":"","scheduled_for":""}]'
superx scheduled:update --text ""
```
`bulk-retime` only touches QUEUED posts and answers with counts, so compare against `scheduled:list` rather than assuming every id moved. `scheduled:update --text` without `--media` drops the post's images: re-list the current `object_key`s to keep them.
MCP: `get_scheduled_posts` -> `bulk_retime_scheduled_posts` -> `update_scheduled_post`
Stops at: the retimed queue, one confirmation per change. No AI credits.
### Worker Output Review
The posts a Worker wrote while the person was away, triaged: save the good ones, queue one, clear the rest.
```bash theme={null}
superx workers:list
superx workers:suggestions --status to_review --limit 20
superx workers:draft
superx workers:schedule --at ""
superx workers:dismiss
superx scheduled:list --status draft --limit 10
```
Workers are created, edited and RUN in the SuperX app: this chain only reads what they produced and acts on it. The text is saved exactly as the Worker wrote it, so show each suggestion to the person and let them pick before you save or queue anything. To change the wording, run it through `posts:remix` and save your version with `scheduled:create`, then dismiss the original. A suggestion can only be saved once, so a second draft or schedule call on the same id is a 400.
MCP: `list_workers` -> `list_worker_suggestions` -> `draft_worker_suggestion` / `schedule_worker_suggestion` / `dismiss_worker_suggestion` -> `get_scheduled_posts`
Stops at: the saved drafts and the queued post, for the person to edit. Reads and the three actions cost no AI credits.
### Viral Score Loop
Score a draft against the account's own recent posts, rewrite one thing at a time, rescore, and stop when the score stops rising.
```bash theme={null}
superx posts:viral-score --text "" # add --image, --video or --quote to match what will be attached
superx posts:viral-score --text ""
superx posts:viral-score --text "" # repeat; six scored versions at most
```
Read `score`, `helped`, `hurt` and `warnings` from each result. Rewrite ONE thing per round, keyed on the top `hurt` item, and keep the person's facts, claims and voice; never add a request for replies, follows, links or DMs, never pad with hashtags or emoji, and pass the same media flags every round. Stop when a rewrite introduces a warning (go back to the last clean version and say which warning fired), when the score has not risen for two rounds in a row, or after six scored versions. If the first score already warns, name it and offer one rewrite that removes the ask, then score that once. The score is the chance the post beats the account's own normal post, so say "72 means it beats your usual post about 72 times in 100", never a reach or like count; the likes and replies multiples are relative to the account's median post, and reposts+quotes and views are low confidence, so never chase them.
MCP: `predict_viral_score` (repeat per version) -> `schedule_post` only when the person asks
Stops at: a table of every version with its score and what changed, plus the best version, for the person to pick. Nothing is posted. Most scores charge no credits, one in ten charges 1, and the first score for an account charges 1 more while its baseline is read.
## Replies & Engagement
### Reply Sprint
The replies the account's posts got, each with a ready-to-post draft.
```bash theme={null}
superx replies:received --sort recent --limit 5
superx engage:reply-draft --text "" --handle "" --thoughts "" --tone concise
```
MCP: `get_audience_replies` -> `draft_reply`
Stops at: reply TEXT. **The person posts the reply**: nothing in the CLI, the API or MCP posts a reply to X. Each draft typically costs 2 AI credits (measured).
### Worth a Reply
Read a topic the person cares about and hand back the posts worth replying to today, each with the angle a reply could take.
```bash theme={null}
superx posts:triage "" --days 3 # --days 1-7, default 3; one run per topic per day is plenty
superx engage:reply-draft --post --thoughts "" # only after they pick one
```
Read `lane`, `pct`, `kind` and `answers` from every post. Present the `read` lane first, ordered by `answers.r_reply_room` (how much room a knowledgeable reader has to add something), and order ONLY inside that lane: one line per post with its `url`, its `kind`, one line on why it is worth a reply built from that post's own answers (`r_specific` says it names something concrete, `r_new` says it is not the usual take, `r_reply_room` says there is something left to add), and one line on the angle a reply could take, drawn from the post's text. Then the `unsure` lane as short one-liners under a Skim heading. Leave the `pass` lane out entirely unless the person asks what was dropped, and then say how many and why in one sentence. Quote a post's own answers rather than inventing a reason, and never claim a post has a given like count from the search floor.
`pct` is how CLEAR the call was, not how good the post is: on `read` and `pass` it runs 50 to 99, so a `pass` at 99 means confidently not worth the time, and only on `unsure` is it the raw worth-reading score. Say the lane with the number, never rank posts by `pct` across lanes. What is judged is the TEXT of a post and the model never sees who wrote it, so report it as a call on the writing and never as a rating of a person or an account. The search asks for original posts, English only, with a floor of 30 likes, and returns no replies or reposts, so a small or brand-new topic can come back empty, which is an honest answer rather than a failure.
MCP: `triage_posts` -> `draft_reply` only when the person picks a post and says what they want to say
Stops at: a reply list, in chat, for the person to pick from. It drafts nothing until they choose a post, and nothing is ever sent. A run costs a flat 2 credits and spends 1 live X lookup for a single-word topic or 2 for a multi-word one, out of the account's daily allowance.
### Reply to Any Post
Any post's context, what its top replies already said, and one strong reply draft.
```bash theme={null}
superx x:post
superx x:replies --limit 20
superx engage:reply-draft --post --thoughts "" --tone engaging
```
`x:replies` is a sample of the best-liked direct replies, not every reply, and it does not exclude the author's own.
MCP: `lookup_x_post` -> `get_x_post_replies` -> `draft_reply`
Stops at: reply TEXT. **The person posts the reply.** The lookups draw on the shared 300-a-day `x:*` allowance: `x:replies` spends 3 enrichment units and moves that daily counter once per page it fetches, up to 3. A reply draft named by `--post` spends one more lookup, plus typically 2 AI credits (measured).
### My Replies Report
Which of the account's replies actually earned attention, and the pattern behind them.
```bash theme={null}
superx replies:list --limit 25
```
Page-one rows can carry `metrics_pending`: replies sent from the app in the last 4 hours have no numbers yet, so leave them out of the ranking.
MCP: `get_my_replies`
Stops at: the ranked list plus a pattern read. Reads only, no AI credits.
### Who Is This Person?
A fast read on a public account, plus the history the SuperX account already has with them.
```bash theme={null}
superx x:user
superx x:user-posts --no-reposts --limit 20
superx contacts:get
superx contacts:replies --sort recent --limit 5
```
`contacts:get` covers known contacts only: engagers, contact-list members and scored leads. A 404 there means the person is not one of them yet, not that the lookup failed.
MCP: `lookup_x_user` -> `get_x_user_posts` -> `get_contact` -> `get_contact_history`
Stops at: the profile read in chat. Reads only, on the shared 300-a-day `x:*` allowance.
## Leads & Prospecting
### Your Warmest Leads
The people already engaging most, ranked, with who to follow up with first.
```bash theme={null}
superx contacts:list --sort engagement --limit 50
superx contacts:replies --sort recent --limit 5
```
Covers a rolling 90 days.
MCP: `get_top_contacts` -> `get_contact_history`
Stops at: the ranked list plus a suggested order. Reads only, no AI credits.
### Instant Lead Hunt
A live search of X right now for people matching the audience described, scored, saving nothing.
```bash theme={null}
superx signals:suggest-keywords --icp ""
superx signals:search --offer "" --keywords "," --icp "" --max 30 --max-age-days 7
```
The search creates no agent and stores no leads, so keep what the person needs from that one response. `--offer` is the single biggest lever on quality: give it whenever a product or company is named and the search plans up to 10 buyer-side query angles from it instead of running the keywords verbatim. Write `--keywords` as 2-5 short seed angles of how the BUYER talks (a symptom, a tool they already pay for, their jargon), never the product's own name. `--max-age-days` is the recency window (1-90, default 30): 7 for a pain point worth catching while it is fresh.
MCP: `suggest_keywords` -> `search_leads`
Stops at: up to 30 scored leads in chat. Costs at least 1 AI credit plus one of the plan's daily lead searches, and draws on a fair-use ceiling shared by every SuperX account. Takes up to a minute.
### Standing Lead Agent
An agent that keeps finding leads while the person is away.
```bash theme={null}
superx signals:expand-icp --text ""
superx signals:suggest-keywords --icp ""
superx signals:create-agent --name "" --icp "" --keyword "" --idempotency-key "agent--1"
superx signals:agents
superx signals:leads --agent --deposited false --limit 25
```
Agent creation returns the agent, not leads: they arrive over the following minutes and days. Read `warnings` before telling the person what the agent watches, and omit `--list-id` only if you are happy with an auto-created `Leads: ...` contact list.
MCP: `expand_icp` -> `suggest_keywords` -> `create_signal_agent` -> `list_signal_agents` -> `get_signal_leads`
Stops at: the agent proposal, created only after the person approves it. The helpers are free; the agent itself costs nothing to set up. Editing or pausing later happens in Signals or with `signals:update-agent`.
### Lead Review
The leads the agents found, prioritized, with the top few activity-checked.
```bash theme={null}
superx signals:agents
superx signals:leads --agent --deposited false --limit 25
superx x:user-posts --no-reposts --limit 10
superx signals:feedback --fit
```
The feedback id is the numeric LEAD id, not an X user id, and it trains the scorer: ask the person for the verdict rather than inferring one.
MCP: `list_signal_agents` -> `get_signal_leads` -> `get_x_user_posts` -> `set_lead_feedback`
Stops at: the prioritized list plus recorded verdicts. Reads plus one small write; the activity check spends the shared 300-a-day `x:*` allowance.
## Outreach & DMs
### Warm Outreach Pipeline
Research a list, get one personalized message per person, and queue them only after the person approves every message.
```bash theme={null}
HANDLES=$(superx contacts:list --sort engagement --limit 25 | jq -r '[.data[].username] | join(",")')
superx datasets:research --handles "$HANDLES" --max 25 --focus "" --wait
superx datasets:outreach-drafts --format ""
superx datasets:rows --limit 25
superx dm:limits
superx dm:campaign --recipients recipients.json --idempotency-key "outreach--1"
superx dm:campaign-status
```
`--handles`, `--list`, `--agent` and `--dataset` are alternative sources for the research step: give exactly one. `contacts:list` returns people, not a list id, so its output feeds `--handles` through the `jq` above; `--list` takes a contact-list id from `lists:list` instead, which is the other way into this skill. Both cap at 25 profiles. Build `recipients.json` from the dataset rows as `[{"x_user_id":"...","handle":"...","name":"...","message":"..."}]`, one entry per person, each carrying its own approved message. Ask the person for the `--format`; never invent one.
MCP: `get_top_contacts` -> `research_profiles` -> `draft_outreach_dms` -> `get_dataset_rows` -> `get_dm_limits` -> `queue_dm_campaign` -> `get_dm_campaign`
Stops at: **a queued campaign, not delivered messages.** `dm:campaign` is an ENQUEUE: the SuperX app sends the messages later, within the account's daily and monthly DM limits, so report counts and never say anything was sent. `dm:campaign-status` and `dm:queue` show what actually went out; `dm:cancel` cancels the unsent ones. Research costs 1 AI credit per profile researched, max 100 recipients per campaign, and the person is responsible for these messages under X's automation rules.
### Profile Research Briefs
Structured briefs on a list of people, exportable as CSV.
```bash theme={null}
superx datasets:research --handles "," --max 25 --focus "" --title "" --wait
superx datasets:rows --limit 25
superx datasets:export --out briefs.csv
```
Over 5 profiles the run goes to the background, so never quote a brief count from a `collecting` result: pass `--wait` or poll `datasets:get`.
MCP: `research_profiles` -> `get_dataset` -> `get_dataset_rows`
Stops at: the briefs in chat plus a CSV on disk. Costs 1 AI credit per profile ACTUALLY researched (unresolved handles are refunded), max 25 a run, plus one of the plan's daily research runs. CSV export is CLI only; XLSX stays in the SuperX app.
### Reply-to-DM Campaign
DM the people who replied to one of the account's posts.
```bash theme={null}
superx datasets:collect --source repliers --target --keywords "" --require-can-dm --max-rows 100 --wait
superx datasets:refine --criterion "" --wait
superx datasets:rows --limit 100
superx dm:limits
superx dm:campaign --recipients recipients.json --message "Hey [name], ..." --idempotency-key "campaign--1"
superx dm:campaign-status
```
Build `recipients.json` from `datasets:rows` in the same shape as Warm Outreach Pipeline, `[{"x_user_id":"...","handle":"...","name":"...","message":"..."}]`, except that here `--message` carries the shared wording and only `x_user_id` is required per row; a row's own `message` overrides the shared one. `[name]`, `[first]` and `[handle]` are filled per recipient. People messaged in the last 24 hours are skipped and counted in `duplicates`, and the account never messages itself.
MCP: `collect_audience` -> `refine_dataset` -> `get_dataset_rows` -> `get_dm_limits` -> `queue_dm_campaign` -> `get_dm_campaign`
Stops at: **a queued campaign, not delivered messages.** The enqueue rule is the same one as Warm Outreach Pipeline: the SuperX app sends, nothing here does, and the response is counts. Max 100 per campaign, 10 dataset ops a day, no AI credits on the DM side. Confirm the recipient list and the exact wording with the person first.
### DM-Ready Audience Builder
A clean, DM-able audience built from any post or public X list, with a path into a contact list.
```bash theme={null}
superx datasets:collect --source repliers --target --require-can-dm --max-rows 500 --title "" --wait
superx datasets:get
superx lists:create --name ""
superx datasets:add-to-list --list-id
```
`--source` also takes `quoters`, `reposters` and `list_members` (with a public X list URL as `--target`). Adding to a list dedupes by person and skips rows with no usable X account id, so `added + duplicates` can be lower than the row count.
MCP: `collect_audience` -> `get_dataset` -> `create_contact_list` -> `add_dataset_to_contact_list`
Stops at: a filtered dataset and, if the person wants it, a contact list. Costs one of 10 collections a day shared with the SuperX app. No AI credits.
## Audience & Data
### Audience Export
Everyone who engaged a post, as a spreadsheet, no filters.
```bash theme={null}
superx datasets:collect --source repliers --target --max-rows 1000 --title "" --wait
superx datasets:get
superx datasets:export --out audience.csv
```
MCP: `collect_audience` -> `get_dataset`
Stops at: a CSV file on disk, up to 1000 rows. **CSV only**: there is no export tool on MCP and XLSX stays in the SuperX app, so send the person there when they need the spreadsheet format. Costs one of 10 collections a day. No AI credits.
### Sentiment Slice
Keep only the people who said the thing you are looking for.
```bash theme={null}
superx datasets:list
superx datasets:refine --criterion "" --sort followers --limit 100 --wait
superx datasets:rows --limit 50
```
The source dataset is untouched. Only datasets whose rows carry text (repliers, quoters) can be refined. Rows the classifier cannot judge are KEPT and counted as unclear, so report the unclear count honestly.
MCP: `list_datasets` -> `refine_dataset` -> `get_dataset_rows`
Stops at: the new dataset with its matched and unclear counts. A refinement creates a dataset, so it spends one of the same 10 collections a day, plus a small AI cost. Ask before running it.
### My Content Export
The account's own posts or replies, as a spreadsheet.
```bash theme={null}
superx datasets:collect --source my_posts --since-days 90 --sort likes --max-rows 200 --wait
superx datasets:get
superx datasets:export --out my-content.csv
```
`--source my_replies` does the same for replies. Small exports finish instantly.
MCP: `collect_audience` -> `get_dataset`
Stops at: a CSV file on disk. **CSV only**, same as Audience Export: XLSX is app-only. Costs one of 10 collections a day. No AI credits.
## Analytics & Insights
### Post Post-Mortem
Why one post overperformed or flopped, measured against the account's own baseline.
```bash theme={null}
SINCE=$(date -u -v-30d +"%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "30 days ago" +"%Y-%m-%dT00:00:00Z")
superx posts:list --sort posted_at --since "$SINCE" --limit 25
superx posts:analytics --since "$SINCE"
superx x:user-posts --no-reposts --limit 20
```
The third call is optional: use it only when the person names a peer account to compare against.
MCP: `get_post_analytics` -> `get_account_overview` -> `get_x_user_posts`
Stops at: the explanation in chat. Reads only. The live lookup draws on the shared 300-a-day allowance for `x:*`.
### Top Performers Breakdown
The ranked winners, the shape they share, and what to write more of.
```bash theme={null}
SINCE=$(date -u -v-30d +"%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "30 days ago" +"%Y-%m-%dT00:00:00Z")
superx posts:list --type posts --sort likes --since "$SINCE" --limit 25
superx posts:analytics --since "$SINCE"
```
MCP: `get_post_analytics` -> `get_account_overview`
Stops at: the pattern read in chat. Reads only, no AI credits.
## Rules & Setup
### Teach SuperX Your Rules
Standing rules the AI follows on every drafting surface.
```bash theme={null}
superx context:get
superx context:set --rules ""
superx context:get
```
Saving REPLACES the whole rule set, capped at 500 characters, so read the current rules first and send them back plus the new one. These settings steer all future AI output on the account: confirm the final wording before saving.
MCP: `get_context` -> `update_context`
Stops at: the updated rule set, read back so the person can see exactly what is stored. Free, no AI credits.
# Changelog
Source: https://docs.superx.so/updates
API changes, newest first.
## 2026-10-07: Remixing your own post keeps its subject
A remix can now be told who originally posted the text. When that is the account's own handle, the remix keeps the post's subject, products, names and numbers and freshens only the wording, instead of re-grounding it in the profile. Leave it out and nothing changes.
**API**
* `POST /v1/posts/remix`: new optional `author_handle`, a string of up to 64 characters (the leading `@` is optional). Anything else is a `400 invalid_parameter`
**MCP**
* `remix_post` takes `author_handle` with the same meaning. Reconnect the server to see it
**CLI**
* `superx posts:remix` gains `--author-handle <@handle>`
## 2026-10-07: Workers report their shape
A Worker now answers two separate questions: what its posts are about, and how each post is built. Product and custom-topic Workers can take their shape from a popular post in a niche, found by keywords, which before only `niche_trending` Workers could do. A new `shape` field tells the three shapes apart. Existing fields keep their name, type and values.
**API**
* `GET /v1/workers`: new `shape` on every Worker: `formats` (modeled on a proven post format), `niche` (modeled on a popular post found by the Worker's keywords) or `fresh` (written freely with only a loose format hint, and no post is closely modeled). Every `niche_trending` Worker reads `niche`. `shape` is the last key on each Worker, so the other keys keep their order
* `style_mode` keeps its two values. A product or custom Worker shaped on a niche reports `reference_remix` there, so read `shape` to tell it apart from one that models a proven format
* `topic_config` on a product or custom Worker shaped on a niche carries `keywords`, the same array a `niche_trending` Worker has. On these Workers the keywords only find the post to model, and the posts stay about the product or topic
* `GET /v1/workers/suggestions`: `reference.fallback: true` appears on a suggestion from a niche-shaped Worker that found no usable popular post that run and wrote from a proven format. It is absent on every other suggestion
* `POST /v1/posts/draft` with a `mirror`, and MCP `draft_post`: the reference guard that Workers apply to a collection post now runs on the pasted mirror too, so a list-style post or an engagement-bait post is refused with `400 mirror_rejected` before anything is charged. In our check 8 of 2,528 library posts hit it. Pass the plain text of a substantial post instead
**MCP**
* `list_workers` returns `shape` for each Worker, and its description explains `topic_source` versus `shape`
* `list_worker_suggestions` adds `fallback: true` to a suggestion from a niche-shaped Worker that found no usable popular post that run and wrote from a proven format. Reconnect the server to see the new descriptions
**CLI**
* No change needed: `superx workers:list` and `superx workers:suggestions` print the API's JSON as it comes, so `shape` and `reference.fallback` show up there too
## 2026-10-07: Media-only posts
A post or thread part can now be just an image or a GIF, with no text. X allows it, and the app already did, but the API, MCP and CLI asked for text on every post. Nothing that was accepted before changes: the same requests are accepted and stored the same way.
**API**
* `POST /v1/scheduled-posts` (drafts, scheduled posts and `scheduled_for: "now"`) and `PATCH /v1/scheduled-posts/{id}`: a part's `text` is optional when the part has `media`. A media-only part is stored and returned with `text` as an empty string
* A post with no text and no media at all is still rejected with `400 invalid_parameter` "The post text is empty"
* On `PATCH`, parts are still a full replace, so a part sent with `media` and no `text` loses any text it had
**MCP**
* `schedule_post`, `update_scheduled_post` and `publish_post` accept a part with `media` and no `text`. A part with neither is refused with "Each part needs text or media", and a call where no part has either with "The post text is empty". On `update_scheduled_post`, leaving out a part's text removes the text it had, so resend it to keep it. Reconnect the server to see the new schema
**CLI**
* `superx scheduled:create` and `superx posts:publish` take `--media ` without `--text` for an image-only post
* `superx scheduled:update` takes `--text "" --media ` to make a post image-only. `--media` on its own is still refused, because the update replaces the whole post, text included
* `--parts-json` parts may leave out `text` when they carry `media`
## 2026-10-07: Inspiration filters by outlier score and author size
You can now ask the inspiration library for posts that beat the norm for their author's size, not just posts with big numbers. `outlier_score` is a post's engagement rate divided by the expected rate for its author's follower tier: 1.0 = expected, 3.0 = three times expected. A new minimum keeps only posts at or above a score, and the MCP tool now has the same follower range, sort and engagement filters as the API and CLI.
**API**
* `GET /v1/inspiration`: new `min_outlier_score` (number, 0 to 1000, rounded to 1 decimal). Posts whose author's follower count is unknown have no score and are left out when it is set above 0. Values outside 0 to 1000 or not a number return `400 invalid_parameter`
* The `outlier_score` description is corrected. It is the plain ratio rounded to 1 decimal, where 1.0 = expected for the author's follower tier. It was wrongly documented as multiplied by 10. The returned values have not changed
**MCP**
* `find_inspiration` takes new optional inputs: `min_followers` and `max_followers` (for a 1k to 10k band pass 1000 and 9999), `min_outlier_score`, `sort` (`relevant`, `recent`, `likes`, `reposts`, `impressions` or `outlier`), `min_reposts`, `min_replies`, `min_bookmarks`, `min_impressions`, `min_length`, `exclude_topics` (`crypto`, `politics`, `nsfw`, `selfpromo`) and `page` (1 to 7). `min_followers` above `max_followers` returns an error
* Each post now returns `outlier_score` and `bookmarks`, and the result carries `page` and `has_more`. Existing inputs and fields are unchanged. Reconnect the server to see the new schema
**CLI**
* `superx inspiration:search` gains `--min-outlier-score` and `--min-length`
## 2026-09-21: Analytics separate posts from replies
Analytics used to count every row an account wrote, so replies to other people and reposts landed in the post count and their engagement was mixed into the totals. An account that replies a lot looked like it posted far more than it did. Totals and per-day series now cover the account's own posts, which means original posts plus thread continuations, and the replies it sent to other accounts are counted on their own.
The same rule also decides what the post and reply listings return, so the API and MCP now count posts on one shared basis.
**API**
* `GET /v1/posts/analytics`: `totals.posts` and each series day's `posts` count original posts plus thread continuations, which are replies to the account's own posts. Quote posts still count as posts. Replies to other accounts and reposts never do
* New `replies_sent` and `reposts_sent` in `totals` and in every series day: the replies the account sent to other accounts, and the reposts it made, in the range. They are never posts, so never add them to `posts`
* `likes`, `replies`, `reposts`, `quotes`, `bookmarks` and `impressions` are now the engagement the counted posts received. For an account that replies to other people often these figures are lower than before, because the engagement those replies picked up is no longer counted
* `replies` and `reposts` stay engagement received. `replies_sent` and `reposts_sent` are the account's own activity. The two pairs measure different things
* Detection rule: a reply whose target is the account itself is a thread continuation and counts as a post, a reply to anyone else counts as a reply, text that starts with `RT @` counts as a repost, and everything else, quote posts included, counts as a post. A reply with no target account on record stays a reply
* The previous post count is `posts + replies_sent + reposts_sent`, so an existing chart can be kept as it was by adding the three
* `GET /v1/posts` with `type=posts` returns original posts, quote posts and thread continuations, which are replies to your own posts. Replies to other accounts and reposts are no longer in it. `type=replies` returns replies to other accounts, and `type=all` still returns everything the account wrote
* `GET /v1/replies` lists the replies sent to other accounts. A reply to one of your own posts is a thread continuation and is listed under `GET /v1/posts` instead
* Every post carries two new fields: `is_repost`, true on a repost, and `is_thread`, true on a thread continuation. `is_reply` is now true only on a reply to another account, so a thread continuation reads `is_reply: false` with `is_thread: true`
**MCP**
* `get_account_overview` returns the same totals as the endpoint, and each day in `recent_daily` carries `replies_sent`. Its `note` field now states which number is which. Reconnect the server to pick up the new description
* `get_post_analytics` lists posts on the same basis, with a thread continuation flagged `is_thread`. `get_my_replies` lists the replies sent to other accounts, so a thread continuation no longer shows up there
**In the app**
* Ask SuperX's `get_user_posts` flags a thread continuation with `is_thread` and keeps `is_reply` for replies to other accounts, and Ask is told to count a thread continuation as a post
## 2026-09-19: Triage a topic into Read, Pass or Not sure
Finding what is worth reading on a topic meant scrolling it yourself. One call now searches recent public posts and sorts them into three lanes, with the yes/no answers behind every call.
**API**
* `POST /v1/posts/triage` takes `query` (2-80 characters) and optional `max_age_days` (1-7, default 3), searches recent public posts and returns up to 40 of them sorted into `lane` `read`, `pass` or `unsure`. Each post carries `pct`, a `kind` (`insight`, `story`, `data`, `progress`, `news`, `question`, `intro`, `launch`, `joke`, `opinion`) and `answers`: specific and informative, says something new, engagement bait, a plug, a platitude, and room to add something in a reply
* **`pct` is how clear the call was, not how good the post is.** On `read` and `pass` it runs 50 to 99, measured away from the threshold in whichever direction the lane went, so a post that is confidently not worth reading is a `pass` at 99. On `unsure` it is the raw worth-reading score. Read it together with `lane` and never rank across lanes by it
* The searches ask for original posts, English only, with a floor of 30 likes, and never return replies or reposts. The like floor is the one the lane thresholds were tuned against, so it is fixed rather than a parameter, and it is what the search asks for rather than a guarantee: a few posts come back under it
* **It judges the text.** No author, handle or follower count is in what the model reads, so a result is a call on the writing and never a rating of a person. The author block comes back for display only
* A plain multi-word `query` is also searched as an exact phrase; a query that already carries quotes, a field lookup, `OR` / `AND` or an exclusion is searched once, as written. `posts_searched` says how many distinct posts the searches found before the 40-post cap, and `receipt` reports posts judged, questions answered, milliseconds and model spend
* A flat 2 credits a run, with a per-day cap of 20 on trial, 60 on pro, 150 on advanced and 300 on ultra. The searches spend your own live X allowance, the one shared with Ask SuperX in the app: 1 lookup for a single-word query, 2 for a multi-word one, out of 300 a day, which is what binds first on the higher plans. A run that finds nothing charges no credits and still counts against the daily cap. Nothing is posted, saved or sent
**MCP**
* `triage_posts`, with the same fields as the endpoint. Reconnect the server to pick it up
**CLI**
* `superx posts:triage "coding agents"` (`--days` 1-7, `--account`)
**Skills**
* New skill Worth a Reply: it reads a topic and hands back the posts worth replying to, ordered by how much room there is to add something in a reply, each with its link, one line on why and the angle a reply could take. Runs in Ask, MCP and the CLI, and drafts nothing until you pick a post. Skills are now 32
## 2026-09-18: Agent skills, one folder each
The same recipes used to live under three names in three places, and they had drifted: the agent package said "playbooks", the app said "skills", and the two sets were not even the same 29. There is now one set of 30 skills, each a folder in the [superx-agent](https://github.com/superx-so/superx-agent) repo, and everything else is generated from it.
**Docs**
* New page [Agent skills](/skills), generated from those folders: 30 recipes grouped by the same eight categories the app uses, each with its CLI chain, its MCP tool chain and where the chain stops. It replaces the old Agent playbooks page, and `/playbooks` redirects here
**Skills**
* 30 skills, up from 29 recipes and 29 app cards that were not the same 29. Worker Output Review now has an app card and Find Your Story now has a command chain, so every skill ships both
* New skill Viral Score Loop: score a draft against your own recent posts, rewrite one thing at a time keyed on what hurt, rescore, and stop when the score stops rising or a warning fires. Runs in Ask, MCP and the CLI. Skills are now 31
* Instant Lead Hunt carries `signals:search --offer` and `--max-age-days`, and says what a hunt costs instead of calling it free. Viral Format Remix says 3 AI credits per draft. Lead Review says your fit or not-fit verdicts are recorded and train the scorer
**CLI**
* `superx skills:list` prints every bundled skill as JSON, and `superx skills:install` puts the skill where your agent looks for it (`~/.claude/skills` and `~/.agents/skills` by default, `--target claude|agents|openclaw|all`, `--project`, `--copy`). `npx skills add superx-so/superx-agent` still works
## 2026-09-18: Viral Score, and algorithm-predict is gone
Scoring a draft used to mean comparing two versions on a model's opinion. The new score compares ONE draft with the account's OWN recent posts, using weights fit on 9,481 real posts from 214 accounts, and says what helped and what hurt in plain English.
**API**
* `POST /v1/posts/viral-score` scores one draft from 0 to 100 against the account's own normal post: `text` (1-4000) plus optional `has_image`, `has_video`, `is_quote`, `post_at` and `baseline` (`account` by default, or `population`). It returns `counters` for likes, replies, reposts+quotes and views (a median multiple of that account's own median post, with `p75`, `p90` and `expected`), `helped` and `hurt` with the feature that moved the score and what it did, `warnings`, and `accuracy` with the measured figure to quote
* It compares a draft with the account's own posts: it is not a reach prediction and it knows nothing about follower count. `reposts_and_quotes` and `views` come back `confidence: "low"`, because text says much less about those
* `warnings` name what the score never rewards: asking for replies as the point of the post, inviting people to connect, a structure borrowed from other accounts, and sending readers off the platform. Those can only push a score down, so rewrite rather than work around them
* The baseline is the account's last originals from the past 90 days, leaving out anything posted in the last 3 days because those numbers are still settling. Under 10 usable posts and `baseline.kind` is `population`, which scores against the average training post and returns `expected: null`
* Cheap on purpose so drafts can be iterated: most calls charge no credits, one in ten charges 1, and the first call for an account charges 1 more while its baseline is built. The per-day cap is 50 on trial, 300 on pro, 1,000 on advanced and 2,000 on ultra
* **Removed:** `POST /v1/tools/algorithm-predict`. It scored two versions on a model's opinion and was never measured against real posts
**MCP**
* `predict_viral_score` replaces `predict_algorithm`, with the same fields as the endpoint. Reconnect the server to pick it up
**CLI**
* `superx posts:viral-score --text "..."` (`--image`, `--video`, `--quote`, `--post-at`, `--population`) replaces `superx tools:predict`
## 2026-09-14: Lead search only returns recent posts
A live lead search used to reach back years to fill a page, so people whose matching post was months or years old came back looking like fresh leads. Every lead now comes from a post inside a recency window you control, and the leads are ordered freshest first within each score.
**API**
* `POST /v1/signals/leads/search` takes `max_post_age_days` (1-90, 30 by default). A matching post older than the window is skipped rather than returned; 91 or 0 is a `400 invalid_parameter`
* Each lead's `provenance` gains `posted_at` (when the matched post was written), `post_age_days`, and `tweet_id` (the matched post's id, named as it is on stored signal leads, for the endpoints that take a post id)
* `data.freshness` reports `max_post_age_days`, `posts_in_window`, `stale_skipped` and `oldest_skipped_days`. An empty `leads` with `stale_skipped` above 0 means people do post about this, just not inside the window: broaden the keywords, or raise the window when you want people active over a longer stretch rather than a fresh pain point
* Narrow searches usually spend fewer live requests now, because paging stops once a page crosses the window
**MCP**
* `search_leads` takes `max_post_age_days` and returns the same `freshness` block and per-lead post age. Reconnect the server to pick the parameter up
**CLI**
* `signals:search --max-age-days <1-90>`
**Docs**
* The [Agent playbook](/playbooks) "Instant Lead Hunt" and the [MCP server](/mcp-server) page cover the window
## 2026-09-12: Workers, and newest drafts first
The posts your Workers write are now readable from the API, MCP and the CLI, and you can save, schedule or dismiss one from there. Workers themselves are still created, edited and run in the SuperX app. Drafts also list newest first now, which fixes pages of old drafts coming back before recent ones.
**API**
* `GET /v1/workers` returns the account's Workers with their voice, topic source, style mode, batch size, schedule, timezone and next run time. Not paginated
* `GET /v1/workers/suggestions` returns the posts they wrote, newest first: `status` is `to_review` (the default, the app's "To review" queue), `drafted`, `scheduled`, `dismissed` or `all`, with `worker_id`, `limit` (max 100, default 20) and `page`. Each row carries the text, the `worker_id`, the timestamps of whatever has been done with it, and `post_id` once it was saved as a post. An unknown or foreign `worker_id` is a 404 `worker_not_found`
* `POST /v1/workers/suggestions/{id}/draft` saves one suggestion as a draft and `POST /v1/workers/suggestions/{id}/schedule` queues it for a `scheduled_for` you pass, both answering with the new `post_id`. `POST /v1/workers/suggestions/{id}/dismiss` drops it out of the queue and creates or removes nothing. A suggestion can only be saved once: a second call is a 400 `already_saved`, and one already dismissed is a 400 `already_dismissed`. An id belonging to another account's Worker is a 404 `suggestion_not_found`. The three writes need a key with the write scope and refuse accounts shared with you (403 `writes_main_account_only`)
* No create, edit or run endpoint for Workers themselves: those stay in the SuperX app
* `GET /v1/scheduled-posts` now returns drafts most recently updated first, so page 1 is the newest work; walk back with `page`. A `from`/`to` request is still a calendar query, in scheduled-time order
**MCP**
* New tools `list_workers` and `list_worker_suggestions` (read), plus `draft_worker_suggestion`, `schedule_worker_suggestion` and `dismiss_worker_suggestion` (write). Reconnect the server to pick them up
* `get_scheduled_posts` gained a `page` parameter and returns drafts most recently updated first
**CLI**
* New commands `workers:list`, `workers:suggestions` (`--status`, `--worker`, `--limit`, `--page`), `workers:draft `, `workers:schedule --at` and `workers:dismiss `, all taking `--account`
**Docs**
* New [Agent playbook](/playbooks) "Worker Output Review": read the To review queue, save or queue the good ones, dismiss the rest
## 2026-09-12: draft\_post and linked accounts
No API change. The docs now spell out what `voice: mine` has always done: it writes in the voice of the account you select, not your main account, and it is the one writing helper that refuses an account somebody shared with you.
**Docs**
* `POST /v1/posts/draft`: `voice: mine` writes as the account in `account_id`, from that account's own posts, style guide and rules. Omit `account_id` and that is your main account. The `voice` and `account_id` field descriptions now say the same
* The [MCP server](/mcp-server) page drops `draft_post` from the list of credit-spending tools that accept a shared account: it prepares the account's own style guide when needed, so a shared account returns `writes_main_account_only`. `draft_reply`, `remix_post`, `inline_edit`, `rephrase_text`, `fact_check`, `predict_algorithm` and `search_leads` still work on one
* The [CLI](/cli) page notes that `--account` picks which of your accounts `posts:draft` writes as, and that `--voice mine` is that account's own voice
## 2026-09-11: Agent playbooks
Every skill in Ask SuperX now has a documented CLI and MCP recipe. No API change: this is documentation over the endpoints that already shipped.
**Docs**
* New page [Agent playbooks](/playbooks): 28 recipes, one per SuperX skill, grouped by goal (recaps and analytics, content, queue, replies, leads, audiences and DMs, settings). Each entry gives the outcome, the CLI chain in order with its flags, the equivalent MCP tool chain by registered tool name, and the point where the chain STOPS, including what it costs in AI credits or daily allowances
* Four recipes stop short of a send, and say so in the entry: Reply Sprint and Reply to Any Post end at reply TEXT that a person posts, and Warm Outreach Pipeline and Reply-to-DM Campaign end at a QUEUED campaign that the SuperX app delivers. Audience Export and My Content Export export CSV; XLSX stays in the SuperX app
**CLI**
* The `superx-agent` package ships a new `PLAYBOOKS.md` with the same 28 recipes, and `SKILL.md` gains a `## Playbooks` index so an agent can pick one by goal before opening the file
## 2026-09-10: DM campaigns and auto DM on scheduled posts
The SuperX app's DM pipeline is now reachable from the API, MCP and the CLI. **Nothing in it sends a message at the time you call it.** A campaign ENQUEUES: the messages go into the account's own DM queue, the same one the app fills, and the app's scheduler sends them within the account's daily and monthly DM limits. Every create response is counts, not deliveries. You are responsible for the messages you queue under X's rules on automation and unsolicited contact.
**API**
* `POST /v1/dm/campaigns` queues direct messages to up to 100 X users: `recipients` of `{ x_user_id, handle?, name?, message?, source_post_id? }`, a shared `message` in which `[name]`, `[first]` and `[handle]` are filled per recipient, and `spread`. People the account already messaged in the last 24 hours are skipped and counted in `duplicates`, and the sending account is never messaged. `spread: false` (the default) queues only what today's daily allowance holds; `spread: true` places the rest over the coming days (ignored, with the overflow counted in `skipped`, when `GET /v1/dm/limits` reports `scheduling_enabled: false`). When every recipient is skipped nothing is queued, so the answer is `200` with `data.id: null` and a note saying so. Supports `Idempotency-Key`, and with one the campaign id IS the reservation, so a retry after a timeout converges on the same campaign
* `GET /v1/dm/campaigns/{id}` returns the campaign's status counts and its individual messages, `DELETE /v1/dm/campaigns/{id}` cancels the unsent ones and gives back the monthly allowance they were holding (a campaign that exists but has nothing left answers `cancelled: 0`; an id that never queued anything answers `404`), and `GET /v1/dm/queue` lists the whole queue with `status` and `campaign_id` filters. Rows queued in the app appear there too, with `campaign_id: null`
* `GET /v1/dm/limits` returns the account's DM allowances and usage: the monthly allowance with its committed count, the daily bulk allowance, the per-post maximum and the separate cap on how many scheduled posts a month may carry an auto DM. These are plan limits, not AI credits, and nothing in `/v1/dm/*` charges credits
* Scheduled posts accept `auto_dm` on create and PATCH: `{ message, triggers: { reply, repost }, enabled?, max_dms?, batch_mode? }`. `message` is always required; `retweet` is accepted as an alias of `repost` and an unknown trigger key is a 400; `enabled: false` behaves exactly like `null`. The DM goes to the people who reply to or repost the post once it is live. Omit it and the post keeps inheriting your Default Post Settings; `null` turns it off, and on PATCH also gives back the month's post slot. When the posts-with-auto-DM cap stops it, the write still lands and the response carries `auto_dm_skipped: true` (on PATCH as well as create). Reading a post back never returns the DM text
* `POST /v1/scheduled-posts` with `scheduled_for: "now"` accepts `auto_dm` too, on the same terms, and reports `auto_dm_skipped` the same way
* New error codes: 400 `account_not_linked`, 403 `dm_not_in_plan`, 404 `campaign_not_found` and 429 `dm_limit_reached` with `scope` `month` or `day`
**MCP**
* Five new tools: `queue_dm_campaign` and `cancel_dm_campaign` (write scope), and the read-only `get_dm_campaign`, `list_dm_queue` and `get_dm_limits`. 99 tools in total
* `schedule_post` and `update_scheduled_post` accept an `autoDM` parameter with the same fields
**CLI**
* `superx dm:campaign --recipients --message` (`--recipients=-` reads stdin), `superx dm:campaign-status `, `superx dm:cancel `, `superx dm:queue` and `superx dm:limits`
* `superx scheduled:create` and `superx scheduled:update` gain `--auto-dm-message`, `--auto-dm-triggers reply,repost`, `--auto-dm-max`, `--auto-dm-batch` and `--no-auto-dm`
## 2026-09-10: Reply drafts, remix, the composer tools and the free helpers
The writing helpers from the SuperX app composer are now on the API, MCP and the CLI, along with five free helpers that keep the account's writing context current. Every one of them returns TEXT or settings and writes nothing to X: nothing here is posted, scheduled or sent.
**API**
* `POST /v1/engage/reply-draft` writes ONE reply draft in the account's own voice, using the same engine, prompts and voice settings as the Generate Reply button in the app. Name the post with `post_id` (the API reads it live, so the draft sees the real text, author and quoted post) or supply the wording yourself in `post`. Add `conversation` (oldest first), `quoted_post`, `thoughts` for what the person wants to convey, and `tone`. **The draft is text. A person posts it**: no endpoint in this API posts a reply, and this one does not either
* `POST /v1/posts/remix` rewrites a post in the account's voice, from a loose reinterpretation (`closeness: 0`) to very close to the original wording (`closeness: 100`), with optional `instructions`. Send the result on to `POST /v1/posts/draft` or `POST /v1/scheduled-posts` when a person is happy with it
* `POST /v1/tools/inline-edit` edits one selected piece of a post while keeping the style of the text around it (`text` plus `full_text`, steered by a free-text `instruction`, a preset `edit_type`, or both)
* `POST /v1/tools/rephrase` applies one preset rewrite to a whole post. The style presets write in the account's voice; `grammar`, `translate`, `clarity`, `details` and `concise` stay mechanical
* `POST /v1/tools/factcheck` checks a statement against a web search and reports `true`, `false` or `unknown` with a one-sentence comment and the sources it read. It is a model's reading of a couple of search results, not a guarantee: show the sources and never present the verdict as settled
* `POST /v1/tools/algorithm-predict` scores two versions of a post from 0 to 100 against what the timeline tends to reward, with a few short improvements for each. The scores compare the two drafts against each other; they do not predict reach
* Costs: all six are measured AI credits, typically 1, and 2 for a remix or a reply draft (the reply write plus the shared post-editor pass). None of them spends a live X request except a reply draft with a `post_id`, which uses one lookup from the same 300-a-day allowance the live X lookups draw on. All six need a key with the `write` scope, and all six work on an account shared with you, because they change nothing on it
* `POST /v1/articles/{id}/cover` now charges a FLAT 25 AI credits per generation, whatever the render actually costs, and reports it in `meta.credits_charged` and a new `X-Credits-Charged` header. The account's daily and monthly cover caps are unchanged. A generation that fails outright is refunded in full; a `504` keeps the charge because the cover may still have landed, so read the article before retrying
* New error code `post_has_no_text` (422) on `POST /v1/engage/reply-draft`, when the post you named carries no text to reply to
* `POST /v1/context/style-guide/regenerate` rebuilds the account's GENERATED style guide from its recent posts, the block `GET /v1/context` returns as `style_guide.generated`. Your own `audience_override` and `vocabulary_override` are untouched and keep outranking it. Free, and limited to once an hour per account (the hour runs from the last SUCCESSFUL run); an account with fewer than 5 recent posts stored has them read live, which allows 3 attempts a day and also draws on the platform-wide fair-use ceiling
* `POST /v1/context/products/{id}/scrape` re-reads a saved product's page and refreshes its stored name, description and details. The url comes from the SAVED product, so change it with `PATCH /v1/context/products/{id}` first if it moved. Free, on the account's allowance of 20 page reads a day, shared with the SuperX app
* `POST /v1/signals/keywords/suggest` turns a plain audience description into 2 or 3 keyword-watch ideas, and `POST /v1/signals/icp/expand` turns the same description into the rubric signal agents score people against. Both are free and create nothing: a suggestion becomes real when you pass it as a keyword on `POST /v1/signals/agents`, while the rubric has nowhere to be saved, so use it to sharpen the `icp_description` you create an agent with
* `POST /v1/signals/icp/expand-from-url` reads a product or company website and returns an audience description, the rubric and keyword ideas in one call. Free, on the same 20 page reads a day, and it also inherits the SuperX app's short-term limit of 10 prefills per 10 minutes, which returns `429 rate_limited` rather than `ai_action_limited`
* All five are POSTs, so all five need a key with the `write` scope, as every non-GET route on this API does, even the three that create nothing. They charge nothing, so they send no `X-Credits-Charged` header; `X-Credits-Remaining` and `X-Credits-Reset` still ride along. New error codes: 400 `not_enough_posts`, 404 `product_not_found` and 422 `scrape_failed`, and `ai_action_limited` with `scope: "account"` now also covers the once-an-hour style guide limit and the 20-a-day page reads
**MCP**
* Six new writing tools: `draft_reply`, `remix_post`, `inline_edit`, `rephrase_text`, `fact_check` and `predict_algorithm`. All six need a key with the write scope, because all six spend AI credits
* Five free tools: `regenerate_style_guide` and `scrape_product` (write scope, since they change the account's stored context) plus the read-only `suggest_keywords`, `expand_icp` and `expand_icp_from_url`. 94 tools in total
* `generate_article_cover` now reports `credits_charged`
**CLI**
* `superx engage:reply-draft`, `superx posts:remix`, `superx tools:inline-edit`, `superx tools:rephrase`, `superx tools:factcheck` and `superx tools:predict`
* `superx context:regenerate-style-guide`, `superx context:scrape-product `, `superx signals:suggest-keywords` and `superx signals:expand-icp` (`--text` or `--url`)
## 2026-09-10: Lead search, profile research and outreach drafts
The AI actions that were only reachable inside the SuperX app are now on the API, MCP and the CLI. None of them sends anything to X.
**API**
* `POST /v1/signals/leads/search` runs ONE live keyword search over X and returns the people it finds, scored against an ideal-customer profile you describe. It creates nothing: no signal agent, no stored leads, no list membership, so keep what you need from the response. For an audience that keeps filling up on its own, create a signal agent instead. It takes up to a minute, and needs a key with the `write` scope, on REST and on MCP alike, because it spends AI credits and live requests even though it writes nothing
* `POST /v1/datasets` accepts `source: "research"`: give it `handles`, a `list_id`, an `agent_id` or a `dataset_id` and it reads those people's recent posts and writes a short outreach brief for each - what they do, what they are building, recent topics, personalization hooks that QUOTE their real posts, and an opener angle. The briefs land as a normal dataset, so `GET /v1/datasets/{id}/rows`, `/export` and `/contacts` read them unchanged. More than 5 profiles run in the background and answer `202`
* `POST /v1/datasets/{id}/outreach-drafts` writes one personalized message per person in a research dataset, following the `format` you supply. **The drafts are text and nothing is sent.** They are stored on the dataset's `message` column and read back with `GET /v1/datasets/{id}/rows`; no endpoint in this API sends a DM, and a person sends them from the SuperX app after reviewing each one. `[name]`, `[first]` and `[handle]` tokens are kept for per-recipient fill-in at send time
* `POST /v1/datasets/{id}/refine` filters a dataset by what each person WROTE against a natural-language criterion, into a NEW dataset; the source is untouched. Rows the classifier cannot judge are KEPT and counted as `unclear`. Only datasets whose rows carry text (repliers, quoters) can be refined this way. Over 100 rows with text it answers `202`
* Costs: lead search is measured (at least 1 credit for a search that reaches X), research is a flat 1 credit per profile actually researched with the rest returned, and drafting and refining are measured. Lead search and research also use one of the plan's daily `lead_search` / `research_profiles` runs; refining counts against the same 10 dataset collections a day a collection does
* `429 ai_action_limited` now carries `scope` and `reset_at`. `scope: "account"` is your plan's own daily cap for the action. `scope: "platform"` is a new platform-wide fair-use ceiling on the actions that read X live, shared by every SuperX account: your own allowance is untouched, so wait for `reset_at` and retry rather than treating it as your quota
**MCP**
* Four new tools: `search_leads`, `research_profiles`, `draft_outreach_dms` and `refine_dataset`. All four need a key with the write scope, because all four spend AI credits. 83 tools in total
**CLI**
* `superx signals:search`, `superx datasets:research` (`--wait`), `superx datasets:outreach-drafts` and `superx datasets:refine` (`--wait`)
## 2026-09-10: Audience lists, live mentions and audience collection
The people around an account are now readable end to end, and collections can be started through the API:
**API**
* `GET /v1/audience/{kind}` reads a page of the account's `followers`, `following`, `repliers` or `reposters` from SuperX's synced snapshot. These four are the system lists in the app's Contacts tab, which `GET /v1/contact-lists/{id}/members` will not serve; that endpoint's `system_list_not_supported` error now points here
* Audience paging is by CURSOR rather than page number: `pagination.next_cursor` goes back as `cursor`, so pages stay stable while new followers arrive mid-walk. There is no `total`; `meta.synced_count` is the size of the whole list, and `meta` also carries the sync `status`, the plan's `backfill_cap` and whether the account is deeper than it. `repliers` and `reposters` are a rolling 90-day window (`meta.window_days`)
* `GET /v1/contact-lists` now reports a real `member_count` on the four system rows instead of `0`
* `GET /v1/engage/mentions` reads the posts @-mentioning the account live, newest first (`sort=top` ranks by engagement), each with the post it replies to and one further level of ancestry. `mention_type` separates a direct reply from any other @-mention, and `include_replied=true` keeps mentions already replied to on X, flagged `replied`. It costs a flat 3 units of the feed bucket and pages by cursor. The app's Mentions tab also hides posts you skipped or blocked there; that is an app preference and is not applied here
* `POST /v1/datasets` collects a post's repliers, quote posters or reposters, a public X list's members, or the account's own posts or replies, into a dataset you can read, export or copy into a contact list. Small collections answer `200` with a `ready` dataset; big ones answer `202` with a `collecting` one, so poll `GET /v1/datasets/{id}` until `status` is `ready`. Nothing matched means `200` with `data: null` and a `note` rather than an empty dataset
* Collections cost one of 10 per account per day, shared with the collections Ask SuperX runs in the app (`429 collection_quota_exceeded`), plus enrichment for the pages they walk, charged before the walk so `X-RateLimit-Remaining` covers work that outlives a `202`. `my_posts` and `my_replies` read your own synced posts and cost no enrichment. One background collection runs per account at a time (`409 collection_in_progress`), and `POST /v1/datasets` accepts an `Idempotency-Key`
* New error codes: 400 `invalid_source`, 409 `profile_not_synced`, 409 `collection_in_progress`, 429 `collection_quota_exceeded`
**MCP**
* Three new tools: `get_audience`, `get_mentions` and `collect_audience` (write scope). `get_contact_list_members` now points at `get_audience` for the system lists
**CLI**
* `superx audience:list `, `superx engage:mentions` and `superx datasets:collect` (with `--wait` to poll a background collection until it is ready)
## 2026-09-09: Live X lookups and media search
Any public post, profile or timeline can now be read live, and the app's cross-platform media index is searchable:
**API**
* `GET /v1/x/posts/{id}` reads one public post as it is right now: full text (never shortened), author, engagement counts, media, link card, and the quoted post one level deep. `include_quotes=true` adds a page of the posts quoting it (up to 20, not exhaustive)
* `GET /v1/x/posts/{id}/replies` returns the best-liked DIRECT replies to a post. It walks up to 3 relevance-ranked pages (about 60 candidates), ranks them by likes and returns the top `limit` (1-20, default 10). A sample of the strongest replies, not every reply and not chronological; to collect everyone who replied, use the audience collections at `GET /v1/datasets`
* `GET /v1/x/users/{handle}` reads one public profile live (bio, location, link, follower/following counts, post count, join date, pinned post id). The `@` is optional. Unlike `GET /v1/contacts/{id}`, which is limited to people you already have a relationship with, this works for any public handle
* `GET /v1/x/users/{handle}/posts` returns one live timeline page (about 20 posts), newest first. Replies are included and carry `in_reply_to_id`, `is_pinned` marks the pinned post, and `exclude_reposts=true` drops reposts (only one page is fetched, so fewer than `limit` can come back after the filter)
* `GET /v1/inspiration/media` searches the cross-platform media index behind the app's Inspiration > Media tab: short-form video and image posts from X, Instagram, YouTube, Threads, Reddit and LinkedIn, with captions, a summary and engagement counts. Omit `q` to browse the newest instead of searching (`meta.mode` says which ran, and only search results carry a `score`). Media file URLs are not exposed through the API: `source_url` opens the original post on its own platform. There is no personalisation here, unlike in the app
* All five are OWNER-scoped and take no `account_id`: nothing about a public lookup is per-X-account
* Costs: the four live lookups spend the tighter enrichment allowance (1 unit each, 3 for replies, 2 for a post with `include_quotes` or a handle SuperX has never seen) and share an allowance of 300 live lookups per account per day with Ask SuperX in the app. Repeat lookups within 15 minutes may be served from a short server-side cache: they still cost enrichment units but do not touch the daily allowance. Media search costs no enrichment and has its own caps (20 burst, 500 fresh searches a day)
* New error codes: 404 `post_not_found` and 429 `lookup_quota_exceeded` (carrying `retry_after`, `limit` and `reset_at`). `user_not_found` now also covers the two handle lookups. The daily allowance fails closed: when SuperX cannot verify your day count the lookup is refused rather than run unmetered
* Across every `/v1` endpoint, each query parameter may appear once: a repeated (`?q=a&q=b`) or bracketed (`?q[a]=1`) parameter now returns `400 invalid_parameter`
**MCP**
* Five new tools (seventy-six total): `lookup_x_post`, `get_x_post_replies`, `lookup_x_user`, `get_x_user_posts` and `search_inspiration_media`. None takes an `account` parameter
* Existing MCP sessions need a reconnect to see the new tools
**CLI**
* `x:post ` (`--quotes`), `x:replies ` (`--limit`), `x:user `, `x:user-posts ` (`--limit`, `--no-reposts`) and `inspiration:media [query]` (`--platforms`, `--time-filter`, `--media-type`, `--content-type`, `--limit`)
## 2026-09-09: Datasets
The audience collections Ask SuperX builds in the app become readable, exportable, and addable to a contact list:
**API**
* `GET /v1/datasets` lists the datasets Ask SuperX built for you: the repliers, quoters or reposters of a post, the members of an X list, your own posts or replies, or a research brief. Datasets belong to you rather than to one X account, so there is no `account_id` here; the account a collection ran as comes back as `x_account_id`. They are kept for 30 days, and expired ones are never listed. `has_people: false` marks an own-content dataset (your posts or replies)
* `GET /v1/datasets/{id}` returns one dataset's status, counts and coverage. Every status answers 200, so this is what you poll while a collection runs: `collecting` carries live `progress`, `failed` carries a `failure_note`, and `ready` carries the coverage sentence and the filters that were applied
* `GET /v1/datasets/{id}/rows` pages the rows exactly as they were collected: the keys in `columns`, plus `user_id` (the X account id as a string) and `avatar` on people datasets. Values are not shortened. Each call parses the whole dataset, so page at a large `limit` rather than looping at a small one
* `GET /v1/datasets/{id}/export?format=csv` returns the dataset as a CSV file rather than the usual `data` envelope, with a `Content-Disposition` filename matching the app download and only the declared `columns` in it. CSV is the only format on the API; XLSX downloads stay in the SuperX app
* `POST /v1/datasets/{id}/contacts` copies the people in a ready dataset into a contact list you created. It costs one write and no enrichment, because the profiles come from the dataset itself, which is why people SuperX has never stored still land in the list. People are deduped by X account id, rows without one are counted in `skipped_without_id`, and re-running is safe: people already in the list come back in `duplicates`
* New error codes: 400 `dataset_has_no_people`, 404 `dataset_not_found`, 409 `dataset_not_ready` (the 409 carries the current `dataset_status`, so a poller can tell "wait" from "wrong id")
* Datasets are created in the SuperX app (Ask) for now. Collecting, refining and researching through the API will come separately
**MCP**
* Four new tools (seventy-one total): `list_datasets`, `get_dataset`, `get_dataset_rows`, `add_dataset_to_contact_list`. The three read tools take no `account` parameter, because a dataset belongs to the key owner rather than to one X account. There is no export tool: the CSV download is REST only
* Existing MCP sessions need a reconnect to see the new tools
**CLI**
* `datasets:list`, `datasets:get `, `datasets:rows `, `datasets:export ` (`--out `, or `--out -` to stream the CSV to stdout) and `datasets:add-to-list --list-id `
## 2026-09-07
Engage feeds, signal agents and article cover styles become writable, posts can be published immediately, the queue can be edited in bulk, and contact detail is limited to your own contacts:
**API**
* `POST /v1/engage/feeds`, `PATCH /v1/engage/feeds/{id}` and `DELETE /v1/engage/feeds/{id}` create, edit and delete the saved Engage feeds that were read-only before. A feed source is keywords (1-5), a public X list (`x_list_id` or `x_list_url`), or one of your contact lists (`list_id`); a create takes exactly one, an update takes at most one and may change the feed's type while keeping its id. A feed created through the API does NOT become the feed the SuperX app has open, by design: the API must not move someone's view while they are working in it. Up to 8 feeds per account (409 `feed_limit_reached`), and deleting the open feed hands the slot to the first remaining feed
* `PATCH /v1/signals/agents/{id}` is no longer status-only: it now edits `name`, `icp_description`, `precision_mode`, `destination_list_id` and `status`, alone or together. A new ICP re-scores only future leads; a `destination_list_id` that is not one of your usable lists returns 404 `list_not_found`
* `POST /v1/signals/agents/{id}/signals` adds one thing for an agent to watch (`keyword_watch`, `profile_watch`, `follower_watch`, `list_watch`) and `DELETE /v1/signals/agents/{id}/signals/{signalId}` removes one. Removing the last signal is allowed: the agent stays, finding nothing, until a signal is added back
* `POST /v1/signals/agents` accepts `signals` alongside `keywords`, so an agent can start with all four watch types (1-5 entries combined, keywords first). The create is a PARTIAL SUCCESS: entries the add path rejects come back in `warnings` (each with its `type`, `target` and a `code`) and the agent is still created from the entries that landed. Only when every entry fails is the agent rolled back
* `POST /v1/signals/leads/{id}/feedback` records `fit`, `not_fit` or `null` on one lead, and `SignalLead` gained `feedback` and `feedback_at`. The path id is the numeric LEAD id from `GET /v1/signals/leads`, not an X user id. The verdict is what the scorer learns from and is mirrored onto the person's row in the agent's destination contact list
* `GET /v1/cover-styles` lists the article cover styles saved in the app, and `POST /v1/articles/{id}/cover` accepts `style_id` to render in one of them. Sending `style_id` and `style_text` together is a 400 rather than a silent precedence, so the request always says which look was rendered; an unknown id returns 404 `cover_style_not_found`
* `POST /v1/scheduled-posts` accepts `scheduled_for: "now"` and publishes to X immediately. Because that cannot be undone, an `Idempotency-Key` is REQUIRED (400 `invalid_parameter` without one), and `title` and `scratchpad` are rejected. A retry that arrives while the first attempt is still publishing returns 409 `idempotency_in_flight` with a `Retry-After`; after that window a retry with the same key replays the original result instead of posting again. The 201 carries `status: "sent"` with `posted_at`, `x_post_id` and `url`, and `scheduled_for: null`. Advanced settings and Auto DM inherit your Default Post Settings exactly as they do for a scheduled post, and Bluesky is never cross-posted
* `POST /v1/scheduled-posts/bulk/retime` moves up to 500 queued posts in ONE transaction (all or none), `POST /v1/scheduled-posts/bulk/auto-retweet` turns Auto Retweet on for up to 100 queued posts that do not already have one, and `POST /v1/scheduled-posts/bulk/delete` deletes up to 100 queued posts and refunds their post quota. All three touch QUEUED posts only: drafts, sent posts and error rows are counted as skipped, so the returned counts can be lower than the number of ids sent. Each costs one write no matter how many posts it touches, and none takes an `Idempotency-Key` because re-running converges
* `GET /v1/replies` page 1 now also lists replies sent from the SuperX app's Engage tab in the last 4 hours, which previously took hours to appear here. Those items carry `metrics_pending: true` with all-zero metrics until X reports them, so page 1 can return slightly more than `limit` items; `has_more` still describes the stored replies only, and later pages and `since`/`until` queries are unchanged
* `ScheduledPost` gained `x_post_id` and `url`, present only on posts that actually went out (status `sent`)
* `GET /v1/contacts/{id}` now returns 404 `contact_not_found` unless the id is one of the account's known contacts: someone who has replied to or reposted its posts, a member of one of its contact lists (manual or system), or a scored signal lead. It is not a general X profile lookup, so an id SuperX holds a cached profile for is still a 404 when the account has no relationship with that person. A lookup endpoint for arbitrary ids will come separately
* Creating a note (`POST /v1/contacts/{id}/notes`) uses the same gate: you can only start a note on a known contact, so any other id returns 404 `contact_not_found`. Reading, editing and deleting notes are NOT gated - they work on any id the account already has a note on, so a note stays reachable if that person later drops out of your contacts, and listing an id with no notes returns an empty array
* Enrichment: resolving an X list or an X handle live costs one unit of the tighter enrichment allowance. That covers a feed create/update with `x_list_id` / `x_list_url`, a `profile_watch` / `follower_watch` / `list_watch` signal add, and an agent create whose `signals` carry any of those three (one unit for the whole create, however many entries). Keyword feeds, contact-list feeds and `keyword_watch` cost none. The `refresh=true` contact enrichment unit is charged only after the contact gate passes, so an id outside your contacts does not spend one
* New error codes: 403 `reauth_required`, 404 `x_list_not_found`, 404 `signal_not_found`, 404 `lead_not_found`, 404 `cover_style_not_found`, 409 `duplicate_signal`, 409 `feed_limit_reached`, 409 `idempotency_in_flight`, 409 `post_already_published`
**MCP**
* Four new post tools: `publish_post`, `bulk_retime_scheduled_posts`, `bulk_enable_auto_retweet`, `bulk_delete_scheduled_posts`. `publish_post` takes a required `idempotency_key` you choose and reuse verbatim on retries; the bulk tools answer with counts and touch queued posts only
* Eight more tools for feeds, signals and cover styles (sixty-seven tools total): `create_engage_feed`, `update_engage_feed`, `delete_engage_feed`, `update_signal_agent`, `add_signal_agent_signal`, `remove_signal_agent_signal`, `set_lead_feedback`, `list_cover_styles`
* `create_signal_agent` gained `signals` (and returns `warnings`), and `generate_article_cover` gained `style_id`; passing `style_id` and `style_text` together is a tool error
* `get_my_replies` merges the same 4 hours of app-sent replies on page 1 of the recent sort, flagged with `metrics_pending`
* `get_contact` and `add_contact_note` follow the same known-contact rule as the API and their descriptions now say so; `list_contact_notes`, `update_contact_note` and `delete_contact_note` work on any id with an existing note. Pass ids from `get_top_contacts`, `get_contact_list_members` or `get_signal_leads`
* The server instructions no longer describe Engage feeds as read-only
* Existing MCP sessions need a reconnect to see the new tools and parameters
**CLI**
* `superx posts:publish` publishes now (`--idempotency-key` required; same content, media and advanced-settings flags as `scheduled:create` minus `--at`/`--title`/`--scratchpad`)
* `superx scheduled:bulk-retime --moves-json`, `superx scheduled:bulk-auto-retweet --ids --auto-retweet ` and `superx scheduled:bulk-delete --ids`
* `superx engage:feeds:create --name` with `--keyword`, `--x-list` or `--list-id`, plus `engage:feeds:update ` and `engage:feeds:delete `
* `superx signals:update-agent `, `superx signals:add-signal --type ...`, `superx signals:remove-signal ` and `superx signals:feedback --fit|--not-fit|--clear`; `signals:create-agent` gained repeatable `--signal "type:target"`
* `superx articles:cover-styles`, and `superx articles:cover --style-id` (not with `--style`)
* `superx contacts:get ` and `superx contacts:notes:add` inherit the same 404; the other `contacts:notes*` commands are unrestricted
## 2026-09-06
Manage the contacts side of SuperX over the API, MCP and the CLI:
**API**
* `GET /v1/contacts/{id}`: one person's stored profile (handle, name, bio, location, website, follower counts, verified status) plus the lists you created that they are in, each with its `member_id`. `refresh=true` refreshes a stale profile from X and counts against the live-contact-enrichment limit; the default read costs one read
* Contact notes: `GET` and `POST /v1/contacts/{id}/notes`, `PATCH` and `DELETE /v1/contacts/{id}/notes/{noteId}`. Notes live inside SuperX and are never posted. A note is attributed to the account it was written as (`created_by`), so an API write carries the account named by `account_id`. A note id from another contact returns 404 `note_not_found`
* Contact lists gained writes: `POST /v1/contact-lists` (create), `PATCH /v1/contact-lists/{id}` (rename), `DELETE /v1/contact-lists/{id}` (delete, 204). List names are not unique, matching the SuperX app. Deleting a list stops any signal agent depositing into it until the agent is repointed in the app. System lists stay read-only (400 `system_list_read_only`)
* `POST /v1/contact-lists/{id}/members/bulk`: add up to 500 people at once by numeric X user id. It costs one write and no enrichment because it does no live lookup: ids SuperX has never seen come back in `not_found` and are not added, so add those one at a time with `POST /v1/contact-lists/{id}/members` and a `handle`. The response carries `added`, `duplicates`, `failed`, `not_found` and `total_in_list_after`. Members are inserted one at a time upstream, so a 502 or 503 can land after some were already added; retrying the same request is safe, because the list dedupes and anything that got in the first time comes back in `duplicates`
* `POST /v1/contact-lists/{id}/members/bulk-delete`: remove up to 500 members at once by member id, returning `deleted` and `total_in_list_after`. Ids that are not in the list are skipped
* New error codes: `contact_not_found` and `note_not_found` (both 404)
**MCP**
* Sixteen new tools (fifty-five tools total): `get_me`, `list_accounts`, `create_tag`, `update_tag`, `delete_tag`, `set_products`, `get_contact`, `list_contact_notes`, `add_contact_note`, `update_contact_note`, `delete_contact_note`, `create_contact_list`, `rename_contact_list`, `delete_contact_list`, `add_contact_list_members`, `remove_contact_list_members`
* `get_me` reports the key's scopes and credit pool, and `list_accounts` returns the ids and handles the `account` parameter accepts, so a model can check what it may do before attempting a write
* `set_products` replaces the WHOLE product list (max 5); use `update_product` to change one product in place
* Tool schemas are a snapshot in an existing session, so reconnect the connector to see the new tools
**CLI**
* `superx contacts:get ` (`--refresh`), `superx contacts:notes `, `superx contacts:notes:add|update|delete`
* `superx lists:create`, `superx lists:rename `, `superx lists:delete `, `superx lists:add-members --x-user-ids a,b,c`, `superx lists:remove-members --member-ids a,b`
* `superx context:products:replace --json '[...]'` for a full product-list replace
## 2026-09-06
See what an AI call costs you, before and after you make it:
**API**
* `GET /v1/me` returns a `credits` block: `remaining`, `pool`, `period` (`month` on paid plans, `day` on trial), `period_end`, and `bonus`. It is `null` only when the pool cannot be read
* Every credit-charging response carries `X-Credits-Remaining` and `X-Credits-Reset` (unix seconds), plus `X-Credits-Charged` where the endpoint knows the final number. `POST /v1/posts/draft` reports all three; `POST /v1/articles/{id}/cover` settles its cost after answering, so it reports remaining and reset
* `429 ai_credits_exhausted` now carries `credits_required`, `credits_remaining` and `reset_at` (unix seconds) alongside the existing code and message, plus a `Retry-After` header. The code is unchanged: nothing to migrate, the fields are additive. Cover generation gains the same fields; its `remaining_day` / `remaining_month` cap counters are untouched
* New `429 ai_action_limited` (with `retry_after`): a per-day count cap per plan on the most expensive AI actions, resetting at midnight UTC. It applies to endpoints arriving in the coming releases; the per-plan numbers are published in [Rate limits](/rate-limits#credits) now so you can size a workload
* Credit and per-day checks fail closed: an unverifiable balance or counter refuses the call instead of running it unmetered
* Documented: the Engage feed-fetch columns and the 100 uploads per key per day media cap now appear in the plan table
**MCP**
* No tool changes. Tools that spend credits sit behind the same pool, so `429 ai_credits_exhausted` on a tool call means the account is out of credits
**CLI**
* `superx status` prints a `credits` block alongside `plan` and `rate_limit`
## 2026-09-05
Write post drafts in your own voice, and inspiration results now link back to the post on X:
**API**
* `POST /v1/posts/draft`: turn a `brief` into 1 to 3 post drafts written in the account's voice. Nothing is scheduled and nothing is stored: you get text back, review and edit it, then send it to `POST /v1/scheduled-posts`
* Every draft copies the SHAPE of a proven post, never its content. Pass one in `mirror` (50 to 1500 characters, for example the text of a post from `GET /v1/inspiration`), or leave `mirror` out and a shape is picked for you, optionally biased with `collection`. Pick a mirror with room for your data: a two-line aphorism squeezes the facts out. `mirrored` on a draft is `null` when it ended up copying no shape
* `voice` is `mine` (default), `creator`, or `hybrid`; the last two need a `creator` handle. The first call naming a new creator returns `409 creator_style_pending` while their style guide is prepared, and the retry a minute later succeeds
* Optional `instructions` (max 500 characters) steer the batch, and `account_id` picks a linked account. Accounts shared with you are read-only
* Costs AI credits per draft, refunded for any draft that fails, and takes roughly 20 to 40 seconds. `Idempotency-Key` is not supported: generation is not idempotent
* New error codes: `mirror_rejected`, `invalid_collection`, `unknown_creator`, `creator_style_unavailable` (400, terminal), `creator_style_pending` (409), `generation_failed` (502). A spent credit pool returns `429 ai_credits_exhausted`, the same code cover generation uses
* `GET /v1/inspiration`: every post carries `url`, the link to the post on X, alongside its `id`
**MCP**
* New `draft_post` tool (thirty-nine tools total): same drafting behavior, and it saves nothing, so follow it with `schedule_post` once the user is happy with the text
* `find_inspiration` posts now carry `id` and `url`
**CLI**
* `superx posts:draft --brief "..."` with `--count`, `--voice`, `--creator`, `--mirror`, `--collection`, `--instructions`, `--account`
* `superx inspiration:search` inherits `url` on every post
## 2026-09-04
Inspiration search now ranks results by relevance:
* `GET /v1/inspiration`: results come back relevance-ranked, strongest matches first and more loosely related posts after, instead of a fresh mix on every call. Weak and promotional matches are filtered out, so a page can return fewer posts than `limit`
* `has_more` no longer requires a full page. It now means more library pages may exist (pages run 1 to 7), so keep paginating while it is true even when a page comes back short
* `sort=relevant` is still the default and is the relevance-ranked order. The other sort values are unchanged
* CLI: `superx inspiration:search` inherits the same ranking, and a page may return fewer than `--limit` posts
* MCP: `find_inspiration` returns relevance-ranked results, strongest first, and may return fewer than `limit`
* Webapp: the Inspiration Posts tab leads with the closest matches to what you searched, with off-topic and promotional posts filtered out
## 2026-07-09
Images on posts:
* `POST /v1/media`: presign an image upload (`filename`, `file_type`, `size`; JPG/PNG/WEBP up to 5MB, GIF up to 15MB). PUT the bytes to the returned `upload_url` within 20 minutes, then attach the `object_key` to posts. Uploads never attached to a post are deleted after 24 hours. Quota: 100 uploads per key per day
* `POST /v1/scheduled-posts` and `PATCH /v1/scheduled-posts/{id}`: `parts[].media` attaches images as `[{ object_key, alt_text? }]`: up to 4 images or exactly 1 GIF per part, `alt_text` up to 1,000 characters (delivered to X at publish time). The attach step verifies the real bytes: size and magic-byte type, not the upload declaration
* PATCH `parts` remains a full replace, now including media: a part sent without `media` drops the images it carried; re-include the current `object_key`s to keep them (they are now visible on all scheduled-post responses)
* New error codes: `invalid_media`, `media_not_uploaded`, `unsupported_media_type`, `media_too_large`, `media_quota_exceeded` (429), `media_not_configured` (503). `media_not_supported` is gone from create/PATCH
* CLI: `superx media:upload `, plus `--media`/`--alt-text` on `scheduled:create`/`scheduled:update` and `--parts-json` for threads with media
* MCP: new `upload_media_from_url` tool (SSRF-hardened server-side fetch; twenty-nine tools total); `schedule_post` and `update_scheduled_post` accept per-part `media`
## 2026-07-08
Signals writes (create, pause, resume, delete):
* `POST /v1/signals/agents`: create a signal agent from the API. `name` and `icp_description` are required; `precision_mode` defaults to `high`. Omit `keywords` and 1-3 watches are auto-suggested from the ICP; omit `destination_list_id` and a contact list named `Leads: ` is created for you (`destination_list_created: true` in the response). The agent starts finding leads over the following minutes and days; there is no synchronous search
* `PATCH /v1/signals/agents/{id}`: status-only lifecycle (`active` | `paused`). Other fields are edited in the SuperX app
* `DELETE /v1/signals/agents/{id}`: delete an agent; its saved leads and contact list stay untouched
* `Idempotency-Key` supported on agent create; plan limits surface as 403 `cap_reached`
* Writes are main account only and need the write scope
* CLI: `superx signals:create-agent`, `signals:pause-agent`, `signals:resume-agent`, `signals:delete-agent`
* MCP: three new tools: `create_signal_agent`, `set_signal_agent_status`, `delete_signal_agent` (twenty-eight tools total)
* Ask SuperX can now propose a signal agent for approval when you ask it to find leads
## 2026-07-08
Signals (read-only):
* `GET /v1/signals/agents`: the account's signal agents, the automated lead finders from the SuperX app, with their status, ICP description, watched signals (profiles, followers, keywords, lists), and deposited-lead counts. An agent's `destination_list_id` joins to `/v1/contact-lists` for the target list
* `GET /v1/signals/leads`: the leads those agents have found, newest first, with the person's profile, `icp_score` and `icp_rationale`, a `deposited` flag with `deposited_at` (whether the lead has been saved to the agent's contact list yet), `discovered_at`, and a `provenance` object describing how the lead was discovered. Filters: `agent_id` (unknown id returns 404 `agent_not_found`), `deposited=true|false`, `since`/`until` on discovery time, pagination (`limit` max 100, default 50)
* The API surface is read-only: agents are created, paused, and edited in the SuperX app
* CLI: `superx signals:agents`, `superx signals:leads`
* MCP: two new tools: `list_signal_agents`, `get_signal_leads` (twenty-five tools total)
* Ask SuperX gains a matching signal-leads tool
## 2026-07-08
Audience replies and contact lists:
* `GET /v1/replies/received`: every stored reply the account has received across all its posts, with the replier's profile, likes, and the replied-to post (`sort=recent|most_liked`, `since`/`until`, pagination)
* Contact lists (the saved people-collections from the SuperX app): `GET /v1/contact-lists` (system lists appear with `is_system` and `kind` but are read-only and index-only), `GET /v1/contact-lists/{id}/members` (manual lists; `q` filter, pagination, 90-day `engaged_count` per member), `POST /v1/contact-lists/{id}/members` (add by `handle` or `x_user_id`; re-adding returns the existing member with `duplicate: true`), `DELETE /v1/contact-lists/{id}/members/{memberId}`
* Member writes are main account only and need the write scope; there is no bulk-add endpoint
* CLI: `superx replies:received`, `superx lists:list/members/add-member/remove-member`
* MCP: five new tools: `get_audience_replies`, `list_contact_lists`, `get_contact_list_members`, `add_contact_list_member`, `remove_contact_list_member` (twenty-three tools total)
* Ask SuperX gains a matching audience-replies tool
## 2026-07-07
X Articles (long-form posts):
* Articles CRUD: `GET/POST /v1/articles`, `GET/PATCH/DELETE /v1/articles/{id}`. Bodies are **markdown in both directions** (headings, lists, blockquotes, bold/italic/strike, links, images by URL, bare X post URLs as embeds); unsupported constructs degrade gracefully and are reported in a `warnings` array
* Lifecycle: `POST /v1/articles/{id}/schedule` (more than 2 minutes ahead; deducts post quota, refunded on unschedule/delete), `POST /v1/articles/{id}/unschedule`, and `POST /v1/articles/{id}/publish` (immediate, irreversible, requires X Premium on the connected account)
* AI covers: `POST /v1/articles/{id}/cover` generates a cover from the article's title and attaches it by default (`attach: false` to skip). Takes 60-100 seconds and spends AI credits against daily and monthly caps; 429 responses carry the remaining counters
* `Idempotency-Key` supported on article create, publish, schedule, and cover generation
* CLI: `superx articles:list/get/create/update/delete/publish/schedule/unschedule/cover`, with markdown bodies from `--file`, `--content`, or piped stdin
* MCP: seven new tools: `list_articles`, `get_article`, `create_article`, `update_article`, `schedule_article`, `publish_article`, `generate_article_cover` (eighteen tools total)
## 2026-07-07
Drafts, editing, and tags:
* `PATCH /v1/scheduled-posts/{id}`: edit a draft or scheduled post. Only the fields you send change; text edits, new times, title/scratchpad, tag replacement, and explicit `status` transitions (`draft` to `scheduled` and back, riding the normal quota deduct/refund). A `scheduled_for` alone never promotes a draft.
* `POST /v1/scheduled-posts` now accepts `title` (max 300 chars), `scratchpad` (max 30,000 chars), and `tags` (up to 20 tag ids); all three appear in the responses and in `GET /v1/scheduled-posts`, which also gains a `tags` filter (comma list, any-of)
* Tags CRUD: `GET/POST /v1/tags`, `PATCH/DELETE /v1/tags/{id}`
* `status=draft` on `GET /v1/scheduled-posts` now includes legacy board drafts (previously hidden internal statuses), reported as `"draft"`
* CLI: `superx scheduled:update`, `superx tags:list/create/update/delete`, `scheduled:create --title --scratchpad --tag`, `scheduled:list --tags`
* MCP: new `list_tags` and `update_scheduled_post` tools (eleven tools total); `schedule_post` accepts `title`, `scratchpad`, and `tags`
## 2026-07-07
Inspiration search:
* `GET /v1/inspiration`: search a library of 50M+ real high-performing posts by topic, with engagement and author-size filters, six sort orders (including `outlier`, which surfaces posts that beat the norm for their author's follower tier), and an `outlier_score` on every result
* CLI: `superx inspiration:search `
* MCP: new `find_inspiration` and `delete_scheduled_post` tools (nine tools total); `schedule_post` now accepts threads up to 25 parts, matching the REST API
## 2026-07-06
CLI and agent skill:
* `superx-cli` on npm: the `superx` binary, a command-line client for the whole API (posts, analytics, contacts, scheduling) with clean JSON output. See [CLI & agent skill](/cli).
* `superx-agent` skill for Claude Code and compatible agents: `npx skills add superx-so/superx-agent`. Includes a growth playbook the agent follows when creating drafts.
## 2026-07-06
Initial release of the SuperX public API v1:
* API keys with read/write scopes, managed from Account > API / MCP / CLI in the SuperX app
* Identity: `GET /v1/me`, `GET /v1/accounts`
* Content: `GET /v1/posts`, `GET /v1/replies`
* Analytics: `GET /v1/posts/analytics`
* Audience: `GET /v1/contacts`, `GET /v1/contacts/{id}/replies`
* Scheduling: `GET /v1/scheduled-posts`, `POST /v1/scheduled-posts` (with `Idempotency-Key` support), `DELETE /v1/scheduled-posts/{id}`
* Machine-readable quickstart at `GET /v1/docs`