# List chatbots

> Returns the workspace’s chatbots, newest first, with their sqid-encoded ids.

Source: https://www.hey.support/docs/api/chatbots/list-chatbots

---

<ApiEndpoint method="GET" path="/chatbots" />

Call this first to discover the `chatbot_id` that every other scoped endpoint expects.

## Query parameters

<TypeTable
  type={{
  "limit": { type: "integer", description: "", required: false },
  "offset": { type: "integer", description: "", required: false }
}}
/>

## Response `200`

Returns a `data` array with a `pagination` object. Each item:

<TypeTable
  type={{
  "id": { type: "string", description: "Sqid-encoded chatbot id", required: true },
  "name": { type: "string", description: "", required: true },
  "is_active": { type: "boolean", description: "False when the agent is paused and no longer answering visitors.", required: true },
  "created_at": { type: "string (date-time)", description: "", required: true }
}}
/>

### Errors

* `401` — Missing or invalid API key
* `429` — Rate limit exceeded

Every error shares [one envelope](/docs/api/errors).

## Example

```bash
curl https://www.hey.support/api/v1/chatbots \
  -H 'Authorization: Bearer hs_live_…'
```
