Chatbot Personas
Add Chatbot Persona
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
Add Chatbot Persona
Add a custom persona to the chatbot
POST
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
personas
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"instructions": "<string>"
}'
{
"success": true,
"message": "Added a custom persona to the chatbot successfully",
"data": {
"persona": {
"id": "8224ca11-5ec3-434c-bfcc-880dcf3990c8",
"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
Body
application/json
Request Body to add a custom persona to the chatbot
Request body
Response
200
application/json
OK
Success Response
Was this page helpful?
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"instructions": "<string>"
}'
{
"success": true,
"message": "Added a custom persona to the chatbot successfully",
"data": {
"persona": {
"id": "8224ca11-5ec3-434c-bfcc-880dcf3990c8",
"title": "Custom",
"description": "Custom Persona",
"instructions": "Answer in an engaging and interactive way."
}
}
}