API

API endpoint registry

All 102 API route modules, including product, OAuth, MCP, webhook, cron, and retired surfaces.

LiveAll plans

MCP

MethodPathAccessPurpose
GET · POST · DELETE/api/mcpOAuth bearer token; ProRemote Streamable HTTP MCP transport.

Account

MethodPathAccessPurpose
DELETE/api/accountSigned-in userDelete the account, owned data, and stored files.

Analysis

MethodPathAccessPurpose
GET · POST/api/analyze/[id]/chatAnalysis ownerRead or continue analysis-aware coaching chat.
POST/api/analyze/[id]/chat/welcomeAnalysis ownerGenerate the contextual chat welcome message.
POST/api/analyze/[id]/comment-diagnosisAnalysis owner; ProCorrelate audience comments with predicted retention drops.
GET/api/analyze/[id]/frame-patternsAnalysis ownerReturn frame-level semantic patterns.
GET/api/analyze/[id]/progressAnalysis ownerReturn creator-memory and progress comparisons.
GET/api/analyze/[id]Analysis ownerReturn the plan-gated analysis result.
GET/api/analyze/[id]/similarAnalysis ownerFind semantically similar owned analyses.
GET/api/analyze/chats/listSigned-in userList analysis conversations for the current user.
POST/api/analyze/triggerSigned-in userReserve quota and queue uploaded-video analysis.
POST/api/analyze/youtubeSigned-in userImport and analyze a public YouTube URL.

Research

MethodPathAccessPurpose
POST/api/analyze-competitorSigned-in user; ProRun a detailed competitor-video teardown.
POST/api/audience-questions/analyzeSigned-in user; ProMine and group YouTube audience questions.
POST/api/competitors/scanSigned-in user; ProScan and save competitor intelligence.
POST/api/competitors/watchlistSigned-in user; ProCreate or update a competitor watchlist.
POST/api/gap-finder/searchSigned-in user; ProRun grounded content-gap research.
POST/api/missions/generateSigned-in user; ProGenerate weekly missions on demand.
POST/api/radar/scanSigned-in user; ProScan YouTube Shorts for objective breakouts.
POST/api/radar/translateSigned-in user; ProTranslate research content.
POST/api/radar/understand-videoSigned-in user; ProSummarize and understand a radar video.
POST/api/trend-match/searchSigned-in user; ProRun grounded trend matching.

Authentication

MethodPathAccessPurpose
POST/api/auth/fingerprintSigned-in userRecord signup abuse signals and enforce free limits.
POST/api/auth/signoutSigned-in userRevoke the Supabase session globally.
GET/api/auth/tiktok/authorizeSigned-in userStart TikTok library OAuth.
GET/api/auth/tiktok/callbackOAuth callbackComplete TikTok OAuth and store encrypted credentials.
POST/api/auth/validate-emailPublic; rate limitedValidate an email during signup.
GET/api/auth/youtube/authorizeSigned-in userStart YouTube library OAuth.
GET/api/auth/youtube/callbackOAuth callbackComplete YouTube OAuth and store encrypted credentials.

Billing

MethodPathAccessPurpose
POST/api/billing/cancelSigned-in subscriberSchedule Stripe subscription cancellation.
POST/api/billing/checkoutSigned-in userCreate a Stripe checkout session with double-billing guard.
POST/api/billing/portalSigned-in subscriberCreate a Stripe customer-portal session.
POST/api/billing/reactivateSigned-in subscriberReactivate a canceling Stripe subscription.
POST/api/billing/reconcileSigned-in userReconcile stored entitlement with Stripe.
POST/api/billing/syncSigned-in userSynchronize current Stripe subscription state.
POST/api/billing/upgradeSigned-in subscriberUpgrade an existing Stripe subscription.

Performance

MethodPathAccessPurpose
POST/api/blueprint-tracking/verifySigned-in user; ProVerify published blueprint performance.
POST/api/comparisons/createSigned-in user; ProCreate a before-versus-after comparison.
GET/api/comparisonsSigned-in userList owned video comparisons.
POST/api/experiments/concludeSigned-in user; ProConclude an experiment using real metrics.
POST/api/experiments/designSigned-in user; ProDesign a controlled content experiment.
POST/api/retention-lab/score-ideaSigned-in user; ProScore idea-stage retention readiness.

Communications

MethodPathAccessPurpose
POST/api/contactPublic; abuse protectedValidate and send a contact request.
POST/api/email/welcomeSigned-in userSend the post-signup welcome email.
GET · POST/api/unsubscribeSigned preference tokenRender or apply a signed email-preference change.

Creative DNA

MethodPathAccessPurpose
POST/api/creative-dna/visual-analysisSigned-in user; ProStart creator visual-DNA analysis.
GET/api/creative-dna/visual-statusSigned-in user; ProRead visual-DNA analysis status.
POST/api/creator-dna/analyzeSigned-in user; ProBuild or refresh the creator DNA profile.
POST/api/creator-dna/measure-retention-accuracySigned-in user; ProMeasure predicted versus observed retention accuracy.
POST/api/creator-dna/sync-tiktokSigned-in user; ProSynchronize the connected TikTok library.
POST/api/creator-dna/sync-youtubeSigned-in user; ProSynchronize the connected YouTube library.

Operations

MethodPathAccessPurpose
POST/api/cron/competitor-scanCron secretRun scheduled competitor-watchlist scans.
POST/api/cron/deliver-webhooksCron secretClaim and deliver pending outbound webhook events.
GET/api/cron/enforce-downgradesCron secretVerify Stripe and RevenueCat entitlements and enforce downgrades.
POST/api/cron/generate-missionsCron secretGenerate scheduled weekly missions.
POST/api/cron/maintenance-sweepCron secretClean expired OAuth, idempotency, and delivery records.
GET/api/cron/progress-announcementCron secretSend eligible creator progress announcements.
POST/api/cron/reconcile-analysesCron secretReconcile stale and orphaned analysis jobs.
GET/api/cron/reset-monthly-usageCron secretReset monthly usage counters.
GET/api/cron/retention-emailsCron secretSend eligible retention lifecycle emails.
GET/api/cron/trial-remindersCron secretCompatibility no-op after trials were removed.
GET · POST/api/cron/upgrade-nudgeCron or queue authenticationProcess upgrade-nudge delivery batches.
GET/api/cron/weekly-digestCron secretSend weekly creator digests.

Create

MethodPathAccessPurpose
POST/api/hook-generator/generateSigned-in user; ProGenerate ranked hook scripts.
POST/api/script-coach/analyzeSigned-in user; ProAnalyze and score a script.
POST/api/script-coach/rewriteSigned-in user; ProRewrite a script with iteration lineage.
POST/api/thumbnail-lab/analyzeSigned-in userAnalyze a thumbnail, script, or YouTube reference.
GET/api/thumbnail-lab/creditsSigned-in userReturn current thumbnail-generation credits.
POST/api/thumbnail-lab/generate-imageSigned-in user with creditGenerate a thumbnail image and consume a credit.
POST/api/title-lab/generateSigned-in user; ProGenerate and rank title variations.
POST/api/version-lab/generateSigned-in user; ProGenerate and rank creative variants.
POST/api/viral-planner/generateSigned-in user; ProGenerate a full viral blueprint.
POST/api/viral-planner/publishPlan ownerAssociate a plan with a published video.
POST/api/viral-planner/refinePlan owner; ProRefine a complete plan or selected scope.

Integrations

MethodPathAccessPurpose
POST/api/integrations/[id]/testConnection owner; ProSend a safe test event to an integration.
POST/api/integrationsSigned-in user; ProCreate, update, or delete an outbound integration.

OAuth

MethodPathAccessPurpose
POST/api/oauth/authorizeSigned-in resource ownerApprove or deny an MCP authorization request.
GET · OPTIONS/api/oauth/metadata/authorization-serverPublicRFC 8414 authorization-server metadata.
GET · OPTIONS/api/oauth/metadata/protected-resourcePublicRFC 9728 protected-resource metadata.
POST/api/oauth/registerPublic; rate limitedDynamically register an OAuth client.
POST/api/oauth/tokenOAuth clientExchange authorization codes or rotate refresh tokens.

Storage

MethodPathAccessPurpose
GET/api/storage/healthOperational healthCheck storage-service availability.
POST/api/storage/signed-urlObject ownerCreate a short-lived playback URL.
POST/api/storage/uploadSigned-in userHandle supported multipart uploads.
GET · POST/api/storage/upload-urlSigned-in userCreate a presigned R2 upload URL.

Team

MethodPathAccessPurpose
GET · POST/api/team/acceptInvite recipientInspect or accept a signed team invitation.
DELETE/api/team/invite/[id]Team ownerRevoke a pending invitation.
POST/api/team/inviteActive Team-plan ownerInvite a teammate.
POST/api/team/leaveTeam memberLeave a joined workspace.
DELETE/api/team/members/[id]Team ownerRemove a workspace member.
GET/api/teamSigned-in userReturn the caller’s effective team and seats.

Retired media

MethodPathAccessPurpose
GET · DELETE/api/video-generator/[id]Record ownerRead or delete a legacy generation record.
POST/api/video-generator/clone-voiceDisabledDisabled voice-cloning endpoint.
GET/api/video-generator/creditsSigned-in userReturn legacy video-generation credits.
POST/api/video-generator/generateDisabledDisabled video-generation endpoint.
POST/api/video-generator/renderDisabledDisabled render-dispatch endpoint.
GET/api/video-generator/voices/previewDisabledDisabled voice-preview endpoint.
GET/api/video-generator/voicesDisabledDisabled voice-catalog endpoint.

Videos

MethodPathAccessPurpose
PATCH · DELETE/api/videos/[id]Video ownerUpdate ownership or delete an owned video.

Webhooks

MethodPathAccessPurpose
POST/api/webhooks/revenuecatRevenueCat signatureApply signed mobile entitlement events idempotently.
POST/api/webhooks/stripeStripe signatureApply signed Stripe subscription events idempotently.

YouTube

MethodPathAccessPurpose
POST/api/youtube/metadataSigned-in or supported bearer callerResolve safe YouTube metadata and duration.