Skip to main content
POST
/
content
/
api
/
v2
/
pages
Create a new page
curl --request POST \
  --url https://api.hubapi.com/content/api/v2/pages \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "My API Page",
  "template_path": "hubspot_default/landing_page/basic_with_form/2_col_form_left.html"
}
'
{}

Body

application/json
name
string

The internal name of the page

slug
string

The path of the URL on which the page will live

subcategory
string

Set to 'landing_page' for landing pages, or 'site_page' for site pages

Response

201 - application/json

Successfully created

The response is of type object.

Last modified on December 12, 2025