CMS

Update a CMS post

Update an existing CMS post. Only provided fields are updated.

put/cms/posts/{id}

Request

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

Path parameters

idstring uuid required

Post ID

Request body

titlestring
contentstring
slugstring
type'blog_post' | 'page'
excerptstring
featured_imagestring uri
seo_titlestring
seo_descriptionstring
focus_keywordstring
canonical_urlstring uri
metaobject
related_post_idsstring[]

Ordered curated related-post ids (max 3). Every id must be a PUBLISHED blog post on the same site as this post; the list is deduplicated and the post's own id is dropped. More than 3 ids is rejected with a 400. On update, the array REPLACES the existing set; pass [] to clear. Failures to apply are returned as warnings inside data, not an error.

Response

Post updated

Example response

{
  "data": {
    "schema_markup": {
      "@context": "https://schema.org",
      "@type": "BlogPosting",
      "headline": "How to Optimize Content for SEO",
      "description": "A comprehensive guide to on-page SEO optimization.",
      "author": {
        "@type": "Person",
        "name": "Jane Smith",
        "url": "https://example.com/jane"
      },
      "publisher": {
        "@type": "Organization",
        "name": "Acme Inc.",
        "logo": {
          "@type": "ImageObject",
          "url": "https://example.com/logo.png"
        }
      },
      "datePublished": "2026-04-16",
      "dateModified": "2026-04-16",
      "image": "https://example.com/images/seo-guide.jpg"
    }
  }
}

Changes

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