LemuAIDocs

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

Open in ChatGPTOpen in ClaudeMarkdown

The Lemu AI REST API covers a small, stable set of tasks:

TaskEndpoint
Place an outbound call with a voice agentTrigger an outbound call
Start journeys when something happens in your systemSend an event
Look up your voice agentsList agents
See the calls a voice agent has madeList calls
See your campaignsList campaigns
Keep contacts in sync with your CRMContacts
Record a person's opt-in or opt-out for email, SMS, WhatsApp or voiceContact consent
See everything a person did, or every message and call they gotContact activity and Contact messages
Send orders, subscriptions or bookings to use in journeys and segmentsCustom records
Send an order, shipping or account emailSend a transactional email
Send a WhatsApp template (order update, reminder, login code, offer) to one numberSend a WhatsApp template
See whether a WhatsApp message was delivered and readGet a WhatsApp message
Check which events reached LemuAIList 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:

Text
https://app.lemuai.com/api/v1

The 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
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?