skip to Main Content

Does anyone know if there is a way of exporting all you WP users through API? I tried WP Rest API but that only gives me the users who has is an author in the site. we use ultimate member plugin to organize and categorize the members, but their API does not look promising(more like useless)

Instead of manually export the user data, I am trying to find a way to export it through API, so everytime I call that API, it will just give the data.

2

Answers


  1. Chosen as BEST ANSWER

    ONLY TESTED IN THE STAGING SITE

    ok here, I got my half result through this, so far only got user_id, name, and email, but I am still missing the answer for other form fields. (for any those steps, ask chatgpt):

    • created a custom plugin in your WordPress backend database(file manager), ask the chatgpt for steps
    • activate it in the WordPress site
    • I also gave a secret key so the api call is not publically available "http://yoursite.com/wp-json/custom/v1/get-all-users/?api_key=your_secret_key"

    rest should be easy


  2. Try using Gato GraphQL, you can export all users

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search