Search⌘ K
AI Features

Getting Templates

Explore how to get all templates created in your HubSpot CMS account and fetch individual templates by ID using the Templates API. Understand request parameters, API endpoints, and response fields to manage templates efficiently.

Get all templates

Users can create multiple templates on the Hubspot CMS. By sending a GET request to the list templates endpoint, we can retrieve a list of all templates that have been created under our account.

The base URL for this endpoint is as follows:

https://api.hubspot.com/content/api/v2/templates

Request parameters

This endpoint doesn't require any request parameters. However, we can provide additional query parameters to filter our results. The following table provides ...