/bff/newsroom/draft/{draftId}/publish-as-post
Materialises a ready draft into a content__post record using the standard addPost flow. By default the post is created as "unlisted" so the editor can review before going public.
NewsroompostBffNewsroomDraftByDraftIdPublish-as-post
Parameters
1 path · 2 body
Path · 1
draftIdstringRequiredExternal ID of the draft.
Body · 2
visibilitystringpublic | private | unlisted | subscribe (default unlisted).
mainCategorystringExternal ID of the post category (defaults to first active).
Request
POST /bff/newsroom/draft/{draftId}/publish-as-post
curl -X POST "https://api.bizkithub.com/bff/newsroom/draft/example_draftId/publish-as-post" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"visibility": "example_visibility",
"mainCategory": "example_mainCategory"
}'Response
JSON payload
{
"success": false,
"postId": 0,
"postExternalId": "example_postExternalId"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.