• Mithun Ganatra
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I am new to salesforce development. I have successfully implemented salesforce REST API and was able to create a new user. However user is not getting invite email.

I have gone through several articles for same issue but couldn't find any resolution to the problem. Is there any way to trigger the email using REST API ? here is what I have tried so far

Post user creation I have sent one more POST request (/sobjects/User//password) to reset user password (but still no notification to the user)
Wrote Apex Class and Trigger on User Object but not being able to deploy as I have Professional Edition and getting following errors (This approach works fine in developer environment)

User-added image

Is the any way to trigger the invite email using REST API ? or Any other work around to address the issue ?

When creating users via the REST api they do not get the email notification about it. I have found this post about the same issue with the SOAP api, which uses headers to enable emails, but I have not found documentation on how to do this with the REST api. How could I allow emails with the REST api?

  • September 12, 2013
  • Like
  • 0