API Reference
Assistants API

Assistants API

Base URL: https://app.lisn.dev/api

Create and manage AI assistants. Each assistant has a type (voice or text), an LLM configuration, and optionally an STT configuration (voice only).


Endpoints

MethodEndpointDescription
GET/api/v1/assistantsList all assistants
POST/api/v1/assistantsCreate assistant
GET/api/v1/assistants/{id}Get assistant
PATCH/api/v1/assistants/{id}Update assistant
DELETE/api/v1/assistants/{id}Delete assistant
POST/api/v1/assistants/{id}/duplicateDuplicate assistant

Create Assistant

POST /api/v1/assistants

Parameters:

FieldTypeRequiredDescription
namestringYesAssistant name
typestringYes"voice" or "text"
descriptionstringNoOptional description
stt_providerstringNoSTT provider (voice only): elevenlabs, whisper, aisha
stt_modelstringNoSTT model ID
stt_languagestringNoLanguage code or "Auto-Detect"
llm_providerstringYesLLM provider: openai, anthropic, gemini, grok
llm_modelstringNoLLM model ID
system_promptstringYesAnalysis instructions for the LLM
temperaturefloatNo0.0 – 1.0 (default: 0.7)
webhook_urlstringNoURL to receive results
webhook_secretstringNoBearer token for webhook auth

Example:

curl -X POST "https://app.lisn.dev/api/v1/assistants" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Sales Analyzer",
    "type": "voice",
    "stt_provider": "elevenlabs",
    "stt_language": "Auto-Detect",
    "llm_provider": "openai",
    "llm_model": "gpt-4o-mini",
    "system_prompt": "Analyze this call transcript...",
    "temperature": 0.7,
    "webhook_url": "https://your-server.com/webhook"
  }'

List Assistants

GET /api/v1/assistants

curl "https://app.lisn.dev/api/v1/assistants" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Get Assistant

GET /api/v1/assistants/{id}

curl "https://app.lisn.dev/api/v1/assistants/ast_abc123" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Update Assistant

PATCH /api/v1/assistants/{id}

curl -X PATCH "https://app.lisn.dev/api/v1/assistants/ast_abc123" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "Updated Analyzer Name"}'

Delete Assistant

DELETE /api/v1/assistants/{id}

curl -X DELETE "https://app.lisn.dev/api/v1/assistants/ast_abc123" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Duplicate Assistant

POST /api/v1/assistants/{id}/duplicate

curl -X POST "https://app.lisn.dev/api/v1/assistants/ast_abc123/duplicate" \
  -H "Authorization: Bearer YOUR_API_TOKEN"