Skip to content
QwryAI
Documentation
Pages

Getting Started

API v1 Overview

The legacy chat endpoint, and where each older endpoint's job lives now

API v1 is QwryAI's earlier API. One endpoint remains, POST /api/v1/chat, kept so integrations written for it keep working. Everything else is done with the current API: the Chat API for conversations and the Tools API for agents, conversations, leads and contacts.

About API v1

API v1 uses the same API keys as the current API, sent as Authorization: Bearer YOUR_API_KEY. The key needs Chat with agents, and API access needs the Starter, Growth or Enterprise plan. Errors come back as { "message": "…" } with no error code. See Authentication to create a key.

Endpoints

Base URL: https://api.qwryai.com/api/v1

MethodEndpointStatus
POST/chatAvailable. See Chat with a chatbot.

Each older endpoint's job, and where to do it now:

JobUse now
List chatbotslist_agents
Replace a chatbot's textupdate_source_content
Update chatbot settingsupdate_instructions, update_model and more
Get conversationsquery_conversations
Get leadsRecent form submissions
Upload or delete the chat iconupdate_styles with launcherIconUrl
Upload or delete the profile pictureupdate_styles with agentPictureUrl
Update a contactupdate_contact_tags
Read contact attributesget_procedure_context

Creating and deleting chatbots, and creating, reading or deleting contacts and custom attributes, aren't available through the API. Do them in the dashboard.

Explore the documentation