Create File

Create file

post
/v1/file/create

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Request Body * Required

Request Body Schema: application/json

namestring

The name of the file

descriptionstring

A description of the file

visibilitystring

The file visibility

metaobject

Meta data information

curl -X POST "https://api.chatbotkit.com/v1/file/create" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

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

--data-binary @- << EOF {
"name":"string",
"description":"string",
"visibility":"string",
"meta":"object"
}
EOF
{
"id":"string"
}
The file was created successfully