Skip to main content
All Docs
Getting StartedmyProp (AgentOS People Portal)Updated April 4, 2026

Introducing Account Discovery API Routes — v0.1.10

Introducing Account Discovery API Routes — v0.1.10

Version: 0.1.10
Category: New Feature

What's in This Release

v0.1.10 ships the Account Discovery API Route — a Next.js API route that forms the backbone of the post-login experience in myProp.

Immediately after a user authenticates, the portal calls this route to look up every account linked to their email address across all five supported portal roles: Landlord, Tenant, Buyer, Vendor, and Contractor.


Why This Matters

Before this release, the portal had no automated way to determine which account types and IDs were associated with a given user after login. The discovery route solves this by making a single, efficient lookup to the AgentOS API and returning all linked accounts in one response.

This enables:

  • Multi-role access — A user who is both a landlord and a tenant sees both dashboards after a single login, with no extra steps.
  • Dynamic portal rendering — The portal adapts its navigation and features based on the accounts returned, ensuring users only see what is relevant to them.
  • Reliable onward API calls — All downstream account-scoped routes now have a consistent source of truth for account IDs.

Technical Summary

  • Framework: Next.js API Route
  • Trigger: Primary post-login call
  • Input: Authenticated user's email address (derived from session)
  • Output: List of account types and IDs from AgentOS
  • Upstream: AgentOS (letmc.com) API

Further Reading