Get User Devices
Get User's Devices
GET
https://api.parqex.com/oauth/v1/endpoints/sync
Retrieve all account data (profile, marketplace transactions, guest, and access) for a given user
Headers
Name | Type | Description |
---|---|---|
Accept | string | Always set to |
Accept-Encoding | string | Always set to |
Accept-Charset | string | Always set to |
Authorization | string | Set to |
Content-Type | string |
|
The /sync endpoint is used to retrieve comprehensive data of the specified user’s Controller and/or any Controllers to which the user does not own, but has been granted access. This response always contains the current state of all doors, as well, the user’s relationship (see Permissions) to said doors.
In the above example response, this user has access to a single Controller and is the Admin of this Controller (see Permissions). The Controller controls a single door which the user has named “Home”. This door is currently OPEN.
Accounts can have more than one Device
. A user may have one or more devices to which they have access.
Common Error Messages
Invalid Access Token - Make sure that you are settings all of the appropriate headers in your request:
Also, read the Using RESTful Tools section if you are using a program to test your requests. A required header might be overridden or removed by the program.
Last updated