Embed Configuration

Full reference for all parameters available when embedding the Voice Tutor.

Embed URL

https://tutor.evelynlearning.com/embed?token={SESSION_TOKEN}

Sandbox: https://tutor-sandbox.evelynlearning.com/embed?token=...

Basic Embed

<iframe
  src="https://tutor.evelynlearning.com/embed?token=YOUR_JWT_TOKEN"
  width="100%"
  height="700"
  allow="microphone; camera"
  frameborder="0"
></iframe>

JWT Token Parameters

These parameters are included in the JWT payload signed with your API Secret:

ParameterTypeRequiredDescriptionExample
partner_idstringRequiredYour partner identifier"algerian-bac"
student_idstringRequiredYour internal student ID (for analytics and data retrieval)"stu_abc123"
student_namestringOptionalStudent's first name (used in conversation)"Ahmed"
subjectstringRequiredSubject code (math, science, ela, cs, etc.)"math"
topicstringOptionalTopic ID from taxonomy or custom curriculum module"algebra-2"
levelstringRequiredGrade level (K-2, 3-5, 6-8, 9-10, 11-12, AP, college)"11-12"
session_goalstringOptionalpractice, homework-help, concept-review, test-prep, catch-up, challenge"test-prep"
enginestringOptionalVoice engine tier: "standard" or "premium" (default: "standard")"standard"
localestringOptionalBCP 47 locale code for voice language (default: en-US)"ar-DZ"
input_modestringOptional"voice" (default) or "text""voice"
voicestringOptionalVoice selection (coral, shimmer, alloy, ash, ballad, echo, sage, verse)"coral"
curriculum_modulestringOptionalID of custom knowledge module to load"algerian-bac-math-2026"
brandingobjectOptionalVisual customization: { primary_color, logo_url, product_name }{ "primary_color": "#1E40AF", "product_name": "BAC Tutor" }
max_duration_minutesnumberOptionalSession time limit for cost control (default: unlimited)30
featuresobjectOptionalEnable/disable: homework_upload, text_mode, voice_mode{ "homework_upload": true }
metadataobjectOptionalArbitrary key-value pairs passed through to webhooks{ "class_id": "math-11b" }

Engine Selection

The engine parameter selects the voice engine tier:

ValueNameLatencyPrice/Min
standardStandard~1.5s$0.06
premiumPremium<400ms$0.25
Sandbox environments are limited to the Standard engine. Premium is available in production.

Branding Object

The optional branding object customizes the tutor's appearance:

ParameterTypeDescription
primary_colorstringHex color for buttons and accents
logo_urlstringURL to your logo (displayed in tutor header)
product_namestringReplaces "Evelyn Voice Tutor" in the UI

Features Object

Toggle individual features on or off:

ParameterTypeDescription
homework_uploadbooleanEnable photo upload for homework problems (default: true)
text_modebooleanAllow students to switch to text input (default: true)
voice_modebooleanAllow voice input (default: true)

Example: Full Token

JWT payload
{
  "partner_id": "algerian-bac",
  "student_id": "stu_abc123",
  "student_name": "Ahmed",
  "subject": "math",
  "topic": "algebra-2",
  "level": "11-12",
  "session_goal": "test-prep",
  "engine": "standard",
  "locale": "ar-DZ",
  "branding": {
    "primary_color": "#1E40AF",
    "logo_url": "https://partner.com/logo.png",
    "product_name": "BAC Tutor"
  },
  "curriculum_module": "algerian-bac-math-2026",
  "max_duration_minutes": 30,
  "features": {
    "homework_upload": true,
    "text_mode": true
  },
  "metadata": {
    "class_id": "math-11b",
    "teacher_id": "tch_456"
  },
  "exp": 1735689600
}