# How to access/pass Confirmation URL when "Send verification mail with rules"

**URL:** <https://community.auth0.com/t/how-to-access-pass-confirmation-url-when-send-verification-mail-with-rules/67008>\
**Category:** Get Help\
**Tags:** rules\
**Created:** [July 29, 2021, 9:42am UTC](https://community.auth0.com/t/how-to-access-pass-confirmation-url-when-send-verification-mail-with-rules/67008 "2021-07-29T09:42:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![liam.mcdermott](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/liam.mcdermott/32/26455_2.png) [@liam.mcdermott](https://community.auth0.com/u/liam.mcdermott)\
**Post date:** [July 29, 2021, 9:42am UTC](https://community.auth0.com/t/how-to-access-pass-confirmation-url-when-send-verification-mail-with-rules/67008/1 "2021-07-29T09:42:54Z")

</div>

Hi,

We are currently moving our email verification from the default flow to “email verification with rules” to support multiple templates per tenant.

I’m trying to implement [email verification with rules](https://auth0.com/docs/email/manage-email-flow#send-verification-email-with-rules). This link is really helpful but I’m not sure how to pass the confirmation URL to my API which I can then embed in my email for users to click and confirm?

In the default flow, this parameter is inserted into the template using the {{url}} variable but how do I obtain and pass this to my API call? I have searched the context and user objects but maybe I have missed it?

Thanks,  
Liam

---

<div class="post-metadata">

**Author:** ![liam.mcdermott](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/liam.mcdermott/32/26455_2.png) [@liam.mcdermott](https://community.auth0.com/u/liam.mcdermott)\
**Post date:** [July 30, 2021, 8:44am UTC](https://community.auth0.com/t/how-to-access-pass-confirmation-url-when-send-verification-mail-with-rules/67008/2 "2021-07-30T08:44:32Z")

</div>

Ended up calling back to Auth0 from my API, specifically the [POST Verification Link](https://auth0.com/docs/api/management/v2/#!/Tickets/post_email_verification)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 30, 2021, 10:45am UTC](https://community.auth0.com/t/how-to-access-pass-confirmation-url-when-send-verification-mail-with-rules/67008/3 "2021-07-30T10:45:17Z")

</div>

Perfect! Thanks for sharing with the rest of community!

---

<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 14, 2021, 10:45am UTC](https://community.auth0.com/t/how-to-access-pass-confirmation-url-when-send-verification-mail-with-rules/67008/4 "2021-08-14T10:45:36Z")

</div>

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