Upload File

Upload the specified file



Upload the specified file to the file storage service. 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.


ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

fileIdstring* Required

Request Body * Required

Request Body Schema: application/json

curl -X POST "https://api.chatbotkit.com/v1/file/{fileId}/upload" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

-H "Content-Type: application/json" \

--data-binary @- << EOF "" EOF
The file was upload successfully