SiteSpeakAI API Docs
Create Your Chatbot
  • Welcome!
  • Quick Start
  • Reference
    • API Reference
      • Chatbot
      • Conversation History
      • Echo Fine-tunes
      • Leads
      • Prompts
      • Query
      • Sources
      • User
Powered by GitBook
On this page
  1. Reference
  2. API Reference

Leads

Get all leads for a chatbot

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

Returns all the leads for your chatbot.

Path Parameters

Name
Type
Description

chatbot_id*

String

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

Headers

Name
Type
Description

Accept*

String

application/json

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"
	}, 
	...
]

PreviousEcho Fine-tunesNextPrompts

Last updated 11 months ago