Files

Endpoint for creating a new file. Upload a file using multipart/form-data.

post/files/

Request

  • Base URL
    https://api.wafeq.com/v1
  • URL
    https://api.wafeq.com/v1/files/
  • Auth
    API key in header Authorization

Request body multipart/form-data

filestring binary

Response

created_tsstring date-time required

The timestamp in UTC when the file created

filestring uri nullable

The actual file content.

file_sizeinteger nullable

The size of the file in bytes.

idstring required

The unique identifier of the file object.

mime_typestring required

The MIME type of the file.

modified_tsstring date-time required

The timestamp in UTC when the file was last modified

original_filenamestring

The original filename of the uploaded file.

Changes