Leads

Retrieve leads for your chatbot

Get all leads for a chatbot

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

Queries your chatbot and returns the answer and URLs used to find the answer.

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": "",
		"visitor_id": "",
		"name": null,
		"email": "user@example.com",
		"phone": null,
		"status": "read",
		"last_entry_at": "2023-09-30 13:10:39",
		"created_at": "2023-09-30 13:10:19",
		"updated_at": "2023-10-03 05:49:48"
	}
]

Last updated