API reference: Leads

Leads. The contacts your agent captured.

Read the names, emails, phone numbers and companies visitors gave in conversations, update them and remove them. Use the lead.captured webhook to hear about new ones straight away.

Lead captured
from website chat
converted
NameSanne de Vries
Emailsanne@studiolicht.nl
CompanyStudio Licht
SimplyBoost your CRM

List leads

GET/chatbots/{chatbotId}/leads

The chatbot's leads, newest first.

Permission: leads:read

Path parameters

chatbotId
string (uuid)required

The chatbot. Listed by GET /chatbots.

Query parameters

limit
integer

Items per page, 1 to 100. Default 20.

cursor
string

meta.pagination.nextCursor from the previous page.

contact
string

true: only leads with an email address or phone number.

Request
curl https://get-api.simplyboost.io/api/v1/chatbots/CHATBOT_ID/leads?contact=true \
  -H "Authorization: Bearer $SIMPLYBOOST_TOKEN"

Response 200 OK

{
  "ok": true,
  "data": {
    "leads": [
      {
        "id": "7b1d2e9c-41f0-4c6a-8f0e-2a9d5c3b1e77",
        "chatbotId": "f45268b2-1980-470d-865d-5048a89aedce",
        "threadId": "3f0c9a52-6d1e-4b0a-9c51-0f3e2c7d8a14",
        "name": "Sanne de Vries",
        "email": "sanne@studiolicht.nl",
        "phone": null,
        "company": "Studio Licht",
        "channel": "web",
        "converted": false,
        "capturedAt": "2026-10-07T09:31:12+00:00"
      }
    ]
  },
  "meta": { "requestId": "req_…", "pagination": { "limit": 20, "hasMore": false, "nextCursor": null } }
}

Response fields

data.leads[].id
string

The lead's ID.

data.leads[].chatbotId
string

The chatbot that captured it.

data.leads[].threadId
string | null

The conversation it came from, when known.

data.leads[].name
string | null

Name the visitor gave.

data.leads[].email
string | null

Email address.

data.leads[].phone
string | null

Phone number.

data.leads[].company
string | null

Company.

data.leads[].channel
string

Channel it was captured on: web, api, whatsapp, instagram or facebook.

data.leads[].converted
boolean

Whether you marked it as converted.

data.leads[].capturedAt
string (date-time)

When it was captured.

meta.pagination
object

limit, hasMore (true when there is another page) and nextCursor (null on the last page).

Errors

StatusCodeWhen
404not_foundNo such chatbot, or this token may not see it.
400validation_errorlimit or cursor is not valid.

Get a lead

GET/chatbots/{chatbotId}/leads/{leadId}

One lead.

Permission: leads:read

Path parameters

chatbotId
string (uuid)required

The chatbot. Listed by GET /chatbots.

leadId
string (uuid)required

The lead, from lead.id.

Request
curl https://get-api.simplyboost.io/api/v1/chatbots/CHATBOT_ID/leads/LEAD_ID \
  -H "Authorization: Bearer $SIMPLYBOOST_TOKEN"

Response 200 OK

{
  "ok": true,
  "data": {
    "lead": {
      "id": "7b1d2e9c-41f0-4c6a-8f0e-2a9d5c3b1e77",
      "chatbotId": "f45268b2-1980-470d-865d-5048a89aedce",
      "threadId": "3f0c9a52-6d1e-4b0a-9c51-0f3e2c7d8a14",
      "name": "Sanne de Vries",
      "email": "sanne@studiolicht.nl",
      "phone": null,
      "company": "Studio Licht",
      "channel": "web",
      "converted": false,
      "capturedAt": "2026-10-07T09:31:12+00:00"
    }
  },
  "meta": { "requestId": "req_7c1e4b2a9f0d4e6c8b3a5d7f9e1c2b4a" }
}

Response fields

data.lead.id
string

The lead's ID.

data.lead.chatbotId
string

The chatbot that captured it.

data.lead.threadId
string | null

The conversation it came from, when known.

data.lead.name
string | null

Name the visitor gave.

data.lead.email
string | null

Email address.

data.lead.phone
string | null

Phone number.

data.lead.company
string | null

Company.

data.lead.channel
string

Channel it was captured on: web, api, whatsapp, instagram or facebook.

data.lead.converted
boolean

Whether you marked it as converted.

data.lead.capturedAt
string (date-time)

When it was captured.

Errors

StatusCodeWhen
404not_foundNo such chatbot or lead, or this token may not see it.

Update a lead

PATCH/chatbots/{chatbotId}/leads/{leadId}

Change only the fields you send. Send null to clear a contact field.

Permission: leads:write

Path parameters

chatbotId
string (uuid)required

The chatbot. Listed by GET /chatbots.

leadId
string (uuid)required

The lead, from lead.id.

Body (JSON)

name
string | null

Up to 255 characters.

email
string | null

A valid email address, up to 254 characters.

phone
string | null

Up to 50 characters.

company
string | null

Up to 255 characters.

converted
boolean

Mark the lead as converted, or not.

Request
curl -X PATCH https://get-api.simplyboost.io/api/v1/chatbots/CHATBOT_ID/leads/LEAD_ID \
  -H "Authorization: Bearer $SIMPLYBOOST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"converted": true, "company": "Studio Licht B.V."}'

Response 200 OK

{
  "ok": true,
  "data": { "lead": { "id": "7b1d…", "company": "Studio Licht B.V.", "converted": true, … } },
  "meta": { "requestId": "req_7c1e4b2a9f0d4e6c8b3a5d7f9e1c2b4a" }
}

Response fields

data.lead.id
string

The lead's ID.

data.lead.chatbotId
string

The chatbot that captured it.

data.lead.threadId
string | null

The conversation it came from, when known.

data.lead.name
string | null

Name the visitor gave.

data.lead.email
string | null

Email address.

data.lead.phone
string | null

Phone number.

data.lead.company
string | null

Company.

data.lead.channel
string

Channel it was captured on: web, api, whatsapp, instagram or facebook.

data.lead.converted
boolean

Whether you marked it as converted.

data.lead.capturedAt
string (date-time)

When it was captured.

Errors

StatusCodeWhen
400validation_errorA field is not one of the five above, has the wrong type or is too long, or email is not valid.
404not_foundNo such chatbot or lead, or this token may not see it.

Delete a lead

DELETE/chatbots/{chatbotId}/leads/{leadId}

Removes the lead from the leads list and the API. The conversation it came from is kept.

Permission: leads:delete

Path parameters

chatbotId
string (uuid)required

The chatbot. Listed by GET /chatbots.

leadId
string (uuid)required

The lead, from lead.id.

Request
curl -X DELETE https://get-api.simplyboost.io/api/v1/chatbots/CHATBOT_ID/leads/LEAD_ID \
  -H "Authorization: Bearer $SIMPLYBOOST_TOKEN"

Response 200 OK

{
  "ok": true,
  "data": { "id": "7b1d2e9c-41f0-4c6a-8f0e-2a9d5c3b1e77", "deleted": true },
  "meta": { "requestId": "req_7c1e4b2a9f0d4e6c8b3a5d7f9e1c2b4a" }
}

Response fields

data.id
string

The deleted lead's ID.

data.deleted
boolean

Always true.

Errors

StatusCodeWhen
404not_foundNo such chatbot or lead, or this token may not see it.

Try SimplyBoost with your own content

Start a 7-day free trial with 100 AI replies. Add your website, install the widget and see how the agent answers your customers.

See pricing
  • No credit card required
  • 7 days, 100 AI replies
  • From €39 a month
  • Hosted in Europe