A I
AI assistant and natural language queries
Get AI service status
Returns the status of all configured AI providers and which one is active
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
AI service status
Test AI connection
Tests the connection to AI providers by sending a simple prompt
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequiredproviderstringProvider to test
"openai" | "anthropic" | "auto"Connection test successful
Test specific AI provider connection
Tests the connection to a specific AI provider
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
providerRequiredstringProvider to test
"openai" | "anthropic"Connection test successful
Generate email draft
Generate a professional sales email draft using AI with subject line and body
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequiredrecipientNameRequiredstringName of the email recipient
recipientCompanyRequiredstringCompany name of the recipient
purposeRequiredstringPurpose of the email (e.g., follow-up, introduction, proposal)
tonestringTone of the email
"professional and friendly"additionalContextstringAdditional context or information to include
recipientTitlestringRecipient job title
dealStagestringCurrent deal stage
dealValuenumberDeal value in dollars
painPointsarray<string>Known pain points of the prospect
lastInteractionstringSummary of last interaction
competitorsarray<string>Competitors being considered
providerstringPreferred AI provider
"openai" | "anthropic" | "auto"Email draft generated successfully
Analyze deal
Get AI-powered insights and recommendations for a sales deal
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequirednameRequiredstringName of the deal
valueRequirednumberValue of the deal in dollars
stageRequiredstringCurrent stage of the deal (e.g., Prospecting, Negotiation, Closing)
notesstringNotes about the deal
activitiesarray<string>List of recent activities
daysInStagenumberNumber of days in current stage
providerstringPreferred AI provider
"openai" | "anthropic" | "auto"Deal analysis completed
Score lead
Get an AI-powered lead score (0-100) with detailed reasoning
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequirednameRequiredstringName of the lead
companystringCompany name
titlestringJob title
sourcestringLead source (e.g., Website, Referral, Event)
emailstringEmail address
phonestringPhone number
activitiesarray<string>Recent activities
notesstringAdditional notes
websitestringCompany website
industrystringIndustry
companySizestringCompany size (e.g., 1-10, 11-50, 51-200)
engagementLevelstringEngagement level
providerstringPreferred AI provider
"openai" | "anthropic" | "auto"Lead scored successfully
Summarize meeting
Summarize a meeting transcript and extract key points, action items, and next steps
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequiredtranscriptRequiredstringMeeting transcript or notes to summarize
providerstringPreferred AI provider
"openai" | "anthropic" | "auto"Meeting summarized successfully
Suggest follow-up
Get AI-powered suggestions for follow-up actions, including email drafts and call scripts
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequiredlastInteractionstringDescription of the last interaction
lastInteractionDatestringDate of the last interaction
dealStagestringCurrent deal stage
objectionsarray<string>List of objections raised
dealValuenumberValue of the deal
contactNamestringContact name
companyNamestringCompany name
previousActionsarray<string>List of previous actions taken
dealNotesstringAdditional deal notes
providerstringPreferred AI provider
"openai" | "anthropic" | "auto"Follow-up suggestions generated
Generate completion
Generate a custom AI completion with your own prompt
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequiredpromptRequiredstringThe prompt to send to the AI
systemPromptstringSystem prompt to guide AI behavior
maxTokensnumberMaximum tokens in response
1000temperaturenumberTemperature for response creativity (0-1)
0.7providerstringPreferred AI provider
"openai" | "anthropic" | "auto"Completion generated successfully
A I Controller_get Insights
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
A I Controller_get Deal Insights
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
idRequiredstringA I Controller_get Lead Insights
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
A I Controller_dismiss Insight
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
idRequiredstring