cURL
curl --request PATCH \ --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas/{personaId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "description": "<string>", "instructions": "<string>" } '
200
Success Response
{ "success": true, "message": "Updated custom persona of the chatbot successfully", "data": { "persona": { "id": "8224ca11-5ec3-434c-bfcc-880dcf3990c8", "title": "Custom", "description": "Custom Persona", "instructions": "Answer in an engaging and interactive way." } }}
Update custom persona of the chatbot
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Id of the chatbot
Id of the chatbot persona
Request body to update custom persona of the chatbot
Request body
Title of the persona.
Short description about the persona.
Actual instructions that will be specified to the AI while generating the response.
OK
Success response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
Show child attributes
Was this page helpful?