Version: 1.0.0
AI SmartTalk Public API v1
Complete API documentation for AI SmartTalk platform.
Authentication
OAuth 2.0 for Chat (recommended for mobile apps)
Flow:
GET /api/oauth/aist/authorize- Start authorization (with PKCE for mobile)- User logs in and selects chatModel
POST /api/oauth/aist/token- Exchange code for access token- Use access token directly with chat endpoints:
Authorization: Bearer <ACCESS_TOKEN>
That's it. The OAuth access token works directly with /api/chat, /api/chat/voice, etc.
Alternative: Anonymous (no auth required)
If the chatModel allows anonymous users, no token is needed.