cURL
curl --request POST \ --url https://app.alana.shopping/api/ai/chat \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspace_id": "<string>", "message": "<string>", "brand_id": "<string>", "conversation_id": "<string>", "include_product_context": false } '
{ "conversation_id": "<string>", "message": "<string>", "suggestions": [ "<string>" ], "created_at": "2023-11-07T05:31:56Z" }
Start or continue a chat conversation with AI-powered brand context
Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>
Authorization: Bearer <token>
1
Optional brand context for AI
Continue existing conversation
Chat response generated successfully