Fetch Secret

Fetch a secret

get
/v1/secret/{secretId}/fetch

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

secretIdstring* Required

The ID of the secret to retrieve

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

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"id":"string",
"name":"string",
"description":"string",
"kind":"string",
"type":"string",
"config":"object",
"meta":"object",
"createdAt":"number",
"updatedAt":"number"
}
The secret was retrieved successfully