Lock and unlock a smart lock and confirm the action succeeded using the Seam API

domain: docs.seam.co · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Get a Seam API key and set it as a Bearer token in the Authorization header for all requests to https://connect.getseam.com
  2. Call GET /devices/get with the device_id to confirm the device.can_remotely_lock and can_remotely_unlock capability flags before attempting an action
  3. POST to /locks/lock_door or /locks/unlock_door with the device_id to issue the command
  4. Poll GET /action_attempts/get with the returned action_attempt_id until status reaches success (or fails), since the initial response is often status: pending
  5. Check action_attempt.result.was_confirmed_by_device, because some lock brands cannot confirm the physical state change even when the command succeeds

Known gotchas

Related routes

Read a smart lock's live status and capabilities via the Seam API
docs.seam.co · 5 steps · unrated
Enable self-guided property showings by integrating a smart lock through the Seam API.
seam.co · 5 steps · unrated
Create a time-bound PIN access code on a smart lock via the Seam API
docs.seam.co · 5 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