Twitter / X Scheduling API

Schedule Twitter/X posts through one simple API. Queue tweets and thread chains for a future instant with scheduledAt in UTC and chained follow-up replies.

Built for people who connect their own channels

Who schedules on, X via API?

Vibe coders

Connect your channels in OpenQuok Cloud. Complete OAuth in the dashboard. Then set scheduledAt with curl, the Node SDK, MCP, or CLI. UTC timestamps stay predictable in JSON. Schedule to X through the same request shape.

CLI and SDK users

Queue publish times in one REST call. OpenQuok delivers on the worker. You do not run cron per platform. Channel and post caps on your plan still apply. Schedule to X through the same request shape.

Agent operators

Ask your agent to schedule into your workspace. It uses the accounts you connected. It does not onboard other people’s customers onto your token. Schedule to X through the same request shape.

Three steps

Add X scheduling,to your product in three steps

Connect X once, then schedule posts and track delivery through the same API.

New to OpenQuok? Read the getting started guide

Payload preview

Sample channels

Sample channels

Endpoint

POST /api/v1/public/posts

JSON payload
{ "scheduledAt": "2026-05-14T10:00:00.000Z", "status": "scheduled", "body": "Launch tweet from the public API.", "integrationIds": [ "<integration-id>" ] }

Free payload wizard

Test your social media scheduling API payload before you ship code

Compose a scheduled post with sample channels in your browser. Set publish time, document carousel names, follow-up comments, and optional repeat cadence, then copy the JSON body. Copy JSON is free — no account required. Scheduling and file uploads need a workspace.

Explore request and response examples by format

Static examples mirror shipped OpenQuok public API payloads and success responses.

Schedule a tweet on X. Set scheduledAt to an ISO-8601 UTC timestamp.

Request

JSON body
{ "scheduledAt": "2026-05-14T10:00:00.000Z", "status": "scheduled", "body": "Launch tweet from the public API.", "integrationIds": [ "<integration-id>" ] }

Response

JSON body
{ "success": true, "data": { "postGroup": "9a0a1b2c-3d4e-4f5a-9b8c-aa11bb22cc33", "posts": [ { "id": "5b3c1d2e-9a3f-4e6b-bb12-2c0a5f1a90a1", "state": "QUEUE", "publishDate": "2026-05-14T10:00:00.000Z", "organizationId": "c1d8a3f4-1234-4abc-bf12-1234567890ab", "integrationId": "1f9a4f3a-3b2c-4f4a-9d8e-7a3f6b1c8e22", "content": "Launch tweet from the public API.", "delay": 0, "postGroup": "9a0a1b2c-3d4e-4f5a-9b8c-aa11bb22cc33", "title": null, "description": null, "parentPostId": null, "releaseId": null, "releaseUrl": null, "settings": null, "image": null, "intervalInDays": null, "error": null, "deletedAt": null, "createdByUserId": null, "createdAt": "2026-05-10T09:00:00.000Z", "updatedAt": "2026-05-10T09:00:00.000Z" } ] } }

Node SDK

TypeScript SDKfor Node.js backendstyped REST calls

Install @openquok/node-sdk in your Next.js or TypeScript backend. Call post() to schedule on X with the same JSON you send to POST /public/posts. scheduledAt, repeatInterval, and provider settings stay typed.

MCP server

MCP toolsfor Cursor and Claude Codesame public API

Connect your MCP client with an opo_ token. Schedule X posts from chat with schedulePostTool and integrationList. Agents use the same REST API as curl and the SDK.

OAuth2 for apps

OAuth2 appsuser consent workspace tokens

Register your app under Developers → Apps. Users approve access to their workspace, then your app calls the public API for X scheduling without pasted workspace keys.

Pricing

Transparent pricingfor X scheduling API

Every paid plan includes Public API access, MCP tools, and OAuth apps per workspace. Schedule on X via REST, Node SDK, or MCP — start with a 7-day free trial, no credit card required.

Solo

$29 / mo

Prototype X scheduling from curl, SDK, or MCP before you ship to customers.


Features

  • 1 agent workspace
  • Total 15 channels
  • 500 posts per month
  • Unlimited AI Writer (experimental)
  • Unlimited AI Summarizer (experimental)
  • Public API access
  • 1 OAuth app
  • 1 MCP server (same OAuth connection)
  • Total 5.0 GB cloud storage
  • Multi-channel publishing
  • Agent integrations
7-day free trial — no credit card required to start

Self-host for $0

OpenQuok charges no software fee when you run it on your own infrastructure. You still pay for servers, Supabase, and bandwidth.

Hosted cloud Docker Compose Cloud production stack Self-hosting overview

API examples FAQ

X Scheduling API,answered

Connect X, build a valid POST /public/posts payload, and publish from your app or agent.

Discord Support