Skip to content

Luzia Nexo API

Build conversational experiences that reach millions of Luzia users through a single webhook integration.

The Nexo Agent Runtime handles message routing, delivery, signature verification, and consent management -- so you can focus on your domain logic.

Ship your first integration in minutes:

  • Signed webhook delivery -- every request is HMAC-verified
  • Approved profile context -- locale, preferences, and more, released by Nexo after consent
  • Rich cards and actions -- structured UI beyond plain text
  • Streaming responses -- real-time SSE for responsive experiences
  • Proactive push events -- notify users when something happens in your domain
  • Production-ready examples -- clone, customize, deploy

Nexo dashboard

Manage apps, webhook secrets, and live tests in the partner dashboard.

Open Nexo Dashboard

5-minute path

  1. Implement one POST /webhook endpoint in your backend.
  2. Return a valid JSON (or SSE) response envelope.
  3. In Nexo, set your webhook_url and WEBHOOK_SECRET.
  4. Send a test message from the dashboard.

Start here: Quickstart

Prompt chips

Improve first-message UX by returning metadata.prompt_suggestions in your webhook response. Nexo renders these as clickable chips in chat.

{
  "schema_version": "2026-03",
  "status": "completed",
  "content_parts": [{ "type": "text", "text": "I can help with that." }],
  "metadata": {
    "prompt_suggestions": [
      "Show me options",
      "Track status",
      "What do you recommend?"
    ]
  }
}

Required vs optional

  • Required for live integration: webhook_url + WEBHOOK_SECRET
  • Optional for advanced flows: cards/actions, proactive events, RAG, OpenClaw bridge

What You Can Build

Clone a starter example, customize it for your domain, and deploy:

Use case Example Live demo
Morning briefing and follow-up nudges Routines https://nexo-routines-v3me5awkta-ew.a.run.app/
Food-commerce: discovery, checkout, tracking Food Ordering https://nexo-food-ordering-v3me5awkta-ew.a.run.app/
Travel: flights, budget, handoff, replanning Travel Planning https://nexo-travel-planning-v3me5awkta-ew.a.run.app/
Stateful detective game with streamed scene reveals Sky Diamond https://luzia-sky-diamond-v3me5awkta-ew.a.run.app/
Fitness coaching plans and check-ins Fitness Coach https://nexo-fitness-coach-v3me5awkta-ew.a.run.app/
Language tutoring with quizzes Language Tutor https://nexo-language-tutor-v3me5awkta-ew.a.run.app/
News answers with source cards News RAG https://nexo-news-rag-v3me5awkta-ew.a.run.app/
Sports coverage with live match data Sports RAG https://nexo-sports-rag-v3me5awkta-ew.a.run.app/
OpenClaw runtime bridge OpenClaw Bridge https://nexo-openclaw-bridge-v3me5awkta-ew.a.run.app/

For the full catalog, see Demo Catalog.

Start Here

  1. Quickstart -- get a webhook live in minutes.
  2. Demo Catalog -- browse all examples and live services.
  3. Examples Deep Dive -- architecture and response patterns.
  4. API Reference -- full contract details.
  5. Hosting -- deploy to Cloud Run.

Integration Architecture

sequenceDiagram
    autonumber
    participant User as End User
    participant Luzia as Luzia Backend
    participant Nexo as Nexo Runtime
    participant Partner as Partner Service

    User->>Luzia: Send message
    Luzia->>Nexo: Delegate partner handling
    Nexo->>Partner: Signed webhook request
    Partner->>Partner: Verify signature + process domain logic
    alt JSON mode
        Partner-->>Nexo: Response envelope with text/cards/actions
    else SSE mode
        Partner-->>Nexo: Stream delta/done events
    end
    Nexo-->>Luzia: Runtime-processed result
    Luzia-->>User: Final reply

Nexo fully owns consent collection, storage, and scope enforcement.

  • The user grants or denies profile access in the Nexo experience.
  • Nexo decides which profile fields may be released for a given app and turn.
  • Your webhook receives only the approved scoped profile data.
  • Your webhook does not implement consent logic and does not need to know how the user granted it.

Capabilities

Capability Description Example
Webhook contract Deterministic request and response schema webhook/minimal
Rich UI payloads Cards, actions, structured metadata webhook/structured
Signature verification HMAC-SHA256 request signing and verification webhook/advanced
Retrieval-augmented responses Domain retrieval + LLM + citations news-rag, sports-rag, travel-rag, football-live
Vertical orchestration End-to-end partner flows: routines, food ordering, travel planning routines, food-ordering, travel-planning
OpenClaw integration Bridge from Nexo webhook to OpenClaw responses API openclaw-bridge
Proactive delivery Push events into subscriber threads partner-api/proactive

Live Examples

Service URL
nexo-news-rag https://nexo-news-rag-v3me5awkta-ew.a.run.app/
nexo-sports-rag https://nexo-sports-rag-v3me5awkta-ew.a.run.app/
nexo-travel-rag https://nexo-travel-rag-v3me5awkta-ew.a.run.app/
nexo-football-live https://nexo-football-live-v3me5awkta-ew.a.run.app/
nexo-openclaw-bridge https://nexo-openclaw-bridge-v3me5awkta-ew.a.run.app/
nexo-routines https://nexo-routines-v3me5awkta-ew.a.run.app/
nexo-food-ordering https://nexo-food-ordering-v3me5awkta-ew.a.run.app/
nexo-travel-planning https://nexo-travel-planning-v3me5awkta-ew.a.run.app/
luzia-sky-diamond https://luzia-sky-diamond-v3me5awkta-ew.a.run.app/
nexo-fitness-coach https://nexo-fitness-coach-v3me5awkta-ew.a.run.app/
nexo-language-tutor https://nexo-language-tutor-v3me5awkta-ew.a.run.app/
nexo-examples-py https://nexo-examples-py-v3me5awkta-ew.a.run.app/
nexo-examples-ts https://nexo-examples-ts-v3me5awkta-ew.a.run.app/
nexo-demo-receiver https://nexo-demo-receiver-v3me5awkta-ew.a.run.app/

For source links and what each demo does, see Demo Catalog.

Design Principles

  • Contract-first: Same schema rules across local and production.
  • Capability-first: Docs describe what you can build, not just minimal setup.
  • Deployable by default: All server examples are production-ready.
  • Privacy is structural: Consent and profile boundaries are part of the runtime contract.
  • Safe configuration: No secrets hardcoded in code or docs.