title: How to get users from Keycloak REST API - Keycloak API response 403
body: <p>Hi I'm trying to use the Keycloak API but I don't understand very well how it works. I want to obtain all the users of a realm. So I first obtain a token using this endpoint: <code>/realms/master/protocol/openid-connect/token</code> with this params in the request body:</p>
  
  <ul>
  <li>client_id</li>
  <li>grant_type</li>
  <li>username</li>
  <li>password</li>
  <li>client_secret</li>
  </ul>
  
  <p>The first question is: What client should I use?</p>
  
  <p>Then I call this endpoint: <code>/admin/realms/master/users</code> with the token in the Authorization header, but I get a 403 status code and I don't understand why.</p>
  
  <p>Thanks</p>