How do I edit the verbiage that is sent from the following Apex Methods? Is this possible?

method = SMS or EMAIL

  1. New Community User: UserManagement.initSelfRegistration(method, user)
  2. Existing Community User: UserManagement.initPasswordlessLogin(user.Id, method)

EMAIL Example (how do I update this verbiage?):

outbound email example

SMS Example (how do I update this verbiage?):

outbound sms example

Any feedback is appreciated. Does Salesforce HAVE documentation that states this is NOT POSSIBLE? I'm having trouble finding documentation for either stating this is possible, or impossible. I found this question referring to EMAIL which states it's impossible... but that was 2 years ago.

Thank you.


I did notice this documentation says:

initPasswordlessLogin(userId, method): Use this method along with its paired verifyPasswordlessLogin to customize the login experience with your own Visualforce Login and Verify pages. Invoke initPasswordlessLogin from the Login page where the user enters an email address or phone number.

But this is only what the user experiences on the webpage to initiate the SEND, not the verbiage that is sent to them...

1 Answer 1


My Resolution:

Email Verbiage is updated: Community > Workspaces > Administration > Email > add your custom Email Template with {!verification_code} somewhere sprinkled in to One-Time Password. (related question) (Salesforce documentation)

SMS Verbiage is updated: you CANNOT update this at this time. To my understanding this is in Salesforce backlog, but not a priority, and may or may not ever happen.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .