Switch which registered OneHome session is active
onehome_set_active_sessionForces a chosen registered session to become active, fixing MLS routing errors when multiple sessions match or no MLS suffix is present. Pass a session_id from authentication or session context.
Instructions
Force a specific registered session to be the active one. Useful when MLS-suffix routing picks the wrong session (e.g. two shares in the same MLS, a free-text search across multiple MLSes, or a listing without a ~MLS suffix). Pass a session_id previously returned by onehome_set_auth or surfaced in onehome_get_session_context. The active session answers any request without a ~MLS-suffixed listing id AND any ~MLS request whose MLS matches its own; a ~MLS id matching several other sessions errors until you pick one here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session id from a previous `onehome_set_auth` response, or one of the ids listed by `onehome_get_session_context`. |