Links

List Connected Accounts

Get all Connected Accounts associated with your Account
get
https://connect.getseam.com
/connected_accounts/list
Retrieve list of Connected Accounts

Code Example

Ruby
Python
Javascript
seam.connected_accounts.list
​
# [<Seam::ConnectedAccount:0x00ed1e8
# connected_account_id="282f9d15-d979-4de7-b4eb-7097c401e910"
# created_at="2022-07-06T09:43:07.125Z"
# user_identifier=nil
# account_type="smartthings">]
seam.connected_accounts.list()
​
# [ConnectedAccount(
# connected_account_id='c6610ba7-88d7-4abf-9852-31eb0257aa56',
# created_at='2022-08-23T12:43:49.542Z',
# user_identifier={'email': '[email protected]'},
# account_type='schlage',
# errors=[]
# )]
await seam.connectedAccounts.list();
// {
// connected_account_id: 'c6610ba7-88d7-4abf-9852-31eb0257aa56',
// created_at: '2022-08-23T12:43:49.542Z',
// user_identifier: { email: '[email protected]' },
// account_type: 'schlage',
// errors: []
// }

Parameters

This method doesn't take any parameters.

Response

This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.

JSON format

JSON
{
"connected_accounts": [
{
"connected_account_id": "9dcedcb3-5ede-4b66-9e07-f9ef97b3c29b",
"created_at": "2022-08-24T10:38:05.128Z",
"user_identifier": {
"email": "[email protected]"
},
"account_type": "schlage",
"errors": []
}
],
"ok": true
}
© Seam Labs, Inc. All rights reserved.