cURL
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" } '
{}
Create a new page.
Scope requirements
The internal name of the page
The path of the URL on which the page will live
Set to 'landing_page' for landing pages, or 'site_page' for site pages
Successfully created
The response is of type object.
object
Was this page helpful?