Create Secret

Create secret

post
/v1/secret/create

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Request Body * Required

Request Body Schema: application/json

namestring

The name of the secret

descriptionstring

A description of the secret

kindstring

The kind of the secret

typestring

The type of the secret

valuestring

The value of the secret

configstring

The config of the secret

metaobject

Meta data information

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

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

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

--data-binary @- << EOF {
"name":"string",
"description":"string",
"kind":"string",
"type":"string",
"value":"string",
"config":"string",
"meta":"object"
}
EOF
{
"id":"string"
}
The secret was created successfully