Headless AI · REST API

One API call. A full AI agent.

The same engine that powers Waslo across WhatsApp and Instagram — memory, knowledge base, lead classification, media understanding and voice — exposed as a clean REST API for your own app.

MultilingualBuilt-in per-user memoryHOT/WARM/COLD built in
POST /v1/agent/reply
curl https://api.waslo.io/v1/agent/reply \
  -H "Authorization: Bearer wsk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "message": "How much is a dental cleaning?",
    "userId": "customer_8842"
  }'
200 OK
{
  "reply": "A standard cleaning is 250 SAR.",
  "classification": "WARM",
  "citations": [{ "documentName": "prices.pdf" }],
  "usage": { "credits_charged": 2, "credits_remaining": 4998 },
  "request_id": "req_853d4e76"
}
Quickstart

Quickstart — 3 steps

01

Create an account and generate a key

Keys are shown once. Free credits included to try it.

02

Upload your knowledge

Add your business docs via the dashboard or POST /v1/kb/documents — replies get grounded automatically.

03

Call /v1/agent/reply

Send the user's message and their id. You get the reply, classification and citations back.

Capabilities

What's in the box

Per-user memory

Pass a stable userId — the agent remembers names, preferences and context across sessions. GDPR delete included.

RAG knowledge base

Upload PDF/DOCX/TXT — answers are grounded in your content with citations, Arabic-aware chunking included.

Lead classification

Every reply can classify intent as HOT / WARM / COLD — the signal your sales flow needs.

Media understanding

Send images, voice notes, video or PDFs — the agent understands them and answers in text.

Voice replies

Ask for responseFormat: voice and get a hosted MP3 of the reply.

Catalog + booking tools

Let the agent search your product catalog and book real calendar appointments.

Pricing

Pay per request, in credits

No subscription required — buy credit packs and spend them per call. Weighted by what each request actually costs.

Text reply≈ $0.0152credits
Reply with tools (catalog / booking)≈ $0.0233credits
Media understanding (image / audio / video / PDF)≈ $0.0385credits
Voice reply (added on top)≈ $0.015+2credits
Classification only≈ $0.0081credits

Buy credit packs from the dashboard billing page. Dollar figures are approximate; your effective rate depends on the credit pack you buy.