# Update prompts for "email-verification-result"

**URL:** <https://community.auth0.com/t/update-prompts-for-email-verification-result/97883>\
**Category:** Get Help\
**Tags:** prompts, management-api\
**Created:** [January 10, 2023, 10:00pm UTC](https://community.auth0.com/t/update-prompts-for-email-verification-result/97883 "2023-01-10T22:00:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![martina\_tss](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/martina_tss/32/42503_2.png) [@martina\_tss](https://community.auth0.com/u/martina_tss)\
**Post date:** [January 10, 2023, 10:00pm UTC](https://community.auth0.com/t/update-prompts-for-email-verification-result/97883/1 "2023-01-10T22:00:24Z")

</div>

I have been updating prompts for various screens on the New Universal Login via the management api and everything works as expected apart from the updates to the buttonText on the “email-verification-result”.  
I have been trying to use the variable companyName as well as tenantName and neither of those appear on the screen.

eg.  
curl --request PUT   
–url https://TENANT\_URL.us.auth0.com/api/v2/prompts/email-verification/custom-text/en   
–header “content-type: application/json”   
–header “authorization: Bearer $TOKEN”   
-d’{“email-verification-result”:{“buttonText”:“Back to ${companyName}”}}’

The same prompt text “Back to ${companyName}” works when I update eg. the “buttonText” variable on reset-password-success.

I can also update the buttonText with static content by hardcoding the company name eg.  
curl --request PUT   
–url https://TENANT\_URL.us.auth0.com/api/v2/prompts/email-verification/custom-text/en   
–header “content-type: application/json”   
–header “authorization: Bearer $TOKEN”   
-d’{“email-verification-result”:{“buttonText”:“Back to My Company”}}’

Reading the custom prompts returns the text I had updated correctly:  
curl --request GET   
–url https://TENANT\_URL.us.auth0.com/api/v2/prompts/email-verification/custom-text/en   
–header “content-type: application/json”   
–header “authorization: Bearer $TOKEN”  
=\> {“email-verification-result”:{“buttonText”:“Back to ${companyName}”}}

Any idea why using the variable companyName (or tenantName) wouldn’t work in this case?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/0/9082e286d629709c8699a29ae01b7d093ebd313d.png)

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [January 11, 2023, 12:40am UTC](https://community.auth0.com/t/update-prompts-for-email-verification-result/97883/3 "2023-01-11T00:40:00Z")

</div>

Hi @martina_tss ,

Welcome to the Auth0 Community!

> [@martina\_tss](#):
>
> Any idea why using the variable companyName (or tenantName) wouldn’t work in this case?

Please use the variable `${clientName}` instead of `${companyName}`. Details are available in [this](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts) doc.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/f/b/fba76c5507a4f47f45a44f50be7389f15f894278.jpeg)

Please let me know if any other queries about this topic. Thanks!

---

<div class="post-metadata">

**Author:** ![martina\_tss](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/martina_tss/32/42503_2.png) [@martina\_tss](https://community.auth0.com/u/martina_tss)\
**Post date:** [January 11, 2023, 12:53am UTC](https://community.auth0.com/t/update-prompts-for-email-verification-result/97883/4 "2023-01-11T00:53:57Z")

</div>

Hi,  
The text you highlighted is the default text which I want to replace because the client names configured in this tenant are not suitable for the public facing pages.

In all other screens I was able to replace clientName with companyName without issues (eg. reset-password-success) so I was hoping the same would be true for this screen. It’s not obvious from the documentation why this wouldn’t work for this screen.

Would this then be a feature request?

---

<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:** [January 25, 2023, 12:54am UTC](https://community.auth0.com/t/update-prompts-for-email-verification-result/97883/5 "2023-01-25T00:54:21Z")

</div>

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