Lelemon
  • Get started
  • Use cases
  • Guides
  • API basics
  • Webhooks
  • SDK, CLI and MCP
  • API reference
  • Changelog
  • v1 (legacy)
OverviewQuickstartSet up an account from zeroBuild with AI
powered by Zudoku
Get started

Lelemon documentation

Lelemon runs AI agents that talk to your customers on WhatsApp and email. You create the agent, define the pipeline its conversations follow, and drive everything from your own backend with one API key.

QuickstartCreate an agent, send it a message and receive the reply by webhook.Set up an account from zeroA pipeline, an agent with a prompt and tools, channels and a webhook, step by step, then a first conversation.Use casesComplete setups by type of business, with the calls in order and the result of each.GuidesAgents, pipelines, knowledge, contacts and keys, then inboxes, events, campaigns and budgets.SDK, CLI and MCPThe TypeScript SDK, the command line and the MCP server for Claude and Cursor.API referenceEvery route, field and error of the v2 contract, with a request you can try.

Make your first call

Create a key in the dashboard under Settings, Integrations. Then ask who you are:

The base URL is https://api.lelemon.cl/v2.

Where to go next

  • See it work in five minutes: the quickstart creates an agent, sends it a message and receives the reply.
  • Leave an account ready for customers: Set up an account from zero configures the pipeline, the agent, its tools and channels, and a webhook, by API.
  • Copy a setup close to your business: the use cases show complete setups with the calls in order.

What you can build

AgentsConversationsDevelopers
Create and version an agentBuild your own inboxUse the TypeScript SDK
Let it call your backend with HTTP actionsMessage on eventsDrive Lelemon from Claude or Cursor
Give it your documentsWrite by emailReceive webhooks
Organize work in pipelinesRun a campaignBuild with AI

Browse by product

AreaResources
BuildAgents and versions, actions and MCP servers, skills, knowledge collections, pipelines with stages, fields and handoff rules
ConverseContacts, cases and messages, attachments and notes, WhatsApp connections and numbers, email domains and messages
GrowContact events and triggers, WhatsApp templates and template messages, campaigns, opt-outs
PlatformSubaccounts, webhook endpoints and events, API keys and scopes, recipient allowlist

For AI agents

  • /llms.txt lists every page and every v2 route.
  • /llms-full.txt has the full documentation in one file.
  • /openapi.json is the v2 contract. If a guide and the contract disagree, the contract wins.
  • Add .md to any page URL to read it as Markdown.

v1 (/v1/external) still works and is deprecated. See Moving from v1.

Quickstart
On this page
  • Make your first call
  • Where to go next
  • What you can build
  • Browse by product
  • For AI agents
curl https://api.lelemon.cl/v2/me \ -H "Authorization: Bearer $LELEMON_API_KEY"