API reference
Every tool, with its arguments, what it returns and its errors, in cURL, JavaScript and Python.
Open the API referenceDevelopers
Choose the ChatWith API for your own HTTPS calls or the MCP server for an AI client. Both use one JSON-RPC endpoint and a workspace API key.
Start here
Every tool, with its arguments, what it returns and its errors, in cURL, JavaScript and Python.
Open the API referenceConnect Claude, Cursor or any MCP client to manage assistants, knowledge, conversations and leads.
Connect a clientCreate a cw_live_ key and send it as a bearer token. The key decides the workspace, plan and role.
Authenticate requestsQuick start
cw_live_ key. Authentication shows how to send it.tools/call to one HTTPS endpoint, as on the right. The first request and the tool reference have every tool.curl -sS -X POST 'https://www.chatwith.website/mcp' \
-H 'Authorization: Bearer cw_live_...' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ask_assistant",
"arguments": {
"assistant_id": "YOUR_ASSISTANT_ID",
"message": "your message"
}
}
}'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "{\"conversation_id\":null,\"reply\":{\"content\":\"Illustrative reply from the assistant.\",\"status\":\"ok\"},\"sources\":[{\"title\":\"Pricing\",\"url\":\"https://example.com/pricing\"}]}"
}
],
"structuredContent": {
"conversation_id": null,
"reply": {
"content": "Illustrative reply from the assistant.",
"status": "ok"
},
"sources": [
{
"title": "Pricing",
"url": "https://example.com/pricing"
}
]
}
}
}Guides
Eight workflows on the tools, from answering from your docs to client workspaces.
See the workflowsDeclare an outputSchema on your own MCP, so the chat can send users to the right page after a tool runs.
Add an outputSchemaNo outside AI subscription for them. One snippet for you.
Plans from $29 a month · Change or cancel anytime