Files

Upload files

Auth: User JWT

Files upload

post/v1/files/

Request

  • Base URL: https://api.chat.ethora.com
  • URL: https://api.chat.ethora.com/v1/files/
  • Auth: HTTP bearer

Response

{
  success: boolean,
  results: [{
    userId: string,
    ownerKey: string,
    location: string,
    locationPreview?: string,
    duration?: string,
    originalname: string,
    filename: string,
    mimetype: string,
    size: string,
    expiresAt: string,
    clientEncrypted: boolean,  // bytes are client-side ciphertext
    isPrivate: string,
    _id: string,
    createdAt: string,
    updatedAt: string,
  }],
}
successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.