POST
/
api
/
chat

リクエスト

Authorization
string
required
Firebase IDトークン (Bearer xxx)
message
string
required
修正指示(自然言語)
siteId
string
required
更新対象のサイトID

Example Request

curl -X POST https://app.hirameki-web.com/api/chat \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "ヘッダーの色を青に変更してください",
    "siteId": "your-site-id"
  }'

レスポンス

{
  "success": true,
  "reply": "ヘッダーの色を青に変更しました。"
}