Skip to main content
PATCH
Update Chatbot Prompt

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

promptId
string
required

Id of the chatbot prompt

Body

application/json

Request body to update custom prompt of the chatbot

Request body

title
string | null

Title of the prompt.

description
string | null

Short description about the prompt.

instructions
string | null

Actual instructions that will be specified to the AI while generating the response.

temperature
number | null

Decides creativity level of the chatbot response. 0 is more focused and 1 is more creative/random.

Response

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