# Where is the url being set in Auth0 for the email verification template

**URL:** <https://community.auth0.com/t/where-is-the-url-being-set-in-auth0-for-the-email-verification-template/71201>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [October 12, 2021, 6:36pm UTC](https://community.auth0.com/t/where-is-the-url-being-set-in-auth0-for-the-email-verification-template/71201 "2021-10-12T18:36:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashsubedi.ae](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ashsubedi.ae/32/14581_2.png) [@ashsubedi.ae](https://community.auth0.com/u/ashsubedi.ae)\
**Post date:** [October 12, 2021, 6:36pm UTC](https://community.auth0.com/t/where-is-the-url-being-set-in-auth0-for-the-email-verification-template/71201/1 "2021-10-12T18:36:26Z")

</div>

Hi Everyone,  
I have a really quick question that I seem not to find the answer by my own.  
In the email verification template where is the {{url}} is being set?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 12, 2021, 10:29pm UTC](https://community.auth0.com/t/where-is-the-url-being-set-in-auth0-for-the-email-verification-template/71201/3 "2021-10-12T22:29:08Z")

</div>

Hi @ashsubedi.ae,

Thanks for reaching out to the Auth0 Community!

The `{{ url }}` is set on line 42 in the **Verification Email (using Link)** default template.

```auto
<p><a href="{{ url }}">Confirm my account</a></p>

```

Please let me know if there are any further questions. I’d be glad to help.

Thank you.

---

<div class="post-metadata">

**Author:** ![ashsubedi.ae](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ashsubedi.ae/32/14581_2.png) [@ashsubedi.ae](https://community.auth0.com/u/ashsubedi.ae)\
**Post date:** [October 13, 2021, 2:01pm UTC](https://community.auth0.com/t/where-is-the-url-being-set-in-auth0-for-the-email-verification-template/71201/4 "2021-10-13T14:01:49Z")

</div>

Thank you @rueben.tiow Where do we declare or define that URL?  
Will it be the default domain of auth0 or the custom domain URL if we enable **Use Custom Domain in Emails**

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 13, 2021, 8:56pm UTC](https://community.auth0.com/t/where-is-the-url-being-set-in-auth0-for-the-email-verification-template/71201/5 "2021-10-13T20:56:14Z")

</div>

Hi @ashsubedi.ae,

Thank you for your response.

Unfortunately, you will not be able to declare or define that URL. The URL is automatically generated when the user triggers a **Verification Email**. The equivalent can be created using the [Management API Create an Email Verification Ticket](https://auth0.com/docs/api/management/v2#!/Tickets/post_email_verification) endpoint.

Regarding your second question, the URL uses your current domain configured in your Auth0 tenant. If you used the default domain, then the URL will look something like this:

```auto
https://YOUR_DOMAIN.REGION.auth0.com/u/email-verification?ticket=cpzdqzYREAgGfenKTtoMjpwbs1djXF2S#

```

Otherwise, if you used a custom domain, then something like this:

```auto
https://YOUR_CUSTOM_DOMAIN.com/u/email-verification?ticket=cpzdqzYREAgGfenKTtoMjpwbs1djXF2S#

```

Hoped this helps! Please let me if you have any other questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![ashsubedi.ae](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ashsubedi.ae/32/14581_2.png) [@ashsubedi.ae](https://community.auth0.com/u/ashsubedi.ae)\
**Post date:** [October 14, 2021, 4:23am UTC](https://community.auth0.com/t/where-is-the-url-being-set-in-auth0-for-the-email-verification-template/71201/6 "2021-10-14T04:23:45Z")

</div>

This is really helpful, thank you @rueben.tiow

---

<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:** [October 29, 2021, 4:23am UTC](https://community.auth0.com/t/where-is-the-url-being-set-in-auth0-for-the-email-verification-template/71201/7 "2021-10-29T04:23:55Z")

</div>

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