Switch which registered OneHome session is active
onehome_set_active_sessionSet a registered session as active to override MLS-suffix routing errors. Provide session_id so requests without ~MLS or with matching MLS resolve to the correct session.
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`. |