Threads

Upload attachments

Uploads files to a thread you own. Use the returned IDs in attachment_ids when sending a message. Uploads alone do not send a message. Accepts the same file types and limits as the web app: up to 5 files per upload request and 25 uploaded files total per thread. A message may reference files from multiple upload requests. Use a distinct multipart field name for each file, such as attachments[0], attachments[1].

post/threads/{thread-id}/attachments

Request

  • Base URL: https://api.korey.ai/api/v1
  • URL: https://api.korey.ai/api/v1/threads/{thread-id}/attachments
  • Auth: HTTP bearer

Path parameters

thread-idstring uuid required

The thread ID.

Response

Created

idstring uuid required
filenamestring required

Changes

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