# Get email templates from API

**URL:** <https://community.hubspot.com/t/get-email-templates-from-api/73705>\
**Category:** APIs & Integrations\
**Created:** [January 25, 2023, 1:24pm UTC](https://community.hubspot.com/t/get-email-templates-from-api/73705 "2023-01-25T13:24:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmaddiona](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mmaddiona/32/195400_2.png) [@mmaddiona](https://community.hubspot.com/u/mmaddiona)\
**Post date:** [January 25, 2023, 1:24pm UTC](https://community.hubspot.com/t/get-email-templates-from-api/73705/1 "2023-01-25T13:24:36Z")

</div>

I have one email template in my Hubspot Developer Subscription, but if I try to list the templates from the API I don’t get results.

This is the call (take from here [List Templates | CMS Templates (hubspot.com)](https://legacydocs.hubspot.com/docs/methods/templates/get_templates) 😞

[https://api.hubapi.com/content/api/v2/templates](https://api.hubapi.com/content/api/v2/templates)  
this is the result:

 ![mmaddiona_0-1674653058049.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/7/0711a687b26b260a6280fa2f06c9560f1ef45ec4.png)

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 26, 2023, 12:28am UTC](https://community.hubspot.com/t/get-email-templates-from-api/73705/2 "2023-01-26T00:28:47Z")

</div>

Hi, @mmaddiona 👋 It’s hard to say without more details.

I ran a quick test and received a successful response. Here’s what I did:

- Spun up a fresh app test account

 ![CleanShot 2023-01-25 at 17.21.24.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/4/451e960f0ca76f3f5ab417342e79f205dc891268.png)

- Created a new Private app with the content scope added

 ![CleanShot 2023-01-25 at 17.21.42.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/2/0219d978a09101378cb82a140e8562b45849a7da.png)

- Created a dummy template in the Design Manager

 ![CleanShot 2023-01-25 at 17.22.23.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/f/3f67626e5c713a868aa044be32d426dfb05e14d6.png)

- Used the endpoint you linked GET [http://api.hubapi.com/content/api/v2/templates](http://api.hubapi.com/content/api/v2/templates)

- Response

I hope this helps get you moving forward.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![mmaddiona](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mmaddiona/32/195400_2.png) [@mmaddiona](https://community.hubspot.com/u/mmaddiona)\
**Post date:** [January 26, 2023, 6:49am UTC](https://community.hubspot.com/t/get-email-templates-from-api/73705/3 "2023-01-26T06:49:48Z")

</div>

Thank you Jaycee for the answer.  
I was talking about the templates that I can find on my Hubspot on Conversations/Templates:

 ![mmaddiona_1-1674715746139.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/7/67c3e0048a0ea1513856ce0fb7bbbc5a01dc0871.png)

Is there a way to retrieve these?

---

<div class="post-metadata">

**Author:** ![NKulchinskiy](https://avatars.discourse-cdn.com/v4/letter/n/a698b9/32.png) [@NKulchinskiy](https://community.hubspot.com/u/NKulchinskiy)\
**Post date:** [March 11, 2024, 1:19pm UTC](https://community.hubspot.com/t/get-email-templates-from-api/73705/4 "2024-03-11T13:19:21Z")

</div>

Hi Jaycee!

I have the same problem.

I’m creating a new template via the API [https://api.hubapi.com/content/api/v2/templates](https://api.hubapi.com/content/api/v2/templates), but I don’t see it in the list [Message templates](https://app-eu1.hubspot.com/templates/%5C). Conversely, I do not see templates created in the UI through the API.

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![AFiorani0](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@AFiorani0](https://community.hubspot.com/u/AFiorani0)\
**Post date:** [April 26, 2024, 9:09pm UTC](https://community.hubspot.com/t/get-email-templates-from-api/73705/5 "2024-04-26T21:09:41Z")

</div>

Hello!  
I have a same problem.

 ![AFiorani0_0-1714165649750.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/5/a58510fa1e588c7944825ec6909f4e440c63fbeb.png)

I have 3 templates but the get request to this endpoint

`http://api.hubapi.com/content/api/v2/templates`

The response is exactly a same of marco  
{“limit”:100,“objects”:[],“offset”:0,“total”:0}  
any help please?
