Looking for the conversational AI agent? See Conversational Agent for the chat and streaming endpoints that combine these primitives into a full AI shopping companion with tool-use, memory, and proactive nudges.
Base Path
All endpoints are prefixed with/api/v1/companion.
Intent Profiles
An intent profile stores what a user wants — their preferences, constraints, and behavioral signals. Agents read and write profiles to personalize recommendations and execute purchases on a user’s behalf.Create a Profile
Get a Profile
Update a Profile (Partial)
PATCH merges fields into the existing profile. Omitted fields are unchanged.
Award Points
Points are stored on the intent profile and can be used for gamification, tier gating, or reward eligibility.Endpoints
Profile Schema
Profile fields like
skinType, concerns, and avoidances are flexible string fields — they work for any product domain. A fashion agent might use bodyType, stylePreferences, and fabricAvoidances with the same schema structure.Products
The Companion has its own product catalog (ProductCatalogItem) separate from the main commerce Product model. This lets agents curate a focused catalog from external sources without requiring products to exist in the core Podium commerce system.
List Products
Response:
Get Product by ID
Create a Product
Agents or backend services can add products to the companion catalog:Batch Create Products
Add up to 100 products in a single request:Product Schema
Endpoints
Interactions
Interactions record how a user engages with products. They power the recommendation engine and form the behavioral signal layer of the intent profile.Record an Interaction
Get User Interactions
Interaction Types
Interaction Schema
Endpoints
Recommendations
The recommendation engine uses AI-powered ranking to score products based on a user’s intent profile and interaction history. It returns products the user hasn’t interacted with, scored by relevance to their declared preferences and behavioral signals.Get Recommendations
Response:
Recommendations exclude products the user has already interacted with (any action type). The engine considers
RANK_UP and PURCHASED interactions as positive signals for similar products, and RANK_DOWN as negative signals for similar attributes.Endpoints
Orders
Companion orders use a concierge fulfillment model — the user pays Podium (via x402 USDC or Stripe), and the platform handles purchasing from the retailer and shipping to the user. This enables agents to execute purchases from any catalog source, not just products that exist in Podium’s core commerce system. The conversational agent’screate_order tool uses these endpoints automatically during chat — see Conversational Agent for the full flow.
Create a Concierge Order
List User Orders
Get Order Detail
Update Order Status
Order Status Flow
Order Schema
Endpoints
Chat History
Retrieve durable conversation history for a user. Messages include role, content, timestamps, and any product cards that were shown during the conversation.Get Chat History
Response:
Message Schema
Endpoints
Pagination is cursor-based. Pass the
id of the oldest message in your current page as the before parameter to fetch the next page. An empty array indicates no more history.Creator Products
Retrieve the resolved product catalog for a creator persona. Creator personas are profiles that curate products based on a creator’s taste, platform affiliation, and audience — used by apps like Clone Agents (Familiar).Get Creator Products
Endpoints
Profile Seeding from Creator
Merge a creator’s taste profile — preferred brands, price ranges, product concerns — into a user’s intent profile. This lets users bootstrap their preferences from a creator they trust, without going through a full onboarding quiz.Seed Profile from Creator
- Merges the creator’s brand preferences, price range, and concern tags into the user’s intent profile
- Does not overwrite user-set fields if the user has completed an onboarding quiz (i.e.,
quizCompletedAtis set) - Safe to call multiple times — subsequent calls merge additively
Endpoints
Subscription Endpoints
The subscription system handles billing, usage tracking, and tier management for companion agents. For full documentation — including tiers, usage gating, memory gating, and integration examples — see Subscriptions.User Linking
Connect external platform users (e.g., Telegram) to Podium users. The companion looks up users by a synthetic email pattern.
The lookup uses a synthetic email pattern:
tg_{telegramId}@beauty-companion.podium.app. If a matching user exists, it’s returned. If privyId is provided, the Privy DID is linked to the user record.
Building an Agent: End-to-End Flow
Here’s the typical lifecycle of a companion agent interaction:1
Onboard the User
Create an intent profile with the user’s stated preferences. This can come from a quiz, conversation, or imported data.
2
Get Recommendations
The engine uses the profile + interaction history to rank products with AI-powered relevance scoring.
3
Present and Record Feedback
Show recommendations to the user. Record their reactions as interactions.
4
Execute Purchase
When the user approves, create a concierge order. Payment can be processed via x402 (USDC) or linked to a Stripe checkout.
5
Refine Over Time
Each interaction improves future recommendations. The
enrichmentVec on the profile is updated server-side as the user’s pattern emerges. Award points for engagement to drive retention.
