AppWizard API Documentation

Command Processing API

POST /api/process-command
Content-Type: application/json

Request Body:
{
  "command": string,
  "type": "voice"|"text"|"quick"
}

Response:
{
  "success": boolean,
  "message": string,
  "redirectUrl": string,
  "action": "open"|"search"|"navigate"
}

The API will process the command and return an appropriate action. The frontend should then:
1. If action is "open", immediately redirect to redirectUrl
2. If action is "search", show search results
3. If action is "navigate", show navigation options