Creating Pages

Learn to create and publish a landing page for your website using the HubSpot Pages API.

Create a landing page

When creating a custom website or blog, an eye-catching landing page is a huge asset to drawing traffic. Using the Pages API, we can quickly create new landing pages using custom or default templates. By sending a POST request to the landing pages endpoint, we can automate the process of creating a new page.

The base URL of the landing pages endpoint is:

https://api.hubspot.com/cms/v3/pages/landing-pages

To make a successful POST request to this endpoint, our application must have the content scope.

Request parameters

Apart from a couple of required body parameters, this endpoint also accepts some optional body parameters. The table below discusses these parameters: ...