Is there a mapping of the template types to actual template type names?

mikedrizzo1
Contributor

Is there a mapping of the template types to actual template type names that we can leverage to share with our AuditHub users that a "2" = "Email" and a "23"="page" (example, not sure if that's right).

 

When we're asking for the "template type" the API returns a number such as "2" or "20" - wondering if anyone has created a table that maps the number with the actual type i.e. 2 = "HTML" 20 = "CSS" -- something like that.

0 Upvotes
6 Replies 6
dennisedson
Community Manager

Hey @mikedrizzo1 

Are you talking about the category id?

You can find those here 

Just so we are clear, what endpoint are you calling?

Create_a_new_Template___CMS_Templates.png

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes
mikedrizzo1
Contributor

Yes, that's the endpoint we're using....

 

Honestly, that looked promising but for example in our test instance, we have template types of ID 24 and 25 which don't map to anything. Are there different "templates" in HubSpot? So far in the API (and docs) HubSpot only provides one endpoint for templates which is the one that you sent.

0 Upvotes
dennisedson
Community Manager

Just spoke with the team and this is not comprehensive.  I am adding a task to get it updated.  Stay tuned

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes
mikedrizzo1
Contributor

Fantastic! Thank you so much

mikedrizzo1
Contributor

Any more news here?

dennisedson
Community Manager

Just took a look and I see that it is still in  the queue.  I will see if I can push to get this done quicker 😀

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes