Process a natural-language command with Home Assistant's Conversation API

domain: iot · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. POST a JSON body like {"text": "turn on the lights in the living room", "language": "en"} to /api/conversation/process with your auth token
  2. Or send {"type": "conversation/process", "text": "...", "language": "en"} over the authenticated WebSocket API
  3. Optionally set agent_id to target a non-default conversation agent (defaults to the home_assistant agent)
  4. Read response.response_type in the reply (action_done, query_answer, or error) to see what happened
  5. Pass the returned conversation_id back on the next request to continue a multi-turn conversation
  6. Check continue_conversation in the response to know if HA expects a follow-up utterance

Known gotchas

Related routes

Control Home Assistant devices and automate via the REST API and WebSocket API
home-assistant.io · 6 steps · unrated
Assign, close, and manage conversation state via the Intercom Conversations API
developers.intercom.com/docs/references/rest-api/api.intercom.io/conversations · 6 steps · unrated
Transfer an AI agent conversation with context to a human agent using the Zendesk AI Agents API
developer.zendesk.com/documentation/ai-agents · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans