---
title: "Listen for messages"
method: GET
path: "/bot/{botId}/testSession/messages/{leadId}"
tags: ["BotTesting"]
---

# Listen for messages

`GET /bot/{botId}/testSession/messages/{leadId}`

## Path parameters

- `botId` string, required
- `leadId` string, required

## Response `200`

Success

---

[API](https://skmtc.dev/closebot/apis/closebot-api.md) · [All operations](https://skmtc.dev/closebot/apis/closebot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/closebot/closebot-api/revisions/da5f5fb58534/schema)
