code access method in an Access Grant, Seam programs a PIN code onto the lock. Your user enters the code on the lock’s keypad to unlock the door.
PIN codes work with:
- Standalone smart locks — August, Yale, Schlage, Lockly, TTLock, Tedee, igloohome, and other connected locks. Specify the locks with
device_ids. - Access control systems — Salto KS, Salto Space, Brivo, dormakaba, and other ACS platforms that support PIN-based credentials. Specify entrances with
acs_entrance_idsor group access points into spaces and usespace_ids.
Before You Begin
To use PIN codes, you need:- A Seam API key
- One or more connected devices or ACS entrances that support PIN codes
- For standalone smart locks: confirm that
can_program_online_access_codesistrueon the device - For ACS entrances: confirm that
can_unlock_with_codeistrueon the entrance
Step 1: Verify Device or Entrance Support
Standalone Smart Locks
List your devices and confirm thatcan_program_online_access_codes is true.
ACS Entrances
List the entrances for your ACS and confirm thatcan_unlock_with_code is true.
Step 2: Create an Access Grant with a PIN Code
Create an Access Grant specifyingcode as the requested access method mode. You can target devices, entrances, or spaces.
In a sandbox workspace, PIN codes are issued almost instantly. On real devices, issuance can take a few moments. Poll the access method until
is_issued is true or watch for the access_method.issued event.Step 3: Retrieve the PIN Code
Once the access method is issued, list the access methods for the Access Granlist the access methods for the Access Grant to get the code. Share the code with your user through text, email, or your application.Step 4: See Which Doors an Access Method Covers
An access method can cover multiple doors — for example, if the Access Grant includes several devices or entrances. To see which doors a PIN code is programmed on, call/access_methods/get_related.
Next Steps
- Creating an Access Grant — Learn more about specifying devices, entrances, and spaces.
- Access Methods API Reference — See all access method properties and endpoints.

