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

# Publish a story

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

## Request

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

With Idempotency-Key, atomically save a durable publish request and return its acceptance. The same key and settings return the original acceptance; changed settings return 409. Poll getStory for platform results. Accepted does not mean posted. Without the header, retain the legacy dispatch behavior. Dispatch a Story for immediate publishing to Instagram, Facebook, and/or TikTok. Returns 202 — the publish job runs in the background. Poll GET /v1/stories/{storyId} for final status.

## Path parameters

- `storyId` string, required

## Headers

- `Idempotency-Key` string: Use one key per approved publish. Repeat the same key and settings after a lost response; never make a new key for an uncertain result.

## Request body

- object
  - `platforms` string[], required
  - `tiktokSettings` object
  - `facebookTarget` object: Facebook page publishing target
    - `pageId` string, required
    - `pageName` string

## Response `202`

Publish initiated.

- object
  - `success` true, required
  - `data` union, required
    - object
      - `jobId` string, uuid, required
      - `contentId` string, uuid, required
      - `status` 'accepted', required
      - `platforms` string[], required
      - `message` string, required
    - object
      - `storyId` string, required
      - `status` 'processing', required
      - `message` string, required
      - `platforms` string[], required

## Other responses

- `409`: Conflicting key settings, changed content, or an active/uncertain publish.
- `503`: Publish acceptance could not be confirmed. Repeat the same key and settings; do not resend with a new key.

---

[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)
