---
title: "List chat buttons"
method: GET
path: "/chat_buttons"
tags: ["Agent"]
---

# List chat buttons

`GET /chat_buttons`

## Request

- Base URL: `https://api.meetdarwin.ai/v1`
- URL: `https://api.meetdarwin.ai/v1/chat_buttons`
- Auth: HTTP bearer

Requires the `agent:read` scope.

## Response `200`

OK

- object
  - `object` 'list', required
  - `data` ChatButton[], required
    - `id` string, required
    - `object` 'chat_button', required
    - `label` string, required
    - `message` string, required
    - `behavior` 'send' | 'fill' | 'agent' | 'outcome', required
    - `style` 'brand' | 'soft' | 'outline' | 'link', required
    - `size` 'sm' | 'md' | 'lg' | 'custom', required
    - `corners` 'match' | 'square' | 'pill' | 'custom', required
    - `width` 'auto' | 'full', required
    - `colors` object, required
      - `background` string, required
      - `text` string, required
      - `border` string, required
      - `hover` string, required
    - `custom` object, required
      - `paddingX` number, required
      - `paddingY` number, required
      - `fontSize` number, required
      - `radius` number, required
    - `nofollow` boolean, required
    - `link` string, required
    - `html` string, required: The paste-in HTML: a plain link that opens the chat already on the page.
  - `has_more` boolean, required
  - `next_cursor` string, nullable, required

## Other responses

- `400`: Invalid request (`invalid_request`, `unsupported_version`).
- `401`: Missing or invalid key (`authentication_required`, `invalid_api_key`).
- `402`: The workspace must add a card before the API can be used (`payment_required`).
- `403`: The key lacks the scope (`insufficient_scope`).
- `404`: No such object in this workspace (`not_found`).
- `409`: Conflicts with the current state (`conflict`, `idempotency_key_in_use`).
- `422`: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
- `429`: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.

---

[API](https://skmtc.dev/meetdarwin/apis/darwin-api.md) · [All operations](https://skmtc.dev/meetdarwin/apis/darwin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/meetdarwin/apis/darwin-api/revisions/4b7ea8fe8645?raw)
