Chatbot Follow Up Prompts

Update Follow Up Prompt

Update follow-up prompt of the chatbot

patch/v0/chatbots/{chatbotId}/follow-up-prompts/{followUpPromptId}

Request

  • Base URL: https://sitegpt.ai/api
  • URL: https://sitegpt.ai/api/v0/chatbots/{chatbotId}/follow-up-prompts/{followUpPromptId}
  • Auth: HTTP bearer

Path parameters

chatbotIdstring required

Id of the chatbot

followUpPromptIdstring required

Id of the follow-up promptId

Request body

titlestring

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

linkstring nullable

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

descriptionstring

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

isEscalationPromptboolean

Indicates whether the follow-up prompt is an escalation prompt or not

Response

OK

successboolean

Indicates whether this is success response or error response

messagestring

Overall message regarding the operation performed

dataobject

Data returned from the server

Changes

No recorded changes to this operation across all 1 revision of this API.