Get Evidence
- 07 Oct 2024
- 1 Minute to read
- DarkLight
- PDF
Get Evidence
- Updated on 07 Oct 2024
- 1 Minute to read
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The Get Evidence API retrieves the complete evidence audit trail for a transaction. The evidence is produced as a single evidence pack that contains the full transaction audit trail, signer session recordings, identity validation data, and all additional evidence material.
This API can be called multiple times, but only after the transaction has been completed. The evidence is returned as a PDF file to be downloaded.
Syntax
GET /api/transaction/uuid: transaction_id/document/AuditTrailDocument/pdf
Examples
Example request
GET api/transaction/dcaad720-d1e9-47ba-a76b-a6370ef0373b/document/
AuditTrailDocument/pdf/ HTTP/1.1
Host: onespan.com
Accept: application/pdf
Example response
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/pdf
TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aG
lzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qg
b2YgdGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY2
...
9udGludWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGN1
ZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=
Headers
The following headers are included in the request and the response:
Request headers
Accept: The response content type depends on the Accept header.
Authorization: The OAuth/JWT token to authenticate.
Response headers
Content-Type: application/json
Status codes
Was this article helpful?