Creating verified agent through API doesn't send them the password in the email | Community
Skip to main content

Creating verified agent through API doesn't send them the password in the email

  • April 2, 2022
  • 2 replies
  • 0 views

Adam27

when I create a verified user through the API, the email they get does not contain their password, so they have to go to zendesk and ask to reset the password.

this is of course a major hustle, and defeats the entire purpose of creating an agent as verified.

is there a workaround for that?

2 replies

Adam27
  • Author
  • April 2, 2022

Also, the email they get is very confusing:

We wanted to let you know that your user profile has been updated by ***

The email address **** was added to your Zendesk account.

 

This makes it sound like they already had an account and we just added them another email, but in reality they don't know yet what zendesk is.


  • April 14, 2022
Hi Adam,
 
Appreciate you posting your question to our Community! Unfortunately, for security purposes passwords aren't emailed when creating a new account regardless if they're verified. By directing them to immediately reset their password, it just adds an extra layer of security.
 
Regarding the email, that message can sound a bit odd out of context. So when you're creating a new user as verified that email is being added as their secondary email on the account as if it were just an update. By setting the verified property to true you're bypassing the initial email verification and account creation step which is why your users aren't receiving "an account has been created for you" type of email. Here in the docs you can find a more thorough breakdown of what to expect based on certain property values when creating or updating a user.
 
Hope this helps!
 
Erica