Get an Action Attempt
Returns a specified action attempt.
Returns a specified action attempt.
Code:
await seam.actionAttempts.get({
action_attempt_id: "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
});Output:
{
"action_attempt_id": "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"action_type": "UNLOCK_DOOR",
"error": null,
"result": {},
"status": "success"
}Returns a specified action attempt.
Code:
curl --include --request POST "https://connect.getseam.com/action_attempts/get" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"action_attempt_id": "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f"
}
EOFOutput:
{
"action_attempt": {
"action_attempt_id": "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"action_type": "UNLOCK_DOOR",
"error": null,
"result": {},
"status": "success"
}
}Returns a specified action attempt.
Code:
Output:
Returns a specified action attempt.
Code:
Output:
Returns a specified action attempt.
Code:
Output:
Returns a specified action attempt.
Code:
Output:
Request Parameters
action_attempt_id String (Required)
ID of the action attempt that you want to get.
Response
Returns: action_attempt
Last updated
Was this helpful?

