Signup API ?

Discussion in 'Customization & add-ons' started by ponsukeen, Oct 5, 2018.

  1. ponsukeen

    ponsukeen New Member

    Joined:
    Oct 5, 2018
    Messages:
    1
    I have a Python app that I want to allow new users to use to signup with. My app collects a username/email and I'm currently using the User api to create a new user, then adding a subscription product using 'onUserAfterInsert()' in my plugin. However, it would suit me better to simulate a signup - rather than create a new user directly so that the new user receives the email address verification email. Simplistically, I can create a new simple signup form, invoke the url with a POST and the appropriate form data, but then I'd like some JSON (or something) back so I can know if the email was already registered etc.

    What's the best way of achieving this?

    Cheers

Share This Page