Pular para o conteúdo principal
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"
}
'

Parâmetros de caminho

blog_post_id
integer<int64>
obrigatório

Unique identifier for a particular blog post

Corpo

application/json
action
enum<string>
obrigatório

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

Opções disponíveis:
schedule-publish,
cancel-publish

Resposta

Publish action completed

Last modified on April 13, 2026