Chats

Upload chat file

Changed on
post/api/v2/chats/files

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/chats/files
  • Auth
    API key in header Coder-Session-Token

Query parameters

organizationstring uuid required

Organization ID

Headers

Content-Dispositionstring required

Attachment disposition carrying the file name

Request body

string required

Response

Created

idstring uuid

Changes