# Update Email verification Redirect To in a rule

**URL:** <https://community.auth0.com/t/update-email-verification-redirect-to-in-a-rule/73979>\
**Category:** Get Help\
**Created:** [November 30, 2021, 12:52pm UTC](https://community.auth0.com/t/update-email-verification-redirect-to-in-a-rule/73979 "2021-11-30T12:52:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![francesco.venica](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/francesco.venica/32/13023_2.png) [@francesco.venica](https://community.auth0.com/u/francesco.venica)\
**Post date:** [November 30, 2021, 12:52pm UTC](https://community.auth0.com/t/update-email-verification-redirect-to-in-a-rule/73979/1 "2021-11-30T12:52:29Z")

</div>

Hello,

I have an application with multiple markets that use the same tenant, when a user register we send the verification email but the ui doesn’t allow to create a dynamic redirect\_to url with this format: `{market}.myapp.com`. I wonder if there is a way to update this value from a rule where I have the user market value so I can build the url as I need.

many thanks  
Francesco

---

<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:** [November 30, 2021, 6:32pm UTC](https://community.auth0.com/t/update-email-verification-redirect-to-in-a-rule/73979/3 "2021-11-30T18:32:06Z")

</div>

Hi @francesco.venica,

Thanks for reaching out to the Auth0 Community!

I understand that you’d like to have dynamic redirect\_to URLs in your verification email template.

First, the Verification Email template [dyanmic redirect to urls](https://auth0.com/docs/brand-and-customize/email/customize-email-templates#dynamic-redirect-to-urls) only allow 3 variables, namely the `application.name`, `application.clientID` and `application.callback_domain`. And as you have observed, you won’t be able to use the market value.

As an alternative, you could build a [Custom Redirect](https://auth0.com/docs/brand-and-customize/email/manage-email-flow#custom-redirects) using the [Management API v2 Create Email Verification Ticket endpoint](https://auth0.com/docs/api/management/v2/#!/Tickets/post_email_verification). Doing so will allow you to specify your desired redirect\_to URL.

Hoped this helps!

Please let me know if there’s anything else I can do to help.

Thank you.

---

<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:** [December 15, 2021, 6:32pm UTC](https://community.auth0.com/t/update-email-verification-redirect-to-in-a-rule/73979/4 "2021-12-15T18:32:33Z")

</div>

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