Create a content
Creates a new content in `draft` status by default. You must provide at least a `title` and `type` (currently only `"post"` is supported). The `slug` is auto-generated from the title if not provided. If a slug collision occurs, a numeric suffix is appended (e.g., `my-post-2`). Submit the body as markdown via `bodyMarkdown`. The API converts it to TipTap JSON internally. Alternatively, submit raw TipTap JSON via `body` for advanced formatting control.
/contentshttps://api.lynkow.com/v1Request bodyrequired
bodyobjectRich text content as TipTap JSON
metaobjectAdditional metadata
slugstringrequiredRequired. URL-friendly identifier, unique per site and locale. 1-500 characters
typeenumrequiredRequired. Resource type. One of: post
One of:
posttitlestringrequiredRequired. Display title. 1-500 characters
localestringBCP 47 locale code (e.g. "en", "fr")
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
translationGroupIdstringTranslation group UUID (links translations across locales)