API: Settings & Auth
Manage app settings and authentication.
Settings
GET
/api/settingsGet all settings + user profile
Auth: Session
PUT
/api/settingsUpsert settings (key-value pairs)
Auth: Session
Update settings
{ "senderName": "John", "senderCompany": "Acme", "emailTemplateStyle": "bold" }Authentication
POST
/api/auth/onboardCreate org + user on first login
Auth: Sign-in token
POST
/api/auth/set-sessionSet session cookie after auth
Auth: None
Notifications
GET
/api/notificationsList notifications
Auth: Session
POST
/api/notificationsCreate a notification
Auth: Session
PUT
/api/notificationsMark as read
Auth: Session
DELETE
/api/notificationsDelete notification
Auth: Session
Other Endpoints
GET
/api/sourcesList available lead sources with field mappings
Auth: Session
GET
/api/duplicatesList duplicate leads
Auth: Session
DELETE
/api/duplicatesDelete duplicates (?id=x or ?all=true)
Auth: Session
POST
/api/sentimentAnalyze email reply sentiment
Auth: None
POST
/api/email-repliesProcess email reply with sentiment
Auth: Session
POST
/api/sequences/processProcess pending email sequences
Auth: None
GET
/api/unsubscribeProcess unsubscribe link
Auth: None
POST
/api/unsubscribeUnsubscribe an email
Auth: None