Prompts

Retrieve smart prompts for a chatbot

Retrieve smart prompts for the chatbot

GET https://api.sitespeak.ai/v1/{chatbot_id}/prompts

Returns the smart prompts for the chatbot.

Path Parameters

NameTypeDescription

chatbot_id*

String

The ID of your chatbot. You can find the ID on the settings page for your chatbot.

Headers

NameTypeDescription

Authorization*

String

Bearer {api_token}

[
	{
		"id": "",
		"chatbot_id": "",
		"name": "Pricing Plans",
		"prompt": "How much does it cost to use your service?",
		"type": "ai",
		"action": null,
		"created_at": "2023-10-05T13:36:59.000000Z",
		"updated_at": "2023-10-05T13:36:59.000000Z"
	},
	{
		"id": "",
		"chatbot_id": "",
		"name": "",
		"prompt": "",
		"type": "ai",
		"action": null,
		"created_at": "2023-10-05T13:36:45.000000Z",
		"updated_at": "2023-10-05T13:36:45.000000Z"
	}
]

Last updated