List Magic Prompts

Retrieve a list of magic prompts

get
/v1/magic/list

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

cursorstring

The cursor to use for pagination

orderstring

The order of the paginated items

takeinteger

The number of items to retrieve

curl -X GET "https://api.chatbotkit.com/v1/magic/list" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"items":[
{
"id":"string",
"name":"string",
"description":"string"
}
]
}
The list of magic prompts was retrieved successfully