Connected Accounts
An external third-party account that your user has authorized Seam to get access to, i.e. an August account with a list of door locks.
connected_account
Properties
connected_account
Propertiesconnected_account_id
string
ID of the Connected Account.
created_at
ISO8601 timestamp
Timestamp of the date when the Connected Account was created.
user_identifier
JSON object
The unique identifier for the Connected Account. Could be an email or phone number.
account_type
string
Type of manufacturer the Connected Account belongs to.
Options include: august
, schlage
, yale
, salto
, smartthings
account_type_display_name
string
A version of account_type
that can go into a user interface
custom_metadata
JSON object
automatically_manage_new_devices
Boolean
List of Methods
Get a Connected Account.
Get a list of Connected Accounts.
Update a Connected Account.
Delete a Connected Account.
Connected Account Error Types
Errors are returned in a list:
Generic Errors
Seam recommends adding error handling logic to you application for each generic error below. Seam may add more generic errors in the future, so your application should include a fallback case if it encounters an unknown generic error code.
account_disconnected
Seam has lost connection to a connected account. This may happen if the third-party provider triggered an access token to be revoked (e.g., after a password change). The account owner needs to reconnect the connected account with a new connect webview.
Connected Account Warning Types
Warnings are returned in a list:
devices_connected_to_other_account
This warning indicates that there are devices linked to the current account that are already associated with a different account. It is important to note that these devices cannot be concurrently connected to multiple accounts. To resolve this issue, you may need to disassociate the devices from the other account before connecting them to the current account. Please ensure that the device IDs mentioned on device_ids
are properly managed and linked to the intended account to avoid any connectivity conflicts.
Last updated