Get a file by ID
Fetches a single file record from the user's storage vault by its ID.
GET
/api/files/{id}Path parameters
idnumberrequiredPath parameter: id
Request
curl
curl -X GET https://platform.trickest.com/api/files/{id} \
-H "Authorization: Bearer $TRICKEST_TOKEN"Responses
200File details
idstringrequirednamestringrequiredpathstringrequiredsizenumberrequiredcontent_typestringcreated_datestringrequiredmodified_datestringrequiredsigned_urlstring400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring