If you are just getting started with Seam, see Seam
Components. In only a few minutes and with
just a few lines of code, you can start controlling devices from your web
application without interacting with the backend.
- Create a client session on the backend and pass the resulting generated client session token to your frontend. You use this client session token in the frontend with the Seam JavaScript SDK or Seam Components.
- Manage client sessions entirely on the frontend by using a publishable key with the JavaScript SDK or Seam Components.
Create a Client Session for an Existing User and Retrieve the Session Token
To create a client session for an existing user with connected accounts in your workspace, include the IDs of the user’s connected accounts (connected_account_ids) and provide your own unique internal user ID (user_identifier_key). Then, use the generated client session token to retrieve and manage the resources authorized through the connected accounts associated with this client session.
- JavaScript
Request:Response:
List Client Sessions
You can list all client sessions within your workspace.- JavaScript
Request:Response:
Get a Client Session
To get a specific client session, provide the client session ID (client_session_id).
- JavaScript
Request:Response:
Delete a Client Session
To delete a client session, provide the client session ID (client_session_id).
- JavaScript
Request:
Next Steps
- Learn about using client session tokens with Seam Components.
- Learn more about Connect Webviews.

