Can you clarify what data you are trying to retrieve? /get-users endpoint doesn’t exist, and the link points to /user_actions. It’s unclear to me what data you need.
Hey there, we are querying the /admin/users/list/active.json endpoint for active users, and get back a 404 Not Found error consistently. I’m confident the issue isn’t related to an API token or anything, because we can query /user_actions?username=<...> endpoint without issue. I inspected the browser network traffic when on the admin users page and the API call that the discourse app is making looks identical to what we are attempting. Here are the headers we pass to the request (both users/list/active and user_actions:
Accept: application/json
Api-Username: system
Api-Token: <token>