Seguros APIseguros-api reference
Create new chat session
Authorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/chat-sessions" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "uuid-v4",
"userId": "uuid-v4",
"title": "Análise de vendas Q4",
"description": "Revisão de vendedores",
"status": "active",
"messageCount": 5,
"createdAt": "2025-10-21T14:00:00Z",
"updatedAt": "2025-10-21T14:25:00Z",
"lastActivityAt": "2025-10-21T14:25:00Z",
"preview": "Mostre top 10 vendedores..."
}