cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to verify the email with accounts.register API

0 Kudos
362

Hi ,

I am trying to create a user account through accounts.register API. I have passed the required parameters and user got created but user's email id is not verified and I can't pass the isVerified parameter along with this is API as it is saying dynamic fields are not allowed.

How can make the email id verified through this API call only?

Thanks in Advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Hi Maheshwari,

It is not possible to do this in a single request. You will need to do a subsequent request to the accounts.setAccountInfo REST API endpoint and pass isVerified=true to achieve this. Note that this parameter will only be operational if the request is signed using server-side credentials.

Thank you.

Best regards,