cURL
curl --request GET \ --url https://api.treasuryprime.com/file/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "data": [ { "content_hash": "5644a65d2e0adb879329196d8e115be52e2a921c", "content_length": 347504, "content_type": "image/jpeg", "content_url": "https://treasuryprime-usercontent.com/sandbox/org_1he97gra9he/0/5644...", "created_at": "2023-11-16T22:59:31Z", "id": "file_11jnd0n3nx", "updated_at": "2023-11-16T22:59:31Z" } ] }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Unique identifier for object
The file
The response is of type object.
object