Conversation Attachment

Upload a file as a conversation attachment

Upload the specified file to the conversation. The file can be specified either as a HTTP URL, a data URL, a multipart/form-data, or as a raw file stream. There is currently a limit of 4.5MB for files uploaded via all available methods except for direct-to-source uploads when using application/json request body with a file object.

post/conversation/{conversationId}/attachment/upload

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/conversation/{conversationId}/attachment/upload
  • Auth: HTTP bearer

Path parameters

conversationIdstring required

Request body

OR

Response

The file was uploaded successfully

idstring required

The ID of the upload file

namestring

The name of the uploaded file

Changes

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