Import users api


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

5 Responses to Import users api

  1. George January 21, 2021 at 8:01 pm #

    You’re welcome!


  2. Rodd Kennedy January 21, 2021 at 4:31 pm #

    thanks, we will look into it

  3. George January 21, 2021 at 3:01 pm #

    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,

  4. Rodd Kennedy January 20, 2021 at 3:58 pm #

    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.

    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?

  5. George January 20, 2021 at 1:49 pm #

    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,

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account