Chatbot Personas
Fetch All Chatbot Personas
API Documentation
Chatbot Appearance
Chatbot Custom Content
Chatbot Follow Up Prompts
Chatbot Icons
Chatbot Links
Chatbot Messages
Chatbot Personas
Chatbot Prompts
Chatbot Quick Prompts
Chatbot Settings
Chatbot Threads
Chatbot Personas
Fetch All Chatbot Personas
Fetch all the personas of the chatbot
GET
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
personas
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."
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the chatbot
Response
200
application/json
OK
Success Response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
Was this page helpful?
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."
}
]
}
}