Chatbot Prompts
Add Chatbot Prompt
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 Prompts
Add Chatbot Prompt
Add a custom prompt to the chatbot
POST
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
prompts
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/prompts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"instructions": "<string>",
"temperature": "<string>"
}'
{
"success": true,
"message": "Added a custom prompt to the chatbot successfully",
"data": {
"prompt": {
"id": "c50191ee-85d0-4f46-9448-3ab74441c9fb",
"title": "Random",
"description": "Prompt for random replies",
"instructions": "You are an AI assistant who provides random answers for all the questions asked.",
"temperature": 0.99
}
}
}
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 prompt 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/prompts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"instructions": "<string>",
"temperature": "<string>"
}'
{
"success": true,
"message": "Added a custom prompt to the chatbot successfully",
"data": {
"prompt": {
"id": "c50191ee-85d0-4f46-9448-3ab74441c9fb",
"title": "Random",
"description": "Prompt for random replies",
"instructions": "You are an AI assistant who provides random answers for all the questions asked.",
"temperature": 0.99
}
}
}