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>