You're among the first to explore our new HubSpot developer docs. Dive in and share your feedback here.
curl --request POST \
--url https://api.hubapi.com/content/api/v2/blog-posts/{blog_post_id}/clone \
--header 'Content-Type: application/json' \
--data '{
"name": "New Page Name"
}'
{
"id": 123,
"portal_id": 123,
"name": "<string>",
"html_title": "<string>",
"slug": "<string>",
"content_group_id": 123,
"blog_author_id": 123,
"post_body": "<string>",
"post_summary": "<string>",
"meta_description": "<string>",
"featured_image": "<string>",
"head_html": "<string>",
"footer_html": "<string>",
"campaign": "<string>",
"campaign_name": "<string>",
"state": "DRAFT",
"publish_date": 123,
"publish_immediately": true,
"created": 123,
"updated": 123,
"archived_at": 123,
"is_draft": true,
"url": "<string>",
"published_url": "<string>",
"topic_ids": [
123
],
"keywords": [
{}
],
"use_featured_image": true,
"widgets": {}
}
Clones an existing blog post.
curl --request POST \
--url https://api.hubapi.com/content/api/v2/blog-posts/{blog_post_id}/clone \
--header 'Content-Type: application/json' \
--data '{
"name": "New Page Name"
}'
{
"id": 123,
"portal_id": 123,
"name": "<string>",
"html_title": "<string>",
"slug": "<string>",
"content_group_id": 123,
"blog_author_id": 123,
"post_body": "<string>",
"post_summary": "<string>",
"meta_description": "<string>",
"featured_image": "<string>",
"head_html": "<string>",
"footer_html": "<string>",
"campaign": "<string>",
"campaign_name": "<string>",
"state": "DRAFT",
"publish_date": 123,
"publish_immediately": true,
"created": 123,
"updated": 123,
"archived_at": 123,
"is_draft": true,
"url": "<string>",
"published_url": "<string>",
"topic_ids": [
123
],
"keywords": [
{}
],
"use_featured_image": true,
"widgets": {}
}
Unique identifier for a particular blog post
Blog post cloned
The response is of type object
.
Was this page helpful?