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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Id of the chatbot

Response

200
application/json
OK

Success Response

success
boolean

Indicates whether this is success response or error response

message
string

Overall message regarding the operation performed

data
object

Data returned from the server