Automate
Choose the SDK, HTTP API, CLI, or n8n for an integration.
Choose the interface for your integration. Each uses OpenPost's workspace permissions, provider checks, and publishing jobs.
| Interface | Use it for |
|---|---|
| TypeScript SDK | JavaScript or TypeScript on Node.js, Bun, or Workers |
| HTTP API | Other languages or raw HTTP requests |
| CLI | Shell commands, scripts, and CI jobs |
| n8n | Visual workflows with timers, webhooks, or other nodes |
For automation in OpenPost, use Workflows. For an assistant operating your account, use AI assistants.
Start by listing the workspaces your credentials can access. Then create an unpublished draft and inspect its accounts, text, media, and settings before adding scheduling or publishing.
Before running unattended work, read Handle SDK jobs, conflicts, and errors, Handle API revisions, retries, and jobs, and Handle n8n retries and failures. They explain revisions, safe retries, and how to check each destination after a background job. The API reference lists the HTTP operations and schemas.