Switch which registered OneHome session is active
onehome_set_active_sessionForce a specific registered session to become the active one when MLS-suffix routing picks the wrong session.
Instructions
Force a specific registered session to be the active one. Useful when MLS-suffix routing picks the wrong session (e.g. 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 that doesn't carry a ~MLS-suffixed listing id.
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`. |