Sticky Widget & Agent API
Drop one script tag into any *.wynter.ai app. Shadow DOM prevents CSS bleed.
1. Sticky Widget Embed
<script defer src="https://feedback.wynter.ai/widget.js" data-product="YOUR_SLUG" data-accent="#2563eb" data-label="Feedback"></script>
Optional: Identify logged-in user or trigger testimonial prompt
<script>
window.FeedbackAI?.identify({ email: user.email, name: user.name, userId: user.id });
</script>
2. Agent API & MCP Endpoints
- MCP Server (Streamable HTTP, Bearer token):
https://feedback.wynter.ai/mcp - Feedback Inbox API:
GET/PATCH https://feedback.wynter.ai/api/v1/feedback - SalesFunnels Export API:
GET https://feedback.wynter.ai/api/v1/testimonials/export?product=<slug>&format=json|markdown - Public Approved Testimonials (CORS):
GET https://feedback.wynter.ai/api/v1/public/testimonials?product=<slug>