Retrieving Devices or Access Control Systems Connected Through a Connect Webview
Learn how to retrieve the set of devices or ACS that your app user connected to Seam through a specific Connect Webview.
Last updated
Was this helpful?
Learn how to retrieve the set of devices or ACS that your app user connected to Seam through a specific Connect Webview.
Last updated
Was this helpful?
When your app user completes a authorization flow successfully, the resulting includes a connected_account_id
. Also, once the connection is successful, the includes the connected_account_id
.
The first step in controlling connected devices or a connected ACS is to retrieve the newly-connected set of devices or ACS.
Use this connected_account_id
in a command to retrieve the devices that your user has just connected to Seam.
Code:
Output:
Code:
Output:
Use this connected_account_id
in a command to retrieve the ACS that your user has just connected to Seam.
If you set wait_for_device_creation
to false
when , you should wait for the before retrieving the user's ACS. This event indicates that Seam has finished the first sync of the connected account and the acs_system
is now available.