Product Workspaces

Circles

Social/direct chat bridge, avatar sync, SSO, and XRouter helper APIs.

Circles

Circles is Urmate’s social/direct messaging experience.

Routes

RoutePurpose
/dashboard/circlesDashboard entry.
/circlesPublic/bridge route.
/circles-app/[[...path]]Mounted Circles app path.

Important Files

PathPurpose
lib/circles/sso.tsSSO/session bridge.
lib/circles/direct-chat.tsDirect chat helpers.
lib/circles/mysql.tsMySQL/Grupo bridge.
lib/circles/config.tsConfiguration.
app/api/circles/session/route.tsSession endpoint.
app/api/circles/avatar/[userId]/route.tsAvatar endpoint.
app/api/circles/xrouter/*AI helpers.

APIs

EndpointPurpose
GET /api/circles/sessionCurrent Urmate session for Circles.
GET /api/circles/avatar/[userId]Avatar sync endpoint.
GET /api/circles/xrouter/catalogModel/catalog for Circles AI.
POST /api/circles/xrouter/chatChat through XRouter.
POST /api/circles/xrouter/imageImage through XRouter.

Integration Rules

  • Urmate remains the source of truth for login/register.
  • Avatar changes in Urmate should reflect in Circles.
  • Instructor “message” actions should deep-link to Circles conversations.
  • If Circles is on circles.urmate.tech, keep auth bridge and cookie behavior consistent.
Copyright © 2026