Download File

Download a file

get
/v1/file/{fileId}/download

Description

Download a file. If the file is not public, the user must be authenticated.

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

fileIdstring* Required

The ID of the file to download

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

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"url":"string"
}
The file was downloaded successfully