# Mint Starter Kit ## Docs - [Create AI Calls](https://mint-docs.sternrockcapital.com/api-reference/ai-calls/create-ai-calls.md): Initiates AI calls for each lead ID in the request and stores call records. - [Get AI Call Data](https://mint-docs.sternrockcapital.com/api-reference/ai-calls/get-ai-call-data.md): Returns metadata, cost, analysis summary, and ordered transcripts for the specified call. - [List AI Calls](https://mint-docs.sternrockcapital.com/api-reference/ai-calls/list-ai-calls.md): Retrieves a paginated list of AI call records, including lead and business information. - [Create Application](https://mint-docs.sternrockcapital.com/api-reference/applications/create-application.md): Creates a new application record with optional lead and associated individuals and business details. - [Export Application PDF](https://mint-docs.sternrockcapital.com/api-reference/applications/export-application-pdf.md): Generates and returns a PDF for the specified application, applying optional censoring. - [Get Application](https://mint-docs.sternrockcapital.com/api-reference/applications/get-application.md): Returns the person and business details for the application identified by the given UUID. - [Link Application to Lead](https://mint-docs.sternrockcapital.com/api-reference/applications/link-application-to-lead.md): Associates the application identified by applicationId with a lead specified in the request body. - [List Application Documents](https://mint-docs.sternrockcapital.com/api-reference/applications/list-application-documents.md): Returns a list of documents linked to the application identified by applicationId. - [List Applications](https://mint-docs.sternrockcapital.com/api-reference/applications/list-applications.md): Returns a paginated list of applications, including associated person and business names. - [Send Application to Lead](https://mint-docs.sternrockcapital.com/api-reference/applications/send-application-to-lead.md): Sends an SMS message with the application to the primary lead person of the given lead, using the specified phone number as the sender. - [Delete Assistant](https://mint-docs.sternrockcapital.com/api-reference/assistants/delete-assistant.md): Deletes an assistant by its UUID, removing it from both the database and the VAPI service. - [List Assistants](https://mint-docs.sternrockcapital.com/api-reference/assistants/list-assistants.md): Returns a paginated list of assistants with name, provider, model, transcriber, and creation timestamp. - [Retrieve Assistant](https://mint-docs.sternrockcapital.com/api-reference/assistants/retrieve-assistant.md): Fetches an assistant by its UUID from the database and enriches it with VAPI data. - [Exchange Refresh Token](https://mint-docs.sternrockcapital.com/api-reference/authentication/exchange-refresh-token.md): Exchanges a valid refresh token for a new access token and refresh token. - [Generate Twilio Voice Token](https://mint-docs.sternrockcapital.com/api-reference/authentication/generate-twilio-voice-token.md): Returns a Twilio access token with a Voice grant for the authenticated user’s email. - [Google OAuth Login](https://mint-docs.sternrockcapital.com/api-reference/authentication/google-oauth-login.md): Redirects the user to Google's OAuth consent screen to authorize and connect their email account. - [List Authenticated Providers](https://mint-docs.sternrockcapital.com/api-reference/authentication/list-authenticated-providers.md): Returns a list of all authenticated provider accounts (such as email) for the authenticated user. - [Login User](https://mint-docs.sternrockcapital.com/api-reference/authentication/login-user.md): Authenticates user credentials and returns access and refresh tokens. - [Register New User](https://mint-docs.sternrockcapital.com/api-reference/authentication/register-new-user.md): Creates a new user account and returns access and refresh tokens. - [Advance Auto Dialer Session One Call](https://mint-docs.sternrockcapital.com/api-reference/autodialer/advance-auto-dialer-session-one-call.md): Increments the auto-dialer session one call forward, proceeding to dial the next lead in the session’s list. - [Cancel Auto Dialer Session Round](https://mint-docs.sternrockcapital.com/api-reference/autodialer/cancel-auto-dialer-session-round.md): Stops the current dialing attempt in the specified auto-dialer session without ending the session, allowing it to be resumed or advanced to the next call later. - [Create Auto Dialer Session](https://mint-docs.sternrockcapital.com/api-reference/autodialer/create-auto-dialer-session.md): Creates a new auto-dialer session for the current user, queuing calls for the specified lead IDs using the user’s assigned phone numbers. - [Get Active Auto Dialer Session](https://mint-docs.sternrockcapital.com/api-reference/autodialer/get-active-auto-dialer-session.md): Returns the active auto-dialer session for the current user; returns 400 if no active session exists. - [Update Auto Dialer Session](https://mint-docs.sternrockcapital.com/api-reference/autodialer/update-auto-dialer-session.md): Updates the session settings (such as calls per turn) for the auto-dialer session identified by sessionId. - [Assign Leads to Campaign List](https://mint-docs.sternrockcapital.com/api-reference/campaigns/assign-leads-to-campaign-list.md): Associates each lead UUID from the request body with the campaign list identified by campaignListId. - [Create Campaign](https://mint-docs.sternrockcapital.com/api-reference/campaigns/create-campaign.md): Creates a new campaign with the provided name and description. - [Create Campaign List](https://mint-docs.sternrockcapital.com/api-reference/campaigns/create-campaign-list.md): Creates a new lead list with the given name for the campaign identified by campaignId. - [Get Campaign](https://mint-docs.sternrockcapital.com/api-reference/campaigns/get-campaign.md): Returns the details of the campaign identified by campaignId. - [Get Campaign List](https://mint-docs.sternrockcapital.com/api-reference/campaigns/get-campaign-list.md): Returns the details of the campaign list identified by campaignListId. - [Link Leads to Campaign](https://mint-docs.sternrockcapital.com/api-reference/campaigns/link-leads-to-campaign.md): Associates the specified lead IDs with the given campaign. - [Link Phone Numbers to Campaign](https://mint-docs.sternrockcapital.com/api-reference/campaigns/link-phone-numbers-to-campaign.md): Associates provided phone numbers with the given campaign. - [List Campaign Leads](https://mint-docs.sternrockcapital.com/api-reference/campaigns/list-campaign-leads.md): Returns a paginated list of leads associated with the specified campaign. - [List Campaign List Leads](https://mint-docs.sternrockcapital.com/api-reference/campaigns/list-campaign-list-leads.md): Returns a paginated list of leads associated with the given campaign list UUID. - [List Campaign Lists](https://mint-docs.sternrockcapital.com/api-reference/campaigns/list-campaign-lists.md): Returns all campaign lists belonging to the campaign identified by campaignId. - [List Campaign Phone Numbers](https://mint-docs.sternrockcapital.com/api-reference/campaigns/list-campaign-phone-numbers.md): Returns a paginated list of phone numbers linked to the given campaign UUID. - [List Campaign Settings](https://mint-docs.sternrockcapital.com/api-reference/campaigns/list-campaign-settings.md): Retrieves all settings associated with the specified campaign. - [List User Campaigns](https://mint-docs.sternrockcapital.com/api-reference/campaigns/list-user-campaigns.md): Retrieves a list of campaigns belonging to the authenticated user. - [List Conversation Messages](https://mint-docs.sternrockcapital.com/api-reference/conversations/list-conversation-messages.md): Retrieves a paginated list of messages for the conversation identified by its UUID. - [List Conversations](https://mint-docs.sternrockcapital.com/api-reference/conversations/list-conversations.md): Retrieves a paginated list of conversations, including lead, campaign, and phone number details. campaignId is required; leadId is optional. - [Get Document](https://mint-docs.sternrockcapital.com/api-reference/documents/get-document.md): Retrieves the document identified by the given UUID from S3 and returns it as a file attachment. - [Introduction](https://mint-docs.sternrockcapital.com/api-reference/introduction.md): Example section for showcasing API endpoints - [Add Lead Note](https://mint-docs.sternrockcapital.com/api-reference/leads/add-lead-note.md): Creates a note entry for the lead identified by leadId from the authenticated user. - [Create Lead Business](https://mint-docs.sternrockcapital.com/api-reference/leads/create-lead-business.md): Adds a business record under the specified lead UUID. - [Create Lead Loan](https://mint-docs.sternrockcapital.com/api-reference/leads/create-lead-loan.md): Adds a loan record under the specified lead UUID. - [Create New Lead](https://mint-docs.sternrockcapital.com/api-reference/leads/create-new-lead.md): Creates a lead along with its primary business and an initial loan (with default amount/term). - [Delete Lead Business](https://mint-docs.sternrockcapital.com/api-reference/leads/delete-lead-business.md): Deletes the specified business record under a lead. - [Delete Lead Loan](https://mint-docs.sternrockcapital.com/api-reference/leads/delete-lead-loan.md): Deletes the specified loan record under a lead. - [Get Lead](https://mint-docs.sternrockcapital.com/api-reference/leads/get-lead.md): Returns the primary person and business details associated with the given lead UUID. - [List Lead Activities](https://mint-docs.sternrockcapital.com/api-reference/leads/list-lead-activities.md): Returns all activities (notes, calls, emails, meetings) for the lead identified by leadId. - [List Lead Applications](https://mint-docs.sternrockcapital.com/api-reference/leads/list-lead-applications.md): Returns a paginated list of application records for the given lead UUID, including person and business names. - [List Lead Businesses](https://mint-docs.sternrockcapital.com/api-reference/leads/list-lead-businesses.md): Retrieves a paginated list of businesses associated with the given lead UUID. - [List Lead Documents](https://mint-docs.sternrockcapital.com/api-reference/leads/list-lead-documents.md): Returns a paginated list of documents uploaded for the specified lead. - [List Leads](https://mint-docs.sternrockcapital.com/api-reference/leads/list-leads.md): Returns a paginated list of leads, including each lead’s primary business and loan info. - [Send Email to Lead](https://mint-docs.sternrockcapital.com/api-reference/leads/send-email-to-lead.md): Sends an email to the lead identified by leadId using the authenticated user's connected Google account (OAuth required). - [Update Lead](https://mint-docs.sternrockcapital.com/api-reference/leads/update-lead.md): Updates one or more fields for a lead identified by their UUID. - [Update Lead Business](https://mint-docs.sternrockcapital.com/api-reference/leads/update-lead-business.md): Updates one or more fields of a lead’s business specified by its UUID. Only non-empty fields in the request will be applied. - [Update Lead Loan](https://mint-docs.sternrockcapital.com/api-reference/leads/update-lead-loan.md): Updates one or more fields of a lead’s loan specified by its UUID. Only non-zero or non-nil fields in the request will be applied. - [Upload Lead Document](https://mint-docs.sternrockcapital.com/api-reference/leads/upload-lead-document.md): Uploads a file to S3 and creates the corresponding Document and LeadDocument records for the specified lead. - [Delete Phone Number](https://mint-docs.sternrockcapital.com/api-reference/phone-numbers/delete-phone-number.md): Removes the phone number identified by the given UUID from the local database and unlinks it from VAPI if it exists there. - [Link Phone Numbers to VAPI](https://mint-docs.sternrockcapital.com/api-reference/phone-numbers/link-phone-numbers-to-vapi.md): Associates each phone number identified in the request with VAPI, creating the appropriate provider-specific record. - [List Phone Numbers](https://mint-docs.sternrockcapital.com/api-reference/phone-numbers/list-phone-numbers.md): Retrieves a paginated list of phone numbers stored in the database and flags those also registered in Vapi. - [Create Template](https://mint-docs.sternrockcapital.com/api-reference/templates/create-template.md): Creates a new template by loading it into the renderer and persisting its metadata. - [Get Template](https://mint-docs.sternrockcapital.com/api-reference/templates/get-template.md): Retrieves the specified template's metadata and content. - [List Templates](https://mint-docs.sternrockcapital.com/api-reference/templates/list-templates.md): Returns a paginated list of templates for the authenticated user. - [List Users](https://mint-docs.sternrockcapital.com/api-reference/users/list-users.md): Returns a list of all users. Requires admin role. - [Auto Dialer Notifications](https://mint-docs.sternrockcapital.com/api-reference/websockets/auto-dialer-notifications.md): Notifications channel for a specific autodialer session. - [Start Messenger](https://mint-docs.sternrockcapital.com/api-reference/websockets/start-messenger.md): This WebSocket channel establishes a bidirectional connection that enables real-time messaging between a user and a lead. - [Development](https://mint-docs.sternrockcapital.com/development.md): Preview changes locally to update your docs - [Code Blocks](https://mint-docs.sternrockcapital.com/essentials/code.md): Display inline code and code blocks - [Images and Embeds](https://mint-docs.sternrockcapital.com/essentials/images.md): Add image, video, and other HTML elements - [Markdown Syntax](https://mint-docs.sternrockcapital.com/essentials/markdown.md): Text, title, and styling in standard markdown - [Navigation](https://mint-docs.sternrockcapital.com/essentials/navigation.md): The navigation field in docs.json defines the pages that go in the navigation menu - [Reusable Snippets](https://mint-docs.sternrockcapital.com/essentials/reusable-snippets.md): Reusable, custom snippets to keep content in sync - [Global Settings](https://mint-docs.sternrockcapital.com/essentials/settings.md): Mintlify gives you complete control over the look and feel of your documentation using the docs.json file - [Introduction](https://mint-docs.sternrockcapital.com/introduction.md): Welcome to the home of your new documentation - [Quickstart](https://mint-docs.sternrockcapital.com/quickstart.md): Start building awesome documentation in under 5 minutes ## OpenAPI Specs - [openapi](https://mint-docs.sternrockcapital.com/api-reference/openapi.json) ## AsyncAPI Specs - [pusher-asyncapi](https://mint-docs.sternrockcapital.com/api-reference/pusher-asyncapi.yml) - [asyncapi](https://mint-docs.sternrockcapital.com/api-reference/asyncapi.yml) ## Optional - [Documentation](https://docs.sternrockcapital.com)