What method would you recommend?

You are setting up a new webhooks endpoint and you would like to retrieve the profile object on receipt of the "Account logged in" notification.

What method would you recommend?
A . accounts.search with ‘SELECT profile FROM emailAccounts WHERE profile.email= $email from notification$’
B. accounts.getAccountlnfo with UID from notification
C. Use the profile object sent in the notification payload
D. accounts.search with ‘SELECT profile FROM account WHERE profile.email= $email from notification$’

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments