API reference
One API, explicit execution boundaries.
Authentication
Public data uses an X-API-Key or Bearer token with data.read. Account routes require account.read or account.write. Dashboard mutations also require the CSRF header.
curl https://api.threadquery.com/v1/users/x -H "X-API-Key: $THREADQUERY_API_KEY"Endpoints
GET
/v1/tweets/searchSearch public posts through the entitled read pool.
5 creditsGET
/v1/tweets/{tweet_id}Retrieve one normalized public post.
1 creditGET
/v1/users/{username}Retrieve one normalized public profile.
2 creditsPOST
/v1/account-pairingCreate a short-lived one-time pairing code.
account.writePOST
/v1/accounts/{account_id}/postsCreate one post through the named customer account.
Idempotency-KeyPOST
/v1/accounts/{account_id}/posts/{post_id}/repliesCreate one reply through the named customer account.
Idempotency-KeyDELETE
/v1/accounts/{account_id}/posts/{post_id}Delete a post owned by the named customer account.
Idempotency-KeyConnected accounts
Run uv run signalkite-connect pair after generating a code in the dashboard. Cookies and proxy credentials never appear in API responses.
Error contract
{ "error": { "code": 503, "message": "The X read worker pool is temporarily unavailable" } }Ambiguous writes are categorized and never retried automatically.