Skip to content

User Management in the REST API

As the mobile ecosystem expands, more and more developers are building "Mobile first, web second" - building what is foremost a mobile app, but also building a web interface for it. One of the pains in mobile development today is building user accounts that can be accessed conveniently from mobile devices but also from any other system.

To help solve this problem, Parse has just extended the REST API to work with users. The same logIn and signUp commands that work in our client SDKs now have analogous HTTP endpoints, at /1/login and /1/users. You can also store arbitrary per-user data in the same ways that the client SDKs make possible.

The REST API for users also enables quick one-off analytics of your user base. For example, if you track the user's area code in the user object and you wanted to check how many of your users are from San Francisco:

  -X GET 
  --data-urlencode 'where={"areaCode": 415}' 
  --data-urlencode 'count=1' 
  --data-urlencode 'limit=0'

There are plenty of other things you can do with the REST API. Read more about it at the REST API documentation.

Our goal is that any mobile app you can build if you build your own server, it should be easier to do it with Parse. We're always trying to bring Parse closer to this vision, and your feedback helps teach us how to do it. If you have tips, suggestions, or bug reports, please let us know.