Files

Returns a single file in a workspace.

get/files/{fileId}

Request

  • Base URL
    https://api.superchat.com/v1.0
  • URL
    https://api.superchat.com/v1.0/files/{fileId}
  • Auth
    API key in header X-API-KEY

Path parameters

fileIdstring required

Public ID of the file.

Response

OK

idstring required

The ID of the file

namestring required

The name of the file

mime_typestring required

The MIME type of the file. Allowed types application/pdf, application/rtf, application/msword, application/, image/jpeg, image/png, image/gif, image/, audio/mpeg, audio/ogg, audio/webm, audio/aac, audio/, video/mp4, video/quicktime, video/

urlstring

The URL of the file resource

Example response

{
  "link": {
    "valid_until": "2022-03-10T16:15:50Z"
  }
}

Changes

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status