Your cart is currently empty!
Import users api
—
by
Thank you for this plugin. I was able to easily transfer my users from my old system to my WordPress system.
I’m looking for an ongoing feature to make things easier when I add users to my primary CRM (not WordPress): an API
At present, you only support flat files. Do you support either of the following:
1) an API call to submit the flat file directly
2) an API call to submit the data via a POST call
Posted in Groups Import Export
Comments
5 responses to “Import users api”
You’re welcome!
Cheers
thanks, we will look into it
Hey Rodd, thanks for the follow-up.
Then you can use WordPress API and specifically wp_insert_user to be triggered once the new user is created to your other API and afterwards you may add that user to a specified group using
Groups_User_Group::create( array( 'user_id' => $user_id, 'group_id' => $group_id ) );
.Kind regards,
George
Not the Export. I’m referring to the Import.
When I created a user in my CRM, I want to put a trigger on the database that calls an API for Import Users to automatically create a user in WordPress and send the welcome email. They also need to be assigned to a specific group.
http://docs.itthinx.com/document/groups-import-export/import-users/
The above requires me to sign in to my WP Admin and upload a file. Is there an API version where I can automate the import?
Hi Rodd,
Thanks for using our tools and welcome to our support forum.
I’m assuming that you need to get the export list directly for your other API. In this case you should use
Groups_User_Export::export_users()
and also have a look at the plugin source code for this class and its methods.This method renders the export and I think it should be very helpful in your case.
Kind regards,
George