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.
/contents/{id}https://api.lynkow.com/v1Path parameters
idstringrequiredUnique identifier
Request bodyrequired
bodyobjectRich text content as TipTap JSON
metaobjectAdditional metadata
slugstringURL-friendly identifier, unique per site and locale. 1-500 characters
typeenumResource type. One of: post
One of:
posttitlestringDisplay title. 1-500 characters
statusenumOne of: draft, published, archived, scheduled
One of:
draftpublishedarchivedscheduledtagIdsarray<string>Array of strings
excerptstringShort summary for previews
ogImagestringOpen Graph image URL for social sharing. Max 1000 characters
keywordsstringComma-separated SEO keywords. Max 500 characters
authorUrlunionmetaTitlestringCustom meta title for SEO. Max 255 characters
authorNameunioncustomDataunionCustom fields data (structured content)
categoryIdsarray<string>Min 1 character. Array of strings
faqSettingsobjectFAQ detection and JSON-LD settings
disabledIdsarray<string>
jsonLdGrapharray<object>Max 50 characters. Array of objects
idstringdataanyrequiredtypestringrequiredsourceenumOne of:
presetcustom
scheduledAtstringScheduled publication datetime (ISO 8601)
bodyMarkdownstringContent as Markdown (converted to TipTap JSON on save)
canonicalUrlstringCanonical URL override. Max 1000 characters
displayOrdernumberNumber
featuredImagestringFeatured image URL
metaDescriptionstringMeta description for search engines. Max 500 characters
jsonLdExclusionsarray<string>Max 50 characters. Array of strings