cURL
curl --request POST \ --url https://api.d1g.qzz.io/api/v1/ai/chat \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "message": "Give me trending TikTok topics", "conversationHistory": [ { "role": "user", "content": "<string>" } ] } '
{ "success": true, "data": { "response": "<string>" } }
Send a message to AI assistant
Use JWT token (from Supabase auth) or API key (format: sk_live_...)
"Give me trending TikTok topics"
Show child attributes
AI response generated
true