---
title: "Update Chatbot Persona"
method: PATCH
path: "/v0/chatbots/{chatbotId}/settings/personas/{personaId}"
tags: ["Chatbot Personas"]
---

# Update Chatbot Persona

`PATCH /v0/chatbots/{chatbotId}/settings/personas/{personaId}`

## Request

- Base URL: `https://sitegpt.ai/api`
- URL: `https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas/{personaId}`
- Auth: HTTP bearer

Update custom persona of the chatbot

## Request body

- object: Request body
  - `title` string, nullable: Title of the persona.
  - `description` string, nullable: Short description about the persona.
  - `instructions` string, nullable: Actual instructions that will be specified to the AI while generating the response.

## Response `200`

OK

- object: 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
    - `persona` ChatbotPersona: Chatbot Persona
      - `id` string: Id of the persona
      - `title` string: Title of the persona
      - `description` string: Short description of the persona
      - `instructions` string: Actual instructions of the persona. These will be sent to Open AI.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection.md) · [All operations](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/llms.txt) · [OpenAPI document](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/revisions/aec0de1a00af?raw)
