GET
/
v1
/
lead
/
{id}
Get Chatbot Leads
curl --request GET \
  --url https://api.droxy.ai/v1/lead/{id} \
  --header 'x-api-key: <api-key>'
{
  "chatbotName": "<string>",
  "startInterval": "<string>",
  "endInterval": "<string>",
  "createdAt": "<string>",
  "leads": [
    {
      "createdAt": 123,
      "email": "<string>",
      "name": "<string>",
      "phone": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The chatbot's id.

Query Parameters

start
number

The beginning of the date range to query. Unix timestamp in milliseconds.

end
number

The end of the date range to query. Unix timestamp in milliseconds.

Response

OK

chatbotName
string
required

The chatbot's name.

startInterval
string
required

The beginning of the date range to query. Unix timestamp in milliseconds.

endInterval
string
required

The end of the date range to query. Unix timestamp in milliseconds.

createdAt
string
required

The date the chatbot was created. Unix timestamp in milliseconds.

leads
object[]
required

An array of leads.