Getting Started · 2 min read
Overview
Trigger calls, send events, sync contacts and records, send transactional email and WhatsApp templates with the Lemu AI REST API
The Lemu AI REST API covers a small, stable set of tasks:
| Task | Endpoint |
|---|---|
| Place an outbound call with a voice agent | Trigger an outbound call |
| Start journeys when something happens in your system | Send an event |
| Look up your voice agents | List agents |
| See the calls a voice agent has made | List calls |
| See your campaigns | List campaigns |
| Keep contacts in sync with your CRM | Contacts |
| Record a person's opt-in or opt-out for email, SMS, WhatsApp or voice | Contact consent |
| See everything a person did, or every message and call they got | Contact activity and Contact messages |
| Send orders, subscriptions or bookings to use in journeys and segments | Custom records |
| Send an order, shipping or account email | Send a transactional email |
| Send a WhatsApp template (order update, reminder, login code, offer) to one number | Send a WhatsApp template |
| See whether a WhatsApp message was delivered and read | Get a WhatsApp message |
| Check which events reached LemuAI | List events |
Events, contacts and records find the right person by phone number, external_id (your own customer ID) or email, so a contact without a phone number can still be matched. See how the contact is found.
Everything else (building agents and journeys, running campaigns, recordings and transcripts) is done in the Lemu AI dashboard.
Base URL#
All requests go to:
https://app.lemuai.com/api/v1The version (v1) is part of the path.
Authentication#
Every request needs an API key from your organization in the X-API-Key header. See Authentication.
curl https://app.lemuai.com/api/v1/workflow/fetch \
-H "X-API-Key: lemu_your_api_key"Request and response format#
Send request bodies as JSON with the Content-Type: application/json header. Responses are JSON. Errors return a detail field; see Errors.
Getting call results#
The recommended way to receive the outcome of a call (what was said, what the agent captured, how it ended) is to add a Webhook node to your agent. Lemu AI then posts the result to your system when the call finishes, so you don't need to poll.
Connecting an AI assistant such as Claude or Cursor? Use the MCP server instead of this REST API. It lets an assistant list your agents and place calls on your behalf, with permissions you approve.
Was this page helpful?
Docs