BizKitHub
DocsAPI ReferencePost/bff/post/save
postPostAdmin BFF

/bff/post/save

Saves changes to an existing post including title, content, visibility, category, authors, and publish date. The content is saved for the specified locale.

PostpostBffPostSave

Parameters

JSON body

Request body

application/json
localestringRequired

Locale code for the content being saved (e.g. "cs", "en").

idstringRequired

Post external ID.

titlestringRequired

Post title.

contentstringRequired

Post content (HTML).

perexstringOptional

Short summary/teaser of the post.

metaTitlestringOptional

SEO for the locale. Empty string clears it. Omit to leave unchanged.</p>

metaDescriptionstringOptional

SEO for the locale. Empty string clears it. Omit to leave unchanged.

visibilitystringRequired

Post visibility level: public, private, unlisted, or subscribe.

mainCategoryIdstringOptional

External ID of the main category to assign.

authorIdsstring[]Required

Ordered list of author external IDs (content__author, see /bff/post-author/list). First is the main author.

content__author.external_id.

publishedDatestringOptional

ISO date string for the publish date. Omit or null to leave unpublished.

Response schema

1 status code documented

200Success

This response returns no JSON body.

Response example

application/json
{
  "success": true
}

Request example

POST /bff/post/save

post
curl -X POST "https://api.bizkithub.com/bff/post/save" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "locale": "example_locale",
  "id": "example_id",
  "title": "example_title",
  "content": "example_content",
  "perex": "example_perex",
  "metaTitle": "example_metaTitle",
  "metaDescription": "example_metaDescription",
  "visibility": "example_visibility",
  "mainCategoryId": "example_mainCategoryId",
  "authorIds": [
    "string"
  ],
  "publishedDate": "example_publishedDate"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key