await seam.actionAttempts.list({
action_attempt_ids: [
"5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"3f2b1c8d-1b5e-4f8c-9c7d-9a8b7c6d5e4f",
],
});
/*
[
{
"action_attempt_id": "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"action_type": "UNLOCK_DOOR",
"error": null,
"result": {
"was_confirmed_by_device": false
},
"status": "success"
},
{
"action_attempt_id": "3f2b1c8d-1b5e-4f8c-9c7d-9a8b7c6d5e4f",
"action_type": "LOCK_DOOR",
"error": null,
"result": {},
"status": "success"
}
]
*/
{
"action_attempts": [
{
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "LOCK_DOOR",
"created_at": "2023-11-07T05:31:56Z",
"error": {
"message": "<string>",
"type": "<string>"
},
"result": {},
"status": "success"
}
],
"pagination": {
"has_next_page": true,
"next_page_cursor": "<string>",
"next_page_url": "<string>"
}
}Action Attempts
List Action Attempts
Returns a list of the action attempts that you specify as an array of action_attempt_ids or by device_id, newest first.
GET
/
action_attempts
/
list
await seam.actionAttempts.list({
action_attempt_ids: [
"5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"3f2b1c8d-1b5e-4f8c-9c7d-9a8b7c6d5e4f",
],
});
/*
[
{
"action_attempt_id": "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"action_type": "UNLOCK_DOOR",
"error": null,
"result": {
"was_confirmed_by_device": false
},
"status": "success"
},
{
"action_attempt_id": "3f2b1c8d-1b5e-4f8c-9c7d-9a8b7c6d5e4f",
"action_type": "LOCK_DOOR",
"error": null,
"result": {},
"status": "success"
}
]
*/
{
"action_attempts": [
{
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "LOCK_DOOR",
"created_at": "2023-11-07T05:31:56Z",
"error": {
"message": "<string>",
"type": "<string>"
},
"result": {},
"status": "success"
}
],
"pagination": {
"has_next_page": true,
"next_page_cursor": "<string>",
"next_page_url": "<string>"
}
}Authorizations
api_keypersonal_access_token
Query Parameters
Types of the action attempts that you want to list, such as LOCK_DOOR and UNLOCK_DOOR.
Available options:
LOCK_DOOR, UNLOCK_DOOR, SCAN_CREDENTIAL, ENCODE_CREDENTIAL, SCAN_TO_ASSIGN_CREDENTIAL, ASSIGN_CREDENTIAL, RESET_SANDBOX_WORKSPACE, SET_FAN_MODE, SET_HVAC_MODE, ACTIVATE_CLIMATE_PRESET, ACTIVATE_WEEKLY_PROGRAM, SIMULATE_KEYPAD_CODE_ENTRY, SIMULATE_MANUAL_LOCK_VIA_KEYPAD, PUSH_THERMOSTAT_PROGRAMS, SET_THERMOSTAT_WEEKLY_PROGRAM, CONFIGURE_AUTO_LOCK, CONVERT_ACCESS_CODE_TO_MANAGED, SET_SPEAKER_VOLUME, SET_SPEAKER_MUTE, PAUSE_SPEAKER_PLAYBACK, RESUME_SPEAKER_PLAYBACK, PLAY_SPEAKER_CHIME, PLAY_SPEAKER_FAVORITE, PLAY_SPEAKER_AUDIO_CLIP, SET_TEMPERATURE_CONTROLLER_MODE, SYNC_ACCESS_CODES, CREATE_ACCESS_CODE, DELETE_ACCESS_CODE, UPDATE_ACCESS_CODE, CREATE_NOISE_THRESHOLD, DELETE_NOISE_THRESHOLD, UPDATE_NOISE_THRESHOLD Was this page helpful?