API Documentation
Chatbot Appearance
Chatbot Custom Content
Chatbot Follow Up Prompts
Chatbot Icons
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
Copy
curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas \
--header 'Authorization: Bearer <token>'
Copy
{
"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
Was this page helpful?
Copy
curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas \
--header 'Authorization: Bearer <token>'
Copy
{
"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."
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.