Chatbot Prompts
Fetch 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
Fetch Chatbot Prompt
Fetch a prompt of the chatbot
GET
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
prompts
/
{promptId}
curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/prompts/{promptId} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Fetched the custom prompt of the chatbot successfully",
"data": {
"prompt": {
"id": "78ac8ecd-d889-4700-8c8c-162c92731ff9",
"title": "Custom",
"description": "Custom Prompt",
"instructions": "You are an AI assistant which answers users questions.",
"temperature": 0.3
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the chatbot
Id of the chatbot prompt
Response
200
application/json
OK
Success Response
Was this page helpful?
curl --request GET \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/prompts/{promptId} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Fetched the custom prompt of the chatbot successfully",
"data": {
"prompt": {
"id": "78ac8ecd-d889-4700-8c8c-162c92731ff9",
"title": "Custom",
"description": "Custom Prompt",
"instructions": "You are an AI assistant which answers users questions.",
"temperature": 0.3
}
}
}