Upload Thread File

Upload a file for a specific chat thread. NOTE: Uploads are limited to 10 GB.

Path parameters

group_idintegerRequired
thread_idintegerRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
filestringRequiredformat: "binary"

The file to upload

namestringRequired>=1 character<=2048 characters

Name of the file including extension

typeenumRequired

Type/category of the file

Response

Successful Response

namestring

The human-readable name of the file

idinteger
group_idinteger
thread_idinteger
typeenumOptional

The type of the file

created_atdatetimeOptional
updated_atdatetimeOptional
is_archivedbooleanOptional

Errors