接口文档
OpenAPI 真源
API 文档直接读取已实现接口
页面上的版本号、路径数量、接口分组和下载入口都来自同一份 OpenAPI YAML,不再手写摘要页。
lili520.com OpenAPI
只展示已经真实落地、可联调、可回归的本站接口。
Single source of truth for implemented BFF routes.
文档版本
v2.6.0
路径数
113
操作数
127
对外可见入口
部署后可以直接从页面验证契约与版本。
环境
联调地址
联调前先确认实际 base URL。
正式环境
https://api.lili520.com测试环境
https://api-test.lili520.com认证
安全方案
最终认证方案以 OpenAPI securitySchemes 为准。
Bearer JWT
Bearer auth or dev fallback session context.
类型: http · 协议: bearer
OAuth 2.0
OAuth 2.0 authorization code flow for Gmail and third-party integrations.
类型: oauth2
流程: 授权码:2 个 scope,支持刷新令牌
主闭环
发送、回执、归档、导出
这四个接口是当前主业务闭环的关键联调入口。
/api/outreach/receiptWrite receipt event
Send and receipt
/api/outreach/sendSend outreach
Send and receipt
/api/crm/archiveArchive lead to CRM
Archive APIs
/api/export/crmExport CRM data
Export APIs
高级功能
已接通的高级模块接口
调度、搜索、实时通信、数据大屏、洞察、合规、权限、国际化、主题、移动端、快捷键、引导和反馈都从这里可见。
/api/channel-accountsGet all channel accounts
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/gmail/callbackComplete Gmail OAuth callback
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/gmail/connectStart Gmail OAuth connect
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/gmail/statusGet Gmail account pool status
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/whatsapp/callbackVerify WhatsApp callback
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/whatsapp/callbackWrite back WhatsApp callback event
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/whatsapp/connectConnect WhatsApp business channel
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/whatsapp/statusGet WhatsApp channel pool status
Gmail、WhatsApp、通道发送与回写
/api/channel-events/writebackWrite back normalized channel event
Gmail、WhatsApp、通道发送与回写
/api/channel-send/executeExecute integrated channel send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/gmail/executeExecute Gmail pool send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/gmail/testTest Gmail pool send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/preparePrepare integrated channel send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/testExecute channel test send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/whatsapp/executeExecute WhatsApp pool send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/whatsapp/testTest WhatsApp pool send
Gmail、WhatsApp、通道发送与回写
/api/channels/gmail/callbackComplete legacy Gmail callback
Gmail、WhatsApp、通道发送与回写
/api/channels/gmail/connectStart legacy Gmail connect
Gmail、WhatsApp、通道发送与回写
/api/channels/gmail/sendSend via legacy Gmail path
Gmail、WhatsApp、通道发送与回写
/api/channels/gmail/statusGet legacy Gmail status
Gmail、WhatsApp、通道发送与回写
/api/channels/healthGet legacy channel health
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/callbackVerify legacy WhatsApp callback
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/callbackWrite legacy WhatsApp callback
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/connectRefresh legacy WhatsApp status
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/sendSend via legacy WhatsApp path
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/statusGet legacy WhatsApp status
Gmail、WhatsApp、通道发送与回写
/api/sender-poolsGet sender pools
Sender pool management
/api/sender-poolsCreate sender pool
Sender pool management
/api/channel-routing/recommendationGet routing recommendation
Routing rules and recommendations
/api/routing-rulesGet routing rules
Routing rules and recommendations
/api/routing-rulesCreate routing rule
Routing rules and recommendations
/api/channel-health/summaryGet channel health summary
Channel health summary
/api/channel-logs/deliveryGet delivery logs
Delivery and reply logs
/api/channel-logs/replyGet reply logs
Delivery and reply logs
/api/reply-console/threadsGet reply console threads
Reply AI and approval workflow
/api/reply-console/threads/{id}Get reply thread detail
Reply AI and approval workflow
/api/reply-console/threads/{id}/approve-replyApprove or reject reply draft
Reply AI and approval workflow
/api/reply-console/threads/{id}/classifyClassify reply intent
Reply AI and approval workflow
/api/reply-console/threads/{id}/draft-replyGenerate AI reply draft
Reply AI and approval workflow
/api/audit-logsGet channel audit logs
Channel audit trail
/api/quality/issuesGet quality issues
Quality issues and fixes
/api/quality/issues/{id}/fixFix quality issue
Quality issues and fixes
/api/ai-training/jobsGet training jobs
Training models and jobs
/api/ai-training/modelsGet training models
Training models and jobs
/api/ai-training/models/{id}/pausePause model
Training models and jobs
/api/ai-training/models/{id}/retrainRetrain model
Training models and jobs
/api/ai-training/models/{id}/startStart model
Training models and jobs
/api/scheduler/healthGet scheduler health
Scheduler jobs and runs
/api/scheduler/jobsGet scheduler jobs
Scheduler jobs and runs
/api/scheduler/jobsCreate scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}Update scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}Delete scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}/pausePause scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}/resumeResume scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}/runRun scheduler job
Scheduler jobs and runs
/api/scheduler/runsGet scheduler runs
Scheduler jobs and runs
/api/search/healthGet search health
Search queries and saved searches
/api/search/historyGet search history
Search queries and saved searches
/api/search/queryRun search query (GET)
Search queries and saved searches
/api/search/queryRun search query and persist history
Search queries and saved searches
/api/search/savedGet saved searches
Search queries and saved searches
/api/search/savedSave search
Search queries and saved searches
/api/search/saved/{id}Delete saved search
Search queries and saved searches
/api/realtime/channelsGet realtime channels
Channels and events
/api/realtime/connectConnect channel
Channels and events
/api/realtime/disconnectDisconnect channel
Channels and events
/api/realtime/eventsGet realtime events
Channels and events
/api/realtime/healthGet realtime health
Channels and events
/api/realtime/testSend realtime test event
Channels and events
/api/databoard/chartsGet databoard charts
Metrics and charts
/api/databoard/healthGet databoard health
Metrics and charts
/api/databoard/metricsGet databoard metrics
Metrics and charts
/api/ai-insights/generateGenerate AI insight
Insight generation and history
/api/ai-insights/healthGet AI insight health
Insight generation and history
/api/ai-insights/historyGet AI insight history
Insight generation and history
/api/ai-insights/summaryGet latest AI insight summary
Insight generation and history
/api/compliance/audit-logsGet compliance audit logs
Compliance cases and logs
/api/compliance/casesGet compliance cases
Compliance cases and logs
/api/compliance/casesCreate compliance case
Compliance cases and logs
/api/compliance/healthGet compliance health
Compliance cases and logs
/api/permissions/audit-logsGet permission audit logs
Roles
/api/permissions/grantsGet permission grants
Roles
/api/permissions/grantsCreate permission grant
Roles
/api/permissions/grants/{id}Delete permission grant
Roles
/api/permissions/healthGet permissions health
Roles
/api/permissions/rolesGet roles
Roles
/api/permissions/usersGet users
Roles
/api/i18n/healthGet i18n health
Locales and translations
/api/i18n/localesGet locales
Locales and translations
/api/i18n/locales/{locale}/publishPublish locale
Locales and translations
/api/i18n/publish-logsGet publish logs
Locales and translations
/api/i18n/translationsGet translations
Locales and translations
/api/themes/currentGet current theme
Theme settings
/api/themes/currentUpdate current theme
Theme settings
/api/themes/healthGet themes health
Theme settings
/api/themes/logsGet theme logs
Theme settings
/api/mobile/devicesGet mobile devices
Devices
/api/mobile/healthGet mobile health
Devices
/api/mobile/push/logsGet mobile push logs
Devices
/api/mobile/push/testSend mobile push test
Devices
/api/mobile/releasesGet mobile releases
Devices
/api/shortcutsGet shortcuts
Shortcut configuration
/api/shortcutsCreate shortcut
Shortcut configuration
/api/shortcuts/{id}Delete shortcut
Shortcut configuration
/api/shortcuts/healthGet shortcuts health
Shortcut configuration
/api/onboarding/healthGet onboarding health
Onboarding tasks
/api/onboarding/tasksGet onboarding tasks
Onboarding tasks
/api/onboarding/tasks/{id}/completeComplete onboarding task
Onboarding tasks
/api/feedback/healthGet feedback health
Feedback items and votes
/api/feedback/itemsGet feedback items
Feedback items and votes
/api/feedback/itemsCreate feedback item
Feedback items and votes
/api/feedback/items/{id}/voteVote feedback item
Feedback items and votes
/api/webhooksGet managed webhooks
Managed webhooks and logs
/api/webhooksCreate webhook
Managed webhooks and logs
/api/webhooks/{id}Delete webhook
Managed webhooks and logs
/api/webhooks/logsGet webhook logs
Managed webhooks and logs
/api/webhooks/testSend webhook test request
Managed webhooks and logs
/api/capabilitiesGet capability registry
Version and capability APIs
/api/versionGet version and runtime capabilities
Version and capability APIs
接口分组
查看全部真实接口
分组、方法、路径和摘要全部来自 OpenAPI 真源。
统一指标
Shared metrics
/api/metrics/overviewGet unified metrics
Shared metrics
审核
Review queue and bulk actions
/api/review/bulkBulk review
Review queue and bulk actions
/api/review/queueGet review queue
Review queue and bulk actions
客户
Customer APIs
/api/customersGet customers
Customer APIs
开发信触达
Send and receipt
/api/outreach/receiptWrite receipt event
Send and receipt
/api/outreach/sendSend outreach
Send and receipt
客户管理
Archive APIs
/api/crm/archiveArchive lead to CRM
Archive APIs
导出
Export APIs
/api/export/crmExport CRM data
Export APIs
触达通道
Gmail、WhatsApp、通道发送与回写
/api/channel-accountsGet all channel accounts
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/gmail/callbackComplete Gmail OAuth callback
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/gmail/connectStart Gmail OAuth connect
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/gmail/statusGet Gmail account pool status
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/whatsapp/callbackVerify WhatsApp callback
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/whatsapp/callbackWrite back WhatsApp callback event
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/whatsapp/connectConnect WhatsApp business channel
Gmail、WhatsApp、通道发送与回写
/api/channel-accounts/whatsapp/statusGet WhatsApp channel pool status
Gmail、WhatsApp、通道发送与回写
/api/channel-events/writebackWrite back normalized channel event
Gmail、WhatsApp、通道发送与回写
/api/channel-send/executeExecute integrated channel send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/gmail/executeExecute Gmail pool send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/gmail/testTest Gmail pool send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/preparePrepare integrated channel send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/testExecute channel test send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/whatsapp/executeExecute WhatsApp pool send
Gmail、WhatsApp、通道发送与回写
/api/channel-send/whatsapp/testTest WhatsApp pool send
Gmail、WhatsApp、通道发送与回写
/api/channels/gmail/callbackComplete legacy Gmail callback
Gmail、WhatsApp、通道发送与回写
/api/channels/gmail/connectStart legacy Gmail connect
Gmail、WhatsApp、通道发送与回写
/api/channels/gmail/sendSend via legacy Gmail path
Gmail、WhatsApp、通道发送与回写
/api/channels/gmail/statusGet legacy Gmail status
Gmail、WhatsApp、通道发送与回写
/api/channels/healthGet legacy channel health
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/callbackVerify legacy WhatsApp callback
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/callbackWrite legacy WhatsApp callback
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/connectRefresh legacy WhatsApp status
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/sendSend via legacy WhatsApp path
Gmail、WhatsApp、通道发送与回写
/api/channels/whatsapp/statusGet legacy WhatsApp status
Gmail、WhatsApp、通道发送与回写
发送池
Sender pool management
/api/sender-poolsGet sender pools
Sender pool management
/api/sender-poolsCreate sender pool
Sender pool management
路由规则
Routing rules and recommendations
/api/channel-routing/recommendationGet routing recommendation
Routing rules and recommendations
/api/routing-rulesGet routing rules
Routing rules and recommendations
/api/routing-rulesCreate routing rule
Routing rules and recommendations
通道健康
Channel health summary
/api/channel-health/summaryGet channel health summary
Channel health summary
通道日志
Delivery and reply logs
/api/channel-logs/deliveryGet delivery logs
Delivery and reply logs
/api/channel-logs/replyGet reply logs
Delivery and reply logs
回复控制台
Reply AI and approval workflow
/api/reply-console/threadsGet reply console threads
Reply AI and approval workflow
/api/reply-console/threads/{id}Get reply thread detail
Reply AI and approval workflow
/api/reply-console/threads/{id}/approve-replyApprove or reject reply draft
Reply AI and approval workflow
/api/reply-console/threads/{id}/classifyClassify reply intent
Reply AI and approval workflow
/api/reply-console/threads/{id}/draft-replyGenerate AI reply draft
Reply AI and approval workflow
审计日志
Channel audit trail
/api/audit-logsGet channel audit logs
Channel audit trail
数据质量
Quality issues and fixes
/api/quality/issuesGet quality issues
Quality issues and fixes
/api/quality/issues/{id}/fixFix quality issue
Quality issues and fixes
训练中心
Training models and jobs
/api/ai-training/jobsGet training jobs
Training models and jobs
/api/ai-training/modelsGet training models
Training models and jobs
/api/ai-training/models/{id}/pausePause model
Training models and jobs
/api/ai-training/models/{id}/retrainRetrain model
Training models and jobs
/api/ai-training/models/{id}/startStart model
Training models and jobs
任务调度
Scheduler jobs and runs
/api/scheduler/healthGet scheduler health
Scheduler jobs and runs
/api/scheduler/jobsGet scheduler jobs
Scheduler jobs and runs
/api/scheduler/jobsCreate scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}Update scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}Delete scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}/pausePause scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}/resumeResume scheduler job
Scheduler jobs and runs
/api/scheduler/jobs/{id}/runRun scheduler job
Scheduler jobs and runs
/api/scheduler/runsGet scheduler runs
Scheduler jobs and runs
高级搜索
Search queries and saved searches
/api/search/healthGet search health
Search queries and saved searches
/api/search/historyGet search history
Search queries and saved searches
/api/search/queryRun search query (GET)
Search queries and saved searches
/api/search/queryRun search query and persist history
Search queries and saved searches
/api/search/savedGet saved searches
Search queries and saved searches
/api/search/savedSave search
Search queries and saved searches
/api/search/saved/{id}Delete saved search
Search queries and saved searches
实时通信
Channels and events
/api/realtime/channelsGet realtime channels
Channels and events
/api/realtime/connectConnect channel
Channels and events
/api/realtime/disconnectDisconnect channel
Channels and events
/api/realtime/eventsGet realtime events
Channels and events
/api/realtime/healthGet realtime health
Channels and events
/api/realtime/testSend realtime test event
Channels and events
数据大屏
Metrics and charts
/api/databoard/chartsGet databoard charts
Metrics and charts
/api/databoard/healthGet databoard health
Metrics and charts
/api/databoard/metricsGet databoard metrics
Metrics and charts
智能洞察
Insight generation and history
/api/ai-insights/generateGenerate AI insight
Insight generation and history
/api/ai-insights/healthGet AI insight health
Insight generation and history
/api/ai-insights/historyGet AI insight history
Insight generation and history
/api/ai-insights/summaryGet latest AI insight summary
Insight generation and history
合规
Compliance cases and logs
/api/compliance/audit-logsGet compliance audit logs
Compliance cases and logs
/api/compliance/casesGet compliance cases
Compliance cases and logs
/api/compliance/casesCreate compliance case
Compliance cases and logs
/api/compliance/healthGet compliance health
Compliance cases and logs
权限
Roles
/api/permissions/audit-logsGet permission audit logs
Roles
/api/permissions/grantsGet permission grants
Roles
/api/permissions/grantsCreate permission grant
Roles
/api/permissions/grants/{id}Delete permission grant
Roles
/api/permissions/healthGet permissions health
Roles
/api/permissions/rolesGet roles
Roles
/api/permissions/usersGet users
Roles
国际化
Locales and translations
/api/i18n/healthGet i18n health
Locales and translations
/api/i18n/localesGet locales
Locales and translations
/api/i18n/locales/{locale}/publishPublish locale
Locales and translations
/api/i18n/publish-logsGet publish logs
Locales and translations
/api/i18n/translationsGet translations
Locales and translations
主题
Theme settings
/api/themes/currentGet current theme
Theme settings
/api/themes/currentUpdate current theme
Theme settings
/api/themes/healthGet themes health
Theme settings
/api/themes/logsGet theme logs
Theme settings
移动端
Devices
/api/mobile/devicesGet mobile devices
Devices
/api/mobile/healthGet mobile health
Devices
/api/mobile/push/logsGet mobile push logs
Devices
/api/mobile/push/testSend mobile push test
Devices
/api/mobile/releasesGet mobile releases
Devices
快捷键
Shortcut configuration
/api/shortcutsGet shortcuts
Shortcut configuration
/api/shortcutsCreate shortcut
Shortcut configuration
/api/shortcuts/{id}Delete shortcut
Shortcut configuration
/api/shortcuts/healthGet shortcuts health
Shortcut configuration
新手引导
Onboarding tasks
/api/onboarding/healthGet onboarding health
Onboarding tasks
/api/onboarding/tasksGet onboarding tasks
Onboarding tasks
/api/onboarding/tasks/{id}/completeComplete onboarding task
Onboarding tasks
用户反馈
Feedback items and votes
/api/feedback/healthGet feedback health
Feedback items and votes
/api/feedback/itemsGet feedback items
Feedback items and votes
/api/feedback/itemsCreate feedback item
Feedback items and votes
/api/feedback/items/{id}/voteVote feedback item
Feedback items and votes
回调管理
Managed webhooks and logs
/api/webhooksGet managed webhooks
Managed webhooks and logs
/api/webhooksCreate webhook
Managed webhooks and logs
/api/webhooks/{id}Delete webhook
Managed webhooks and logs
/api/webhooks/logsGet webhook logs
Managed webhooks and logs
/api/webhooks/testSend webhook test request
Managed webhooks and logs
元信息
Version and capability APIs
/api/capabilitiesGet capability registry
Version and capability APIs
/api/versionGet version and runtime capabilities
Version and capability APIs