Upload Attachment

This operation uploads a file attachment to the Talk system.

Allowed Extensions are '.7z', '.3g2', '.3gp', '.zip', '.xlsx', '.xls', '.txt', '.pptx', '.ppt', '.pdf', '.png','.mpeg', '.mp3', '.jpg', '.jpeg', '.gif', '.docx', '.doc', '.csv', '.avi','.flv', '.mp4', '.mov', '.wmv', '.mpga', '.m4a', '.ogg', '.webm', '.wav', '.mkv', '.m3u8'. The maximum file size allowed is 10 MB.

Authorization and Permissions

  • An OpenAm token is required to upload attachments.
  • The user must have content retrieval permission, which is granted by a Talk administrator.
Body Params

The Upload Attachment request payload.

file
required

The file attachment, which is uploaded as a multipart/form-data request. Include the file in the request body with the key file.

string

The file name, which is sent as a multipart/form-data request. It must be provided without an extension. If not provided, the original file name will be used. The file name must be less than 260 characters.

Headers
string
required

An OpenAm token for the user.

string

A UUID value to track the request, used for debugging and tracing.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json