What APIs are available?
What APIs are available?
Riff is designed to be turnkey without any API integration or custom configuration. For Enterprise plans that want direct API access, Riff exposes REST, Server-Sent Events, and Model Context Protocol (MCP) APIs for buyer chat, knowledge discovery, and AI-agent access.
The Discover API allows teams to directly connect their Claude Code environment to their verified knowledge layer to ask buyer questions and receive grounded answers, as well as perform actions like identifying knowledge gaps and drafting generated answers for review.
Available API surfaces
Riff offers four main API endpoints and discovery mechanisms:
- Unified Chat API (REST and Server-Sent Events) — powers the conversational interface, including chat-stream and config endpoints.
- Discover API — OpenAPI 3.1 surface at
/api/public/discover/{slug}/*for automation and integrations so AI tools surface verified product knowledge instead of website crawl content alone. - MCP server — per-org endpoint at
/api/mcp/{slug}(Model Context Protocol) so AI agents and copilots can query verified knowledge directly. - Widget SSE — streaming support for embedded conversational interfaces.
- llms.txt — supports LLM crawlers and content indexing.
The OpenAPI spec for the Discover API is published at <https://api.getriff.ai/api/discover/openapi.json>.
Plan gating
REST and SSE for custom integrations, plus the MCP endpoint that makes your knowledge layer discoverable to autonomous buyer agents, is Enterprise-only. All plans include web application access and website answer engine. Growth and above include native CRM connectors (Salesforce, HubSpot) that cover common workflows without custom API work. If programmatic integration is required, scope Enterprise early.