Get Action Attempt

Retrieve an Action Attempt using its ID.

Get an Action Attempt

GET https://connect.getseam.com/action_attempts/get

Query Parameters

NameTypeDescription

action_attempt_id*

String

ID of the Action Attempt to be retrieved

Headers

NameTypeDescription

Authorization*

String

Bearer <API_KEY>

{
  "action_attempt": {
    "status": "success",
    "action_attempt_id": "f7d02670-128a-49f1-b615-b44a2808e5c4",
    "action_type": "UNLOCK_DOOR",
    "result": {},
    "error": null
  },
  "ok": true
}

Code Example

seam.action_attempts.get("")

# ActionAttempt(
#   action_attempt_id='f7d02670-128a-49f1-b615-b44a2808e5c4', 
#   action_type='UNLOCK_DOOR', 
#   status='success', 
#   result={}, 
#   error=None
# )

Parameters

action_attempt_id

type: string

ID of the Action Attempt to be retrieved

Response

This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.

JSON format

{
  "action_attempt": {
    "status": "success",
    "action_attempt_id": "f7d02670-128a-49f1-b615-b44a2808e5c4",
    "action_type": "UNLOCK_DOOR",
    "result": {},
    "error": null
  },
  "ok": true
}

Last updated

Logo

Β© Seam Labs, Inc. All rights reserved.