Simulate a Keypad Code Entry
Simulates the entry of a code on a keypad. You can only perform this action for August devices within sandbox workspaces.
Simulates the entry of a code on a keypad.
Code:
await seam.locks.simulate.keypadCodeEntry({
device_id: "97a7a706-05a9-405c-91e5-b03e5b9c2003",
code: "1234",
});Output:
{
"action_attempt_id": "9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d",
"action_type": "SIMULATE_KEYPAD_CODE_ENTRY",
"error": null,
"result": {},
"status": "success"
}Simulates the entry of a code on a keypad.
Code:
curl --include --request POST "https://connect.getseam.com/locks/simulate/keypad_code_entry" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "97a7a706-05a9-405c-91e5-b03e5b9c2003",
"code": "1234"
}
EOFOutput:
{
"action_attempt": {
"action_attempt_id": "9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d",
"action_type": "SIMULATE_KEYPAD_CODE_ENTRY",
"error": null,
"result": {},
"status": "success"
}
}Simulates the entry of a code on a keypad.
Code:
Output:
Simulates the entry of a code on a keypad.
Code:
Output:
Simulates the entry of a code on a keypad.
Code:
Output:
Simulates the entry of a code on a keypad.
Code:
Output:
Request Parameters
code String (Required)
Code that you want to simulate entering on a keypad.
device_id String (Required)
ID of the device for which you want to simulate a keypad code entry.
Response
Returns: action_attempt
Last updated
Was this helpful?

