logo
Schedulin Developers

For AI agents: a documentation index is available at /llms.txt. Every guide and example is also available as markdown by adding .md to its URL.

Create a text post

Publish a post right away with action: "now". Only caption and socialAccountId are required — leave out media for a text-only post on platforms that allow it (X, LinkedIn, Threads, Bluesky, Facebook, and others; Instagram, TikTok, Pinterest, and YouTube need media).

curl -X POST https://api.schedulin.app/v0/posts \
  -H "x-api-key: $SCHEDULIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "socialAccountId": "acc_123",
    "caption": "Shipping something new today 🚀",
    "action": "now"
  }'
import { SchedulinClient } from "@schedulin/sdk";

const client = new SchedulinClient({ apiKey: process.env.SCHEDULIN_API_KEY! });

await client.posts.create({
  socialAccountId: "acc_123",
  caption: "Shipping something new today 🚀",
  action: "now",
});
import os

from schedulin import Schedulin

client = Schedulin(api_key=os.environ["SCHEDULIN_API_KEY"])

client.posts.create(
    social_account_id="acc_123",
    caption="Shipping something new today 🚀",
    action="now",
)
TIP
Publishing is asynchronous: the post is created with status and moves to or . Poll or subscribe to the and .