# Renchi AI ## Docs - [GET /api/cron/cleanup-recordings](https://docs.renchi.ai/api-reference/get-cron-cleanup-recordings.md): GET endpoint for /cron/cleanup-recordings - [GET /api/cron/daily-summary](https://docs.renchi.ai/api-reference/get-cron-daily-summary.md): GET endpoint for /cron/daily-summary - [GET /api/cron/weekly-report](https://docs.renchi.ai/api-reference/get-cron-weekly-report.md): GET endpoint for /cron/weekly-report - [GET /api/debug/db](https://docs.renchi.ai/api-reference/get-debug-db.md): * Debug endpoint to test database connectivity DELETE THIS FILE BEFORE PRODUCTION * Visit: http://localhost:3000/api/debug/db - [GET /api/integrations/[provider]/callback](https://docs.renchi.ai/api-reference/get-integrations-[provider]-callback.md): * GET /api/integrations/[provider]/callback * OAuth callback handler. Exchanges the authorization code for tokens and stores them in the database. - [GET /api/integrations/[provider]/connect](https://docs.renchi.ai/api-reference/get-integrations-[provider]-connect.md): * GET /api/integrations/[provider]/connect * Alternative GET endpoint that redirects directly to OAuth provider. Useful for simple anchor link integrations. - [GET /api/integrations/status](https://docs.renchi.ai/api-reference/get-integrations-status.md): * GET /api/integrations/status * Returns the status of all integrations for the current user's team. - [GET /api/webhooks/elevenlabs](https://docs.renchi.ai/api-reference/get-webhooks-elevenlabs.md): Health check endpoint for the ElevenLabs webhook - [GET /api/webhooks/elevenlabs/personalize](https://docs.renchi.ai/api-reference/get-webhooks-elevenlabs-personalize.md): Health check endpoint for the ElevenLabs personalization webhook - [GET /api/webhooks/twilio/recording](https://docs.renchi.ai/api-reference/get-webhooks-twilio-recording.md): * GET /api/webhooks/twilio/recording * Health check endpoint. - [GET /api/webhooks/twilio/status](https://docs.renchi.ai/api-reference/get-webhooks-twilio-status.md): * GET /api/webhooks/twilio/status * Health check endpoint. - [GET /api/webhooks/twilio/voice](https://docs.renchi.ai/api-reference/get-webhooks-twilio-voice.md): * GET /api/webhooks/twilio/voice * Health check endpoint. - [API Reference](https://docs.renchi.ai/api-reference/overview.md): Complete API documentation for all Renchi AI endpoints - [POST /api/integrations/[provider]/connect](https://docs.renchi.ai/api-reference/post-integrations-[provider]-connect.md): * POST /api/integrations/[provider]/connect * Initiates the OAuth flow for connecting an integration. Returns the authorization URL to redirect the user to. - [POST /api/integrations/[provider]/disconnect](https://docs.renchi.ai/api-reference/post-integrations-[provider]-disconnect.md): * POST /api/integrations/[provider]/disconnect * Disconnects an integration by clearing credentials and setting status to disconnected. - [POST /api/setup-super-admin](https://docs.renchi.ai/api-reference/post-setup-super-admin.md): One-time setup endpoint to create super admin accounts - [POST /api/webhooks/elevenlabs](https://docs.renchi.ai/api-reference/post-webhooks-elevenlabs.md): POST endpoint for /webhooks/elevenlabs - [POST /api/webhooks/elevenlabs/personalize](https://docs.renchi.ai/api-reference/post-webhooks-elevenlabs-personalize.md): POST endpoint for /webhooks/elevenlabs/personalize - [POST /api/webhooks/twilio/recording](https://docs.renchi.ai/api-reference/post-webhooks-twilio-recording.md): * POST /api/webhooks/twilio/recording * Handles recording status updates from Twilio. Called when a recording is completed or fails. - [POST /api/webhooks/twilio/status](https://docs.renchi.ai/api-reference/post-webhooks-twilio-status.md): Handles call status updates from Twilio - [POST /api/webhooks/twilio/voice](https://docs.renchi.ai/api-reference/post-webhooks-twilio-voice.md): * POST /api/webhooks/twilio/voice * Handles incoming voice calls from Twilio. This is the entry point for all inbound calls to your phone numbers. - [ActivityItem](https://docs.renchi.ai/components/activityitem.md): ActivityItem component - [AddAgentDialog](https://docs.renchi.ai/components/addagentdialog.md): AddAgentDialog component - [AddCompanyDialog](https://docs.renchi.ai/components/addcompanydialog.md): AddCompanyDialog component - [AddCustomerDialog](https://docs.renchi.ai/components/addcustomerdialog.md): AddCustomerDialog component - [AddressAutocomplete](https://docs.renchi.ai/components/addressautocomplete.md): AddressAutocomplete component - [AddTextDocumentDialog](https://docs.renchi.ai/components/addtextdocumentdialog.md): AddTextDocumentDialog component - [AddUserDialog](https://docs.renchi.ai/components/adduserdialog.md): AddUserDialog component - [AdminDashboard](https://docs.renchi.ai/components/admindashboard.md): AdminDashboard component - [AgentsSkeleton](https://docs.renchi.ai/components/agentsskeleton.md): AgentsSkeleton component - [AIAnalysisPanel](https://docs.renchi.ai/components/aianalysispanel.md): * AIAnalysisPanel - AI insights, sentiment, performance scores * Shows: - Key topics detected - Customer sentiment - Agent performance score (for QA) - Compliance flags - Suggested follow-up actions - [AnalyticsClient](https://docs.renchi.ai/components/analyticsclient.md): AnalyticsClient component - [AnalyticsSkeleton](https://docs.renchi.ai/components/analyticsskeleton.md): AnalyticsSkeleton component - [AudioPlayer](https://docs.renchi.ai/components/audioplayer.md): * AudioPlayer - Full-featured audio player for call recordings * Features: - Play/pause control - Seek bar with progress - Speed control (0.5x - 2x) - Volume control - Skip forward/back 10 seconds - Download option * Now integrated with global AudioPlayerContext for mini player support. - [BookingDetailsCard](https://docs.renchi.ai/components/bookingdetailscard.md): * BookingDetailsCard - Booking slot, quote, and technician info * Shows booking details if a job was scheduled during the call. - [BusinessHoursDialog](https://docs.renchi.ai/components/businesshoursdialog.md): BusinessHoursDialog component - [BusinessHoursTab](https://docs.renchi.ai/components/businesshourstab.md): BusinessHoursTab component - [BusinessPhoneDialog](https://docs.renchi.ai/components/businessphonedialog.md): BusinessPhoneDialog component - [CallBackDialog](https://docs.renchi.ai/components/callbackdialog.md): * CallBackDialog - Initiate a callback to the customer * Features: - Pre-filled phone number from customer record - Optional note for callback context - Click-to-call link for mobile/desktop softphone - Logs callback intent in system - [CallHandlingTab](https://docs.renchi.ai/components/callhandlingtab.md): CallHandlingTab component - [CallMetadataCard](https://docs.renchi.ai/components/callmetadatacard.md): * CallMetadataCard - Call timing, outcome, and transfer info * Shows when the call happened, how long it lasted, and the outcome. - [CallSummaryCard](https://docs.renchi.ai/components/callsummarycard.md): CallSummaryCard component - [ChangePasswordDialog](https://docs.renchi.ai/components/changepassworddialog.md): ChangePasswordDialog component - [ConfigureAgentPanel](https://docs.renchi.ai/components/configureagentpanel.md): ConfigureAgentPanel component - [ContextSummaryCard](https://docs.renchi.ai/components/contextsummarycard.md): * ContextSummaryCard - The 15-second handoff summary * This is the KEY DIFFERENTIATOR of the product. When a CSR takes over a transferred call, they need to understand the context within seconds. This card provides that at-a-glance view. * Design requirements: - Always visible at top (sticky) - Read… - [ContextTab](https://docs.renchi.ai/components/contexttab.md): ContextTab component - [ConversationFilters](https://docs.renchi.ai/components/conversationfilters.md): ConversationFilters component - [ConversationNotes](https://docs.renchi.ai/components/conversationnotes.md): * ConversationNotes - Notes list with add functionality * Shows notes added by team members and allows adding new notes. - [ConversationsSkeleton](https://docs.renchi.ai/components/conversationsskeleton.md): ConversationsSkeleton component - [CreateBookingDialog](https://docs.renchi.ai/components/createbookingdialog.md): * CreateBookingDialog - Schedule a service appointment * Features: - Service type pre-filled from problem category - Date picker (default: tomorrow) - Time slot selection (AM 08:00-13:00 / PM 12:00-18:00) - Quote amount (pre-filled if available) - Special instructions - Edit mode if booking already… - [CustomerCallHistory](https://docs.renchi.ai/components/customercallhistory.md): * CustomerCallHistory Component * Displays a list of all bookings for a customer, sorted newest first. Each row is clickable and navigates to the conversation detail page. * For CSRs, this provides quick context on all previous interactions with the customer to enable personalized service. - [CustomerDetailSkeleton](https://docs.renchi.ai/components/customerdetailskeleton.md): CustomerDetailSkeleton component - [CustomerFilters](https://docs.renchi.ai/components/customerfilters.md): CustomerFilters component - [CustomerInfoCard](https://docs.renchi.ai/components/customerinfocard.md): * CustomerInfoCard - Customer details with quick actions * Shows customer name, phone, email, address with one-click actions. Phone number should be instantly callable for CSRs. - [CustomerNotesEditor](https://docs.renchi.ai/components/customernoteseditor.md): CustomerNotesEditor component - [CustomersSkeleton](https://docs.renchi.ai/components/customersskeleton.md): CustomersSkeleton component - [CustomerTagsEditor](https://docs.renchi.ai/components/customertagseditor.md): CustomerTagsEditor component - [DashboardClient](https://docs.renchi.ai/components/dashboardclient.md): DashboardClient component - [DashboardSkeleton](https://docs.renchi.ai/components/dashboardskeleton.md): DashboardSkeleton component - [DataConsentDialog](https://docs.renchi.ai/components/dataconsentdialog.md): DataConsentDialog component - [DataConsentProvider](https://docs.renchi.ai/components/dataconsentprovider.md): DataConsentProvider component - [DateRangePicker](https://docs.renchi.ai/components/daterangepicker.md): DateRangePicker component - [DefaultCountryDialog](https://docs.renchi.ai/components/defaultcountrydialog.md): DefaultCountryDialog component - [Disable2FADialog](https://docs.renchi.ai/components/disable2fadialog.md): Disable2FADialog component - [EditCompanyDialog](https://docs.renchi.ai/components/editcompanydialog.md): EditCompanyDialog component - [EditCustomerDialog](https://docs.renchi.ai/components/editcustomerdialog.md): EditCustomerDialog component - [ElevenLabsSettings](https://docs.renchi.ai/components/elevenlabssettings.md): ElevenLabsSettings component - [Enable2FADialog](https://docs.renchi.ai/components/enable2fadialog.md): Enable2FADialog component - [ExportDropdown](https://docs.renchi.ai/components/exportdropdown.md): ExportDropdown component - [FirecrawlDialog](https://docs.renchi.ai/components/firecrawldialog.md): FirecrawlDialog component - [ForgotPasswordDialog](https://docs.renchi.ai/components/forgotpassworddialog.md): ForgotPasswordDialog component - [FormDialog](https://docs.renchi.ai/components/formdialog.md): A consistent, production-ready dialog for forms with accessibility support - [GeneralTab](https://docs.renchi.ai/components/generaltab.md): GeneralTab component - [GlobalContextSection](https://docs.renchi.ai/components/globalcontextsection.md): GlobalContextSection component - [GlobalFirecrawlDialog](https://docs.renchi.ai/components/globalfirecrawldialog.md): GlobalFirecrawlDialog component - [GoogleMapsProvider](https://docs.renchi.ai/components/googlemapsprovider.md): GoogleMapsProvider component - [Icon](https://docs.renchi.ai/components/icon.md): Icon component - [InboxDetailSkeleton](https://docs.renchi.ai/components/inboxdetailskeleton.md): InboxDetailSkeleton component - [InboxFilters](https://docs.renchi.ai/components/inboxfilters.md): InboxFilters component - [InboxSkeleton](https://docs.renchi.ai/components/inboxskeleton.md): InboxSkeleton component - [InviteMemberDialog](https://docs.renchi.ai/components/invitememberdialog.md): InviteMemberDialog component - [JobCard](https://docs.renchi.ai/components/jobcard.md): JobCard component - [JobDetailsPanel](https://docs.renchi.ai/components/jobdetailspanel.md): JobDetailsPanel component - [JobEditDialog](https://docs.renchi.ai/components/jobeditdialog.md): JobEditDialog component - [LinkCustomerDialog](https://docs.renchi.ai/components/linkcustomerdialog.md): LinkCustomerDialog component - [MarkResolvedDialog](https://docs.renchi.ai/components/markresolveddialog.md): * MarkResolvedDialog - Close an inbox item with resolution notes * Features: - Resolution type selection - Required resolution notes - Archives item from active inbox - Navigates back to inbox list on completion - [MemberDashboard](https://docs.renchi.ai/components/memberdashboard.md): MemberDashboard component - [MetricCard](https://docs.renchi.ai/components/metriccard.md): MetricCard component - [OrganizationNameDialog](https://docs.renchi.ai/components/organizationnamedialog.md): OrganizationNameDialog component - [OrganizationSettings](https://docs.renchi.ai/components/organizationsettings.md): OrganizationSettings component - [Components Overview](https://docs.renchi.ai/components/overview.md): React component library for the Renchi AI platform - [OwnerDashboard](https://docs.renchi.ai/components/ownerdashboard.md): OwnerDashboard component - [PasswordChangeDialog](https://docs.renchi.ai/components/passwordchangedialog.md): * PasswordChangeDialog - Force password change for invited users * Shown on first login when password_reset_required is true. The dialog cannot be dismissed without changing the password. - [PasswordChangeProvider](https://docs.renchi.ai/components/passwordchangeprovider.md): * PasswordChangeProvider - Wraps the dashboard to enforce password change for invited users * Shows the password change dialog when password_reset_required is true. The dialog cannot be dismissed without creating a new password. - [ProblemDetailsCard](https://docs.renchi.ai/components/problemdetailscard.md): * ProblemDetailsCard - Problem category, urgency, and description * Shows the categorized problem with urgency level and customer's verbatim description. - [QuickActionsBar](https://docs.renchi.ai/components/quickactionsbar.md): * QuickActionsBar - Primary CSR actions for inbox items * Provides one-click access to the 4 most important actions: 1. Call Back - Initiate callback to customer 2. Create Booking - Schedule a service appointment 3. Transfer - Hand off to specialist with context 4. Mark Resolved - Close the inbox it… - [QuickCloseDialog](https://docs.renchi.ai/components/quickclosedialog.md): QuickCloseDialog component - [QuickScheduleDialog](https://docs.renchi.ai/components/quickscheduledialog.md): QuickScheduleDialog component - [ResetPasswordDialog](https://docs.renchi.ai/components/resetpassworddialog.md): ResetPasswordDialog component - [ServicesTab](https://docs.renchi.ai/components/servicestab.md): ServicesTab component - [SessionActivityLog](https://docs.renchi.ai/components/sessionactivitylog.md): SessionActivityLog component - [SettingsSkeleton](https://docs.renchi.ai/components/settingsskeleton.md): SettingsSkeleton component - [Sidebar](https://docs.renchi.ai/components/sidebar.md): Sidebar component - [Skeleton](https://docs.renchi.ai/components/skeleton.md): Skeleton component - [SmartFillButton](https://docs.renchi.ai/components/smartfillbutton.md): SmartFillButton component - [SmartFillPreviewDialog](https://docs.renchi.ai/components/smartfillpreviewdialog.md): SmartFillPreviewDialog component - [StatItem](https://docs.renchi.ai/components/statitem.md): StatItem component - [StorageSettingsSection](https://docs.renchi.ai/components/storagesettingssection.md): StorageSettingsSection component - [TeamSettings](https://docs.renchi.ai/components/teamsettings.md): TeamSettings component - [TextSizeSelect](https://docs.renchi.ai/components/textsizeselect.md): * TextSizeSelect - Dropdown for selecting text size preference * Options: - Small: Smaller text for more content density - Standard: Default text size (recommended) - Large: Larger text for better readability - [ThemeProvider](https://docs.renchi.ai/components/themeprovider.md): Wraps the application with next-themes for dark mode support - [ThemeSelect](https://docs.renchi.ai/components/themeselect.md): * ThemeSelect - Dropdown for selecting theme preference * Options: - Light: Always use light theme - Dark: Always use dark theme - System: Follow OS preference (default) - [TimezoneDialog](https://docs.renchi.ai/components/timezonedialog.md): TimezoneDialog component - [TranscriptViewer](https://docs.renchi.ai/components/transcriptviewer.md): * TranscriptViewer - Searchable transcript with timestamps * Shows the full conversation transcript with: - Speaker identification (Agent vs Customer) - Timestamps for each entry - Search functionality - Highlighted key moments - [TransferDialog](https://docs.renchi.ai/components/transferdialog.md): * TransferDialog - Transfer call with AI context summary * Features: - Target team/person selection - AI-generated context summary (editable) - Copy button for context - Additional notes field - Microsoft Teams integration ready - [TransferTab](https://docs.renchi.ai/components/transfertab.md): TransferTab component - [UploadDocumentDialog](https://docs.renchi.ai/components/uploaddocumentdialog.md): UploadDocumentDialog component - [UploadGlobalDocumentDialog](https://docs.renchi.ai/components/uploadglobaldocumentdialog.md): UploadGlobalDocumentDialog component - [ViewDocumentDialog](https://docs.renchi.ai/components/viewdocumentdialog.md): ViewDocumentDialog component - [ViewGlobalDocumentDialog](https://docs.renchi.ai/components/viewglobaldocumentdialog.md): ViewGlobalDocumentDialog component - [VoiceTab](https://docs.renchi.ai/components/voicetab.md): VoiceTab component - [Creating Your First Agent](https://docs.renchi.ai/guide/getting-started/creating-your-first-agent.md): Your AI voice agent is the heart of Renchi AI. It handles inbound calls, diagnoses customer issues, provides quotes, and books appointments. This guide walks you through every configuration option. - [Integrations Setup](https://docs.renchi.ai/guide/getting-started/integrations-setup.md): Renchi AI integrates with various services to power your voice agents and sync data with your existing tools. This guide covers how to set up each integration. - [Introduction](https://docs.renchi.ai/guide/getting-started/introduction.md): Welcome to the Renchi AI documentation - [Managing Calls & Customers](https://docs.renchi.ai/guide/getting-started/managing-calls-and-customers.md): Once your voice agents are handling calls, you'll need to review conversations, follow up on action items, and maintain customer records. This guide covers the three core operational areas: Conversations, Inbox, and Customers. - [Quick Start](https://docs.renchi.ai/guide/getting-started/quick-start.md): Welcome to Renchi AI! This guide will help you set up your first AI voice agent to handle inbound customer calls for your business. - [Understanding the Dashboard](https://docs.renchi.ai/guide/getting-started/understanding-the-dashboard.md): Navigate Renchi AI and understand your call metrics at a glance - [Types Overview](https://docs.renchi.ai/types/overview.md): The Renchi AI platform uses a comprehensive TypeScript type system with 400+ type definitions across 11 type files and 5 Zod validation schemas. ## OpenAPI Specs - [openapi](https://docs.renchi.ai/api-reference/openapi.json) ## Optional - [Renchi AI](https://renchi.ai)