Update a content

Updates an existing content. Only the fields you include in the request body are modified - omitted fields remain unchanged. Updating a published content does **not** unpublish it. To change status, use the dedicated publish/archive endpoints.

Required permissions
contents.update
PUT/contents/{id}
Base URLhttps://api.lynkow.com/v1

Path parameters

id
string
required

Unique identifier

Request body
required

  • body
    object

    Rich text content as TipTap JSON

    • meta
      object

      Additional metadata

      • slug
        string

        URL-friendly identifier, unique per site and locale. 1-500 characters

      • type
        enum

        Resource type. One of: post

        One of: post

      • title
        string

        Display title. 1-500 characters

      • status
        enum

        One of: draft, published, archived, scheduled

        One of: draftpublishedarchivedscheduled

      • tagIds
        array<string>

        Array of strings

      • excerpt
        string

        Short summary for previews

      • ogImage
        string

        Open Graph image URL for social sharing. Max 1000 characters

      • keywords
        string

        Comma-separated SEO keywords. Max 500 characters

      • authorUrl
        union

        Author profile or website URL

      • metaTitle
        string

        Custom meta title for SEO. Max 255 characters

      • authorName
        union

        Display name of the author

      • customData
        union

        Custom fields data (structured content)

      • categoryIds
        array<string>

        Min 1 character. Array of strings

      • faqSettings
        object

        FAQ detection and JSON-LD settings

        • disabledIds
          array<string>
      • jsonLdGraph
        array<object>

        Max 50 characters. Array of objects

        • id
          string
        • data
          any
          required
        • type
          string
          required
        • source
          enum

          One of: presetcustom

      • scheduledAt
        string

        Scheduled publication datetime (ISO 8601)

      • bodyMarkdown
        string

        Content as Markdown (converted to TipTap JSON on save)

      • canonicalUrl
        string

        Canonical URL override. Max 1000 characters

      • displayOrder
        number

        Number

      • featuredImage
        string

        Featured image URL

      • metaDescription
        string

        Meta description for search engines. Max 500 characters

      • jsonLdExclusions
        array<string>

        Max 50 characters. Array of strings

      Feedback

      Was this page helpful?