Skip to Content
KnowYourChain Docs
Records

Download an evidence file

GET
/evidence/{evidenceId}

Returns the bytes of one evidence file. Use the uri from a record's evidenceFiles; it does not expire.

Evidence of a retracted record stays available. A file that does not exist and a file that is not yours both return 404.

Authorization

ApiKey
headerAuthorization<token>

Send Api-Key <key>, for example Authorization: Api-Key abc123.xyz.

Path Parameters

evidenceId*string

The evidenceId from a record's evidenceFiles.

Formatuuid

Response Body

The file, with the Content-Type of its mimeType.

response?file
Formatbinary
Example Request
curl -X GET 'https://api.knowyourchain.com/vendor/v1/evidence/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
"string"