curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Fetched all the custom personas of the chatbot successfully",
"data": {
"personas": [
{
"id": "505263b4-6b2a-499d-83de-a776b9a5130a",
"title": "Serious",
"description": "Serious persona",
"instructions": "You are a serious AI assistant who answers seriously."
},
{
"id": "f0207221-8535-4712-884a-ad4fd73d42a6",
"title": "Custom",
"description": "Custom Persona",
"instructions": "Answer in an engaging and interactive way."
}
]
}
}
Fetch all the personas of the chatbot
curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Fetched all the custom personas of the chatbot successfully",
"data": {
"personas": [
{
"id": "505263b4-6b2a-499d-83de-a776b9a5130a",
"title": "Serious",
"description": "Serious persona",
"instructions": "You are a serious AI assistant who answers seriously."
},
{
"id": "f0207221-8535-4712-884a-ad4fd73d42a6",
"title": "Custom",
"description": "Custom Persona",
"instructions": "Answer in an engaging and interactive way."
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Id of the chatbot
OK
Success Response
Was this page helpful?