# API or Github deployment for passwordless email templates

**URL:** <https://community.auth0.com/t/api-or-github-deployment-for-passwordless-email-templates/43323>\
**Category:** Get Help\
**Created:** [May 20, 2020, 1:59pm UTC](https://community.auth0.com/t/api-or-github-deployment-for-passwordless-email-templates/43323 "2020-05-20T13:59:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.akerman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/daniel.akerman/32/12924_2.png) [@daniel.akerman](https://community.auth0.com/u/daniel.akerman)\
**Post date:** [May 20, 2020, 1:59pm UTC](https://community.auth0.com/t/api-or-github-deployment-for-passwordless-email-templates/43323/1 "2020-05-20T13:59:49Z")

</div>

This has been asked before without a clear answer.

> I want to keep our passwordless login email template in version control, and automatically update it in Auth0 using CI/CD
> 
> Is there an API endpoint or Github Deployments extension folder/filename I can use to deploy changes to the template to Auth0?

I’ve read the documentation for “Deploy Email Templates”, “Deploy Hosted Pages” and “Connections” without finding this specific config, is it not possible?

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [May 20, 2020, 2:12pm UTC](https://community.auth0.com/t/api-or-github-deployment-for-passwordless-email-templates/43323/2 "2020-05-20T14:12:59Z")

</div>

Hi Daniel,

For deploy-cli, the email template is stored under the Connections. I suspect it is the same for the github extension.

I don’t know about the management API. If I can find out, I’ll report back.

John

---

<div class="post-metadata">

**Author:** ![daniel.akerman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/daniel.akerman/32/12924_2.png) [@daniel.akerman](https://community.auth0.com/u/daniel.akerman)\
**Post date:** [May 20, 2020, 2:22pm UTC](https://community.auth0.com/t/api-or-github-deployment-for-passwordless-email-templates/43323/3 "2020-05-20T14:22:27Z")

</div>

Thank you! I’ve been trying to figure out how the connection json/email template should look like (using github-deploy). I can’t find any example for the passwordless connector.

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [May 20, 2020, 2:36pm UTC](https://community.auth0.com/t/api-or-github-deployment-for-passwordless-email-templates/43323/4 "2020-05-20T14:36:25Z")

</div>

For the management API, GET the passwordless connection and you’ll see `options.email.body`  
You can PATCH that then.

John

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 4, 2020, 2:36pm UTC](https://community.auth0.com/t/api-or-github-deployment-for-passwordless-email-templates/43323/5 "2020-06-04T14:36:26Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
