メインコンテンツへスキップ
POST
/
content
/
api
/
v2
/
blog-posts
/
{blog_post_id}
/
publish-action
Publish, schedule or unpublish a blog post
curl --request POST \
  --url https://api.hubapi.com/content/api/v2/blog-posts/{blog_post_id}/publish-action \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "schedule-publish"
}
'

パスパラメータ

blog_post_id
integer<int64>
必須

Unique identifier for a particular blog post

ボディ

application/json
action
enum<string>
必須

Action to perform: 'schedule-publish' sets up the content for publishing at the publish_date already set on the post, 'cancel-publish' cancels a previously scheduled blog post publish

利用可能なオプション:
schedule-publish,
cancel-publish

レスポンス

Publish action completed

Last modified on April 13, 2026