cURL
curl --request GET \ --url https://api.mayerex.com/api/files/{id} \ --header 'Authorization: Bearer <token>'
{ "url": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "name": "<string>", "extension": "<string>", "type": "<string>", "size": 123 }
This endpoint fetches an individual file by ID, and returns a signed URL to access the file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the file
OK