---
title: "Schedule a story"
method: POST
path: "/v1/stories/{storyId}/schedule"
tags: ["Stories"]
---

# Schedule a story

`POST /v1/stories/{storyId}/schedule`

## Request

- Base URL: `https://www.postquick.ai/api`
- URL: `https://www.postquick.ai/api/v1/stories/{storyId}/schedule`
- Auth: HTTP bearer

Schedule a saved Story, including new destinations for an unchanged already-published story using separate delivery jobs (202). Poll getStory and getCalendar. The /api/cron/publish-scheduled handler picks it up at or after scheduledFor.

## Path parameters

- `storyId` string, required

## Headers

- `Idempotency-Key` string: Reuse the same key and settings after a lost response. Required by remote connectors.

## Request body

- object
  - `scheduledFor` string, date-time, required: ISO timestamp in the future.
  - `platforms` string[], required
  - `tiktokSettings` object
  - `facebookTarget` object: Facebook page publishing target
    - `pageId` string, required
    - `pageName` string

## Response `200`

Scheduled.

- object
  - `success` true, required
  - `data` object, required
    - `story` object, required: A Story record — short-lived (24h) content for Instagram, Facebook, or TikTok
      - `id` string, required
      - `app_id` string, required
      - `story_type` 'image' | 'video', required: Story media type
      - `image_url` string, nullable, required
      - `video_url` string, nullable, required
      - `thumbnail_url` string, nullable, required
      - `duration` number, nullable, required
      - `aspect_ratio` string, nullable, required
      - `caption` string, nullable, required
      - `platforms` string[], required
      - `posted_platforms` string[], required
      - `status` 'pending' | 'draft' | 'scheduled' | 'processing' | 'posted' | 'published' | 'partial' | 'failed', required: Post lifecycle status. `partial` indicates at least one targeted platform succeeded and at least one failed — check `platform_errors` for the per-platform breakdown.
      - `scheduled_for` string, date-time, nullable, required
      - `posted_at` string, date-time, nullable, required
      - `expires_at` string, date-time, nullable, required
      - `error_message` string, nullable, required
      - `platform_errors` object, nullable, required: Per-platform error messages keyed by platform name. Populated when `status` is `partial` or `failed`.
      - `platform_post_ids` object, nullable, required
      - `source_post_id` string, nullable, required
      - `source_video_id` string, nullable, required
      - `facebook_target` object, nullable, required: Facebook page publishing target
        - `pageId` string, required
        - `pageName` string
      - `created_at` string, date-time
      - `updated_at` string, date-time

## Other responses

- `202`: Published content: separate delivery accepted without changing existing receipts.
- `409`: Content is processing or changed concurrently; refresh before scheduling.

---

[API](https://skmtc.dev/postquick/apis/postquickai-api.md) · [All operations](https://skmtc.dev/postquick/apis/postquickai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postquick/apis/postquickai-api/revisions/d9bc2bcf3042?raw)
