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
![response_ID_8.jpeg 603](https://files.readme.io/eef2f4e-response_ID_8.jpeg)
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
![response_ID_8.jpeg 603](https://files.readme.io/2669c68-response_ID_8.jpeg)
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
![response_ID_8.jpeg 603](https://files.readme.io/5c62fdf-response_ID_8.jpeg)
Updated almost 3 years ago