POST
/
file
curl --request POST \
  --url https://api.jsxmail.org/file \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "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.

Body

multipart/form-data

The file to upload

The body is of type object.

Response

200
application/json

File uploaded

The response is of type object.