Accounts

Learn how to make calls to our Accounts API for QuickSwipe Mobile.

End Points

  • Login
  • Logout
  • Account Information
  • Update

Login

Will generate and save an authenticity token. URL Method: POST

cURL

curl https://mobile.quickswipe.com/api/json/account/?token=535e787c-7fc4-4d8c-8694-15f00abbf825

Arguments

  • account_id: integer (required)
  • email: string (required)
  • passsword: string (required)

Response

HTTP/1.1 200 OK

Content-Type: application/json; charset=UTF-8


Logout

Will remove the user's authenticity token. URL: Method: GET

cURL

curl https://mobile.quickswipe.com/api/json/account/logout/?token=535e787c-7fc4-4d8c-8694- 15f00abbf825

Response

HTTP/1.1 204 No Content


Account Information

URL: /api/json/account Method: GET

cURL

curl https://mobile.quickswipe.com/api/json/account/?token=535e787c-7fc4-4d8c-8694- 15f00abbf825

Response

HTTP/1.1 200 OK Content-Type: application/json; charset=UTF-8


Did this page help you?