> ## Documentation Index
> Fetch the complete documentation index at: https://chatbase.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# API v1 Overview

> Reference for the deprecated Chatbase API v1. API v1 still works for existing integrations.

<Warning>
  **Chatbase API v1 is deprecated.** For new integrations, we recommend using [API v2](/docs/api-reference/v2/overview). API v1 still works for existing integrations.
</Warning>

<Card title="Building a new integration?" icon="arrow-right" href="/docs/api-reference/v2/overview" cta="Explore API v2 documentation">
  Use the latest API version for new projects.
</Card>

## About API v1

API v1 provides legacy endpoints for interacting with chatbots, chat, conversations, leads, assets, and contacts.

## Endpoints

**Base URL:** `https://www.chatbase.co/api/v1`

| Method | Endpoint |
| - | - |
| `POST` | `/api/v1/chat` |
| `POST` | `/api/v1/create-chatbot` |
| `GET` | `/api/v1/get-chatbots` |
| `GET` | `/api/v1/get-conversations` |
| `GET` | `/api/v1/get-leads` |
| `DELETE` | `/api/v1/delete-chatbot` |
| `POST` | `/api/v1/update-chatbot-data` |
| `POST` | `/api/v1/update-chatbot-settings` |
| `POST` | `/api/v1/upload-chatbot-icon` |
| `POST` | `/api/v1/upload-chatbot-profile-picture` |
| `DELETE` | `/api/v1/delete-chatbot-icon` |
| `DELETE` | `/api/v1/delete-chatbot-profile-picture` |
| `GET` | `/api/v1/chatbots/{chatbotId}/contacts` |
| `POST` | `/api/v1/chatbots/{chatbotId}/contacts` |
| `GET` | `/api/v1/chatbots/{chatbotId}/contacts/{contactId}` |
| `PATCH` | `/api/v1/chatbots/{chatbotId}/contacts/{contactId}` |
| `DELETE` | `/api/v1/chatbots/{chatbotId}/contacts/{contactId}` |
| `GET` | `/api/v1/chatbots/{chatbotId}/custom-attributes` |
| `POST` | `/api/v1/chatbots/{chatbotId}/custom-attributes` |
| `PUT` | `/api/v1/chatbots/{chatbotId}/custom-attributes/{name}` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.