Skip to main content
GET
/
api
/
files
/
{id}
Get File by ID
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the file

Response

OK

url
string | null
expiresAt
string<date-time>
name
string | null
extension
string | null
type
string | null
size
integer
I