Parameters
2 query
Query parameters
· 2idstringRequiredPost external ID.
Example
a1b2c3d4-e5f6-7890imageIdstringRequiredBlob token of the image to set as main.
Example
abc123def456Sets the specified image as the main/featured image for the post. The main image is used as the post thumbnail in lists and social sharing.
2 query
idstringRequiredPost external ID.
a1b2c3d4-e5f6-7890imageIdstringRequiredBlob token of the image to set as main.
abc123def4561 status code documented
successbooleanRequiredWhether the main image was updated.
{
"success": false
}GET /bff/post/post-image-mark-main
curl -X GET "https://api.bizkithub.com/bff/post/post-image-mark-main?id=a1b2c3d4-e5f6-7890&imageId=abc123def456" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.