Execution Result API

Endpoint to query result once the device session is complete i.e. flow is completed (success / error / skipped) on the user's device.

Request

TypeURL
GEThttps://api.attestr.com/api/{version}/public/flowx/handshake/{handshakeId}

Request Header Parameters

TypeNameValue / DescriptionOptionalMin VersionMax Version
StringContent-Typeapplication/jsonRequiredv1
StringAuthorizationBasic {authToken}Requiredv1

Response

HTTP status code 200

KeyDescriptionTypeMin VersionMax Version
_idId of the handshakeStringv1
numberUnique number associated with handshakeStringv1
tagUnique tag as provided in createHandshake APIStringv1
requestIdUnique request Id generated by Attestr for tracing purposesStringv1
consumedFlag to check if handshake was consumed i.e. the particular handshake Id was used to execute the flow once on the user's device.Booleanv1
archivedReturns the unix timestamp of archival if the handshake is archivedNumberv1
resultResult object containing final result of execution. Null if handshake is archived.DeviceSessionResultv1
resultSignatureSignature string generated using hmacHexDigest of result object and client secret. Null if archived.Stringv1

DeviceSessionResult

DeviceSessionResult is the final result object which contains the input and output for every stage traversed in the flow. It follows the below described structure. The object contains stage Id values as its keys. For every stage Id, it stores input and output. The structure of input and output varies for every stage type.

JSON
Copy

Sample Response

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard