GET
/
file
curl --request GET \
  --url https://api.jsxmail.org/file \
  --header 'Authorization: Bearer <token>'
{
  "totalPages": 123,
  "total": 123,
  "hasNext": true,
  "files": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "encoding": "<string>",
      "hash": "<string>",
      "id": "<string>",
      "key": "<string>",
      "mimeType": "<string>",
      "originalName": "<string>",
      "size": 123,
      "url": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

take
integer

The number of results to return

page
integer

The page number to return

Response

200 - application/json
Files
totalPages
integer
required
total
integer
required
hasNext
boolean
required
files
object[]