POST
/
v0
/
chatbots
/
{chatbotId}
/
quick-prompts
curl --request POST \
  --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/quick-prompts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Contact us",
  "link": "",
  "description": "How to contact you?"
}'
{
  "success": true,
  "message": "Added quick prompt to the chatbot successfully",
  "data": {}
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Id of the chatbot

Body

title
string
required

Title of the quick-prompt. This is the text that is shown as button in the chatbot.

link
string | null

Link of the quick prompt. If this link is added, then when you click on the quick prompt in the chatbot, this link will be opened instead of sending a message to the chatbot.

description
string
required

Description of the quick-prompt. This is the message that will be sent to the chatbot when you click on the quick-prompt inside the chatbot.

Response

200 - application/json
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