Create a Signup Page

Follow step-by-step instructions to create a template and a landing page and finally publish it using HubSpot APIs.

In this lesson, we will create a basic sign-up page that asks for users’ credentials using the various APIs available in HubSpot.

To create a simple sign-up page using HubSpot APIs, we need to go through the following steps:

  1. Create a template for a sign-up page.

  2. Create a landing page using the template created.

  3. Publish the landing page.

Note: If your access token has expired, go to the Refreshing Tokens lesson in the Appendix to retrieve a new token.

Create a template

We will use the CMS Template API to create a sign-up page template. In the following code, we have given an HTML file to create a sign-up page. We will pass it as source to the templates endpoint.

Get hands-on with 1200+ tech skills courses.