Content

Publish content to CMS

Publish content to a connected CMS platform (Frase CMS, WordPress, Webflow, or Sanity). The content must exist and the CMS must be connected to the specified site.

post/content/{id}/publish

Request

  • Base URL: https://next.frase.io/api/v1
  • URL: https://next.frase.io/api/v1/content/{id}/publish
  • Auth: one of:
    • API key in header X-API-KEY
    • HTTP bearer

Path parameters

idstring uuid required

Content ID

Request body

destination'frase_cms' | 'wordpress' | 'webflow' | 'sanity' required

Target CMS platform

site_idstring uuid required

Site ID with the CMS connection

status'publish' | 'draft'

Publish status. DEFAULT IS "publish" (goes live) - pass "draft" to save without publishing. Cannot be combined with scheduled_at (400): the server schedules a LIVE publish whenever scheduled_at is set.

scheduled_atstring date-time

UTC (Z-suffixed) ISO 8601 datetime. Offset forms (+02:00) are rejected (400).

forceboolean

Publish even if the content has rule warnings (rule ERRORS still block).

Response

Content published successfully

Changes

No recorded changes to this operation across all 1 revision of this API.