Overview
Session tokens are valid for one organization at a time, but you can exchange a member’s active session for a session with another organization using the Session exchange endpoint:Build an organization switcher
List organizations the user has access to
Use the
discovery.organizations.list() method to retrieve a list of organizations the user has access to:Exchange the active session
Once the user selects an organization, exchange their active session for a session in the selected organization using the
session.exchange() method: