Fetch File

Fetch a file

get
/v1/file/{fileId}/fetch

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

fileIdstring* Required

The ID of the file to retrieve

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

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"id":"string",
"name":"string",
"description":"string",
"visibility":"string",
"meta":"object",
"createdAt":"number",
"updatedAt":"number"
}
The file was retrieved successfully