/📘 API Reference/Create Post

Create Post

Publish immediately or schedule for the future across any combination of connected accounts.

Endpoint

POST/post

Request body

FieldTypeDescription
account_idsstring[]One or more account IDs (required).
textstringPost caption or body text.
scheduled_atISO 8601Future publish time. Omit to publish now.
media_idsstring[]Media library IDs to attach.
timezonestringIANA timezone. Defaults to workspace setting.

Example

curl -X POST https://api.plansched.com/developers/v1/post \
  -H "Authorization: Bearer $PLANSCHED_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account_ids": ["acc_1a2b3c", "acc_4d5e6f"],
    "text": "Big launch today 🚀",
    "media_ids": ["med_9x8y7z"],
    "scheduled_at": "2026-08-01T15:30:00Z"
  }'

Response

{
  "id": "post_abc123",
  "status": "scheduled",
  "scheduled_at": "2026-08-01T15:30:00Z",
  "account_ids": ["acc_1a2b3c", "acc_4d5e6f"],
  "created_at": "2026-07-21T10:04:12Z"
}

On success, you'll get a post.scheduled webhook, then post.published (or post.failed) when the scheduled time is reached.

Next
API Reference → List Posts
Continue