Skip to main content
POST
/
v0
/
chatbots
/
{chatbotId}
/
conversation-starters
Add Conversation Starter
curl --request POST \
  --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/conversation-starters \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "link": "<string>"
}
'
{
  "success": true,
  "message": "Added conversation starter to the chatbot successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

chatbotId
string
required

Your Chatbot ID

Body

Request body to add a conversation starter

Request Body

title
string
required

Title of the conversation-starter. This is the text that is shown as button in the chatbot.

description
string
required

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

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

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