# Address verification custom email

**URL:** <https://community.auth0.com/t/address-verification-custom-email/47437>\
**Category:** Get Help\
**Tags:** rules\
**Created:** [August 4, 2020, 4:05pm UTC](https://community.auth0.com/t/address-verification-custom-email/47437 "2020-08-04T16:05:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![plweb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/plweb/32/14589_2.png) [@plweb](https://community.auth0.com/u/plweb)\
**Post date:** [August 4, 2020, 4:05pm UTC](https://community.auth0.com/t/address-verification-custom-email/47437/1 "2020-08-04T16:05:34Z")

</div>

We need to create custom emails but the template editor that is in the dashboard is not customizable enough for us, so we are following this guide [https://auth0.com/docs/email/custom](https://auth0.com/docs/email/custom)

We are in the process of making a personalized “verify your address” email using an external endpoint to generate/send the email (like in the example).

It suggests to use a rule and trigger an endpoint this way

> ```
> json: {
> user: user,
> context: context,
> secretToken: configuration.MY_SECRET_TOKEN,
> },
> 
> ```

but this way, even after dumping the payload, we noticed that we don’t have access to the landing url for the user to click to verify the address

How can we retrieve it?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 6, 2020, 9:12pm UTC](https://community.auth0.com/t/address-verification-custom-email/47437/3 "2020-08-06T21:12:05Z")

</div>

Hi @plweb,

Welcome to the Community!

Just to clarify, you would like to direct the user to the Auth0 hosted verification page from the email you send them?

If this is the case, you can get the link from the management API. This is mentioned in the doc you linked:

> The Auth0 Management API provides a [post\_verification\_email](https://auth0.com/docs/api/v2#!/Tickets/post_email_verification) endpoint that generates the verification link for each user. This endpoint allows you to specify the `resultUrl` to which users will be redirected after they have validated their email address by clicking the link in the verification email.

Hope this helps!

---

<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:** [August 21, 2020, 9:12pm UTC](https://community.auth0.com/t/address-verification-custom-email/47437/4 "2020-08-21T21:12:53Z")

</div>

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