cURL
curl --request GET \ --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/quick-prompts \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Fetched quick prompts of the chatbot successfully", "data": { "prompts": [ { "id": "538aa9ca-ef69-4a1a-a6a2-ba1f62f05c43", "title": "Contact us", "description": "How to contact you?" }, { "id": "40ffc3fe-9d74-439c-bfec-8b0d69a94836", "title": "Yo", "description": "Hey what's up?" } ] } }
Fetch all quick prompts of a particular chatbot
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Your Chatbot ID
OK
Success Response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
Show child attributes
Array containing quick prompts
Id of the quick-prompt
Title of the quick-prompt. This is the text that is shown as button in the chatbot.
Link of the quick prompt. If this link is not null, 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 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.
Was this page helpful?