Home/Smart Locks/Offline Access Codes

SMART LOCK CAPABILITIES

Smart Locks That Support Offline Access Codes

Seam supports offline access codes on 43 smart lock models from 3 manufacturers, including igloohome, Lockly and Dormakaba.

Deadbolt 2E
igloohome
Guard Athena (228sl)
Lockly
Oracode 460K
Dormakaba
Models
43
Brands
3
Systems
3

Live & beta integrations · Device database coverage

Every model, and the systems that cover it

43 models are live or in beta today. Status is per system, so one lock can be Live through one system and unavailable through another. Open a model to see which system covers it.
Systems that issue offline access codes · 3 systems
  • igloohome APILive
  • LocklyLive
  • OracodeLive

43 compatible models · showing 8

Browse all 43 models by brand, connectivity and capability
On this page
Quickstart

Issue an offline code in 60 seconds

One Access Grant issues the code. The digits come from a registry the manufacturer keeps synchronized with the lock, so nothing has to reach the door.

1// Set SEAM_API_KEY on your server.
2import { Seam } from "seam"
3
4const seam = new Seam()
5
6const startsAt = new Date()
7const endsAt = new Date(startsAt.getTime() + 3 * 24 * 60 * 60 * 1000)
8// Replace with your own connected device or entrance ID.
9const grant = await seam.accessGrants.create({
10  user_identity: { full_name: "Jane Doe", email_address: "jane@example.com" },
11  device_ids: ["6ba7b811-9dad-11d1-80b4-00c04fd430c8"],
12  requested_access_methods: [{ mode: "code" }],
13  starts_at: startsAt.toISOString(),
14  ends_at: endsAt.toISOString(),
15})
16console.log(grant.access_grant_id) // Save this ID; retrieve access methods and check is_issued before delivery.
Fastest path

Build it with your AI agent

Install the Seam plugin and your coding agent picks up three integration skills: Reservation Automations, Access Grants and Access Codes. It then writes the calls the way we would. Paste the prompt below and let it build.

1. Install the plugin

/plugin marketplace add seamapi/seam-plugin
/plugin install seam@seamapi

The Claude Code install also adds our documentation MCP server, so the agent can look up endpoints and device capabilities while it works. Cursor, Codex and other agents get the skills through npx skills add and can add the MCP server there separately.

2. Paste this prompt

Prompt
Using the Seam Access Grants skill, issue an offline access code. In a sandbox workspace: connect a virtual igloohome lock, confirm can_program_offline_access_codes is true on it, create an access grant with requested_access_methods [{ mode: "code" }] for a two-day window, then read the code back once is_issued is true. Explain why the code works without the lock being online, and what I cannot change about it afterwards.
Walkthrough

How it works

  1. Connect the lock and confirm support

    Your user links their lock or access system account through Seam Connect Webview. Seam returns the doors behind it as devices and entrances. Confirm can_program_offline_access_codes is true on what comes back. False means the lock is capable but cannot use it right now, and a missing property means it never does this.

  2. Create an Access Grant

    Name the person, the doors and the window, then ask for a offline PIN code in requested_access_methods. Seam works out how to satisfy that on the specific hardware, so the call is the same for a battery deadbolt and a wired reader. Swap device_ids for space_ids to cover a whole unit, or acs_entrance_ids for entrances on an access control system. A time-bound offline code expires at its configured ends_at. Once issued, the Seam API cannot update or revoke the code early; deleting the Access Grant does not invalidate it at the lock. Choose the access window with that limit in mind.

    1// Set SEAM_API_KEY on your server.
    2import { Seam } from "seam"
    3
    4const seam = new Seam()
    5
    6const startsAt = new Date()
    7const endsAt = new Date(startsAt.getTime() + 3 * 24 * 60 * 60 * 1000)
    8// Replace with your own connected device or entrance ID.
    9const grant = await seam.accessGrants.create({
    10  user_identity: { full_name: "Jane Doe", email_address: "jane@example.com" },
    11  device_ids: ["6ba7b811-9dad-11d1-80b4-00c04fd430c8"],
    12  requested_access_methods: [{ mode: "code" }],
    13  starts_at: startsAt.toISOString(),
    14  ends_at: endsAt.toISOString(),
    15})
    16console.log(grant.access_grant_id) // Save this ID; retrieve access methods and check is_issued before delivery.
  3. Send the code to your user

    Read the digits off the access method once is_issued is true and send them by SMS or email. The lock validates the code with its own clock and keys, so it works with no internet at the door and nobody within Bluetooth range.

    1// Set SEAM_API_KEY on your server.
    2import { Seam } from "seam"
    3
    4const seam = new Seam()
    5
    6// Export SEAM_ACCESS_GRANT_ID using the grant created above.
    7const grantId = process.env.SEAM_ACCESS_GRANT_ID
    8if (!grantId) throw new Error("Set SEAM_ACCESS_GRANT_ID")
    9const methods = await seam.accessMethods.list({ access_grant_id: grantId })
    10// Deliver only issued methods. If none are issued yet, retry later or handle the access-method event.
    11for (const method of methods) {
    12  if (method.mode === "code" && method.is_issued) {
    13    console.log(method.code)
    14  }
    15}
FAQ

Frequently asked questions

Which smart locks support offline access codes?

Seam supports offline access codes on 43 smart lock models from 3 manufacturers, including igloohome, Lockly and Dormakaba. The table on this page comes from Seam's device database, and each model links to its own page with the per-system status and any hardware requirements.

How can a code work on a lock with no internet?

The manufacturer keeps a server-side registry of algorithmically generated codes, synchronized with the lock through shared encryption keys. Seam draws the code from that registry, and the lock recognises it using its own clock. Nothing is programmed onto the device when the code is issued.

Can I change or revoke an offline code early?

No. An offline code cannot be modified, and it cannot be revoked before its expiry, because the lock has no connection to receive the change. Invalidating one early means a factory reset or re-pairing the device. Keep windows short and treat the expiry as the revocation.

Which brands support offline codes through Seam?

igloohome, dormakaba Oracode and Lockly today. The table on this page tracks the live status per system, and each model page lists its own constraints.

What schedules can an offline code have?

Time-bound codes are hourly-bound for short stays or daily-bound for longer ones, and a daily-bound code wants the same clock time in starts_at and ends_at. igloohome and Lockly also issue one-time-use codes. Access Grants pick a valid shape for the device and warn with device_time_constraints_violated when the window cannot be represented.

When should I prefer offline codes over online ones?

When the lock has no reliable connection: remote cabins, basements, parking garages, or fleets where installing bridges is not worth it. If the lock is online, online codes are easier to live with, because they can be changed and revoked at any time.

Pricing

Ready to Scale With You

Seam lets developers and businesses connect apps to real-world IoT devices. The free trial is built for small teams to build and test, while enterprise pricing scales with the biggest device fleets out there.
Best Enterprise Solution

Custom Subscription for Your Business

Access tailored solutions, paying a fixed monthly rate that scales as you grow.
Enhanced Security
Beta Features Access
Dedicated Support Channel
Volume Discounts
No Usage Limits
Trusted by Over 1,000 Companies
Start Now

Try It for Free

Start with a free trial and explore the full API and related features.

Have questions? Talk to our team.

Chat with us to learn how Seam can power your access automation.
—“Discovering Seam was one of these Aha moments in the business. I couldn’t believe what I was seeing. I mean, it was exactly what we were looking for: a simple API that we could integrate and have access to all these devices in a matter of seconds.”
François Gouelo
CEO, Enso Connect
Company
How many devices you need to connect?
Name
Email
How did you find us?
Comment
We usually answer within 24 hours.
One API for All Devices
Global Infrastructure for Controlling the Physical World
Seam makes controlling IoT devices seamless and programmable. Our teams operate globally,
enabling businesses of all sizes.
Smart Locks
Access Systems
Knowledge
Lock Capabilities
Thermostats
Sensors
© 2026 Seam Labs, Inc.