Affiliate Links Integration — v0.1.45
Affiliate Links Integration
Introduced in v0.1.45
The Affiliate Links Integration surfaces relevant partner and affiliate links to portal users based on their person type. Landlords, tenants, and buyers each see a tailored set of affiliate offers sourced directly from the AgentOS platform.
How It Works
- When a user loads the portal, their authenticated person type (
landlord,tenant, orbuyer) is used to request affiliate links from the new API route. - The API route queries the AgentOS backend and returns an array of affiliate link objects scoped to that person type.
- The UI components render those links in the portal interface, providing direct access to partner offers without leaving the portal.
API Route
A Next.js API route is responsible for fetching affiliate link data server-side.
Supported Person Types
landlordtenantbuyer
Response Shape
The API returns an array of affiliate link objects. Each object describes a single partner link to be displayed in the portal:
[
{
"id": "string",
"title": "string",
"url": "string",
"description": "string"
}
]
The exact fields available on each affiliate link object are determined by the AgentOS API response.
UI Components
Dedicated UI components are provided to render the affiliate link list within the portal. These components:
- Accept the array of affiliate link objects returned by the API route.
- Display links contextually — only links relevant to the current user's person type are shown.
- Integrate into the existing portal layout without requiring additional configuration.
Person Type Scoping
Affiliate links are filtered by person type, so each user only sees partner offers relevant to their role:
| Person Type | Description |
|---|---|
landlord | Partner links relevant to property owners and landlords |
tenant | Partner links relevant to tenants renting a property |
buyer | Partner links relevant to property buyers |
Notes
- This feature requires the user to be authenticated in the portal.
- Affiliate link data is sourced live from the AgentOS (letmc.com) API.
- No additional configuration is required in the portal to enable this feature for supported person types.