Creating an AOP user/contact over Rest API?

Hello there!

I am trying to write functionality into AOP to allow users to create their own Joomla accounts with access to SuiteCRM.

The only way I can think of to do it right now is to use the API to create a new Contact on the SuiteCRM side, and add the user’s joomla id to the “joomla_account_id” field. This isn’t working for me however… I think AOP is having trouble getting ahold of the SuiteCRM Contact id… Anyways, is there an existing/better way to do this, or am I just missing something?

It seems like something that would be a relatively common use case, since it would save admins from having to manually create multiple accounts for each new user.

Thanks!

Patrick