Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mavera.io/llms.txt

Use this file to discover all available pages before exploring further.

Wistia’s Data API exposes viewer-level analytics that most video platforms hide — individual visitor engagement, per-second heatmaps, CTA click-through rates, and viewing history tied to email addresses. These five jobs pull that data through Mavera’s surfaces (Personas, Mave Agent, Focus Groups, Brand Voice, Generate) to map viewers to psychographic personas, diagnose drop-off points with creative fixes, test CTA variations with synthetic panels, build a brand voice profile from spoken content, and generate personalized follow-up emails for your highest-intent viewers.

API Reference Card

DetailValue
Base URLhttps://api.wistia.com
AuthBearer Token or OAuth 2.0
Rate limits600 requests/minute
Mavera basehttps://app.mavera.io/api/v1
Mavera authAuthorization: Bearer mvra_live_...
All examples use two environment variables: WISTIA_API_TOKEN and MAVERA_API_KEY. The Wistia token is an API access token generated under Account → Settings → API Access. It provides full read access to stats, media, and visitor data. Store both keys in your secrets manager. Wistia’s 600 req/min limit is generous — you’re unlikely to hit it unless you’re pulling stats for thousands of videos in a tight loop.

Prerequisites

1

Wistia account

You need a Wistia account with at least one project containing videos with viewer analytics enabled.
2

API token

Generate a token at Account → Settings → API Access. Select read-all permissions for stats and media access.
3

Mavera API key

Get your key from Mavera dashboard.
4

Environment variables

export WISTIA_API_TOKEN="your_wistia_token"
export MAVERA_API_KEY="mvra_live_xxxxx"

Jobs

#JobWistia DataMavera SurfaceOutput
1Viewer-Level Persona MappingGET /v1/stats/visitors.json (email, location, percent viewed)Personas + ChatViewer segments matched to psychographic personas
2Heatmap-Informed Creative OptimizationEngagement heatmap per videoMave ChatDrop-off diagnosis with specific edit recommendations
3CTA Performance × Focus GroupCTA click-through data per mediaFocus GroupsCTA placement/messaging optimization
4Wistia Embeds → Brand Voice SourceAll video transcriptsBrand VoiceSpoken content voice profile
5Lead-Qualified Viewer → Personalized Follow-upStats by media (>80% watched)GeneratePersonalized follow-up emails per viewer

Rate Limits & Production Notes

Wistia EndpointPurposeRate Cost
GET /v1/medias.jsonList all videos1 req
GET /v1/medias/{id}.jsonSingle video details1 req
GET /v1/medias/{id}/captions.jsonTranscripts1 req
GET /v1/stats/visitors.jsonAll visitors (paginated)1 req/page
GET /v1/stats/medias/{id}.jsonPer-video engagement1 req
GET /v1/stats/medias/{id}/visitors.jsonVisitors per video1 req
Wistia’s rate limit is 600 requests per minute — generous but not unlimited. The visitor stats endpoints can return large payloads (100 visitors per page with nested events). For accounts with 50,000+ visitors, full pagination takes 500+ requests. Add 100-200ms delays between calls and monitor your request count. Wistia returns 429 Too Many Requests when the limit is hit — retry after 1 second. Unlike YouTube, Wistia has no daily quota — only per-minute throttling.
Production checklist:
ConcernRecommendation
Token securityWistia tokens grant full account access. Use read-only tokens when write access isn’t needed. Rotate tokens quarterly.
Turnstile gatingEnable Turnstile on high-intent videos (demos, pricing, case studies) to capture viewer emails for Jobs 1 and 5
Webhook triggersUse Wistia’s webhook system to trigger Job 5 in real-time when a viewer crosses the 80% threshold
CRM integrationConnect viewer data to your CRM via email match. HubSpot and Salesforce both have Wistia integrations.
Heatmap data freshnessEngagement data updates in near-real-time. For Job 2 (heatmap optimization), wait 48 hours after publishing to collect sufficient data.
Mavera creditsBrand Voice creation (Job 4) is a one-time cost. Focus Groups (Job 3) scale with persona count. Monitor at Dashboard.

What’s Next

All Integrations

50+ API integrations with full code

Wistia Data API

Official Wistia API documentation

Focus Groups API

Full reference for POST /api/v1/focus-groups

Brand Voice API

Full reference for POST /api/v1/brand-voice

Generate API

Full reference for POST /api/v1/generate

Personas API

Full reference for POST /api/v1/personas