Wishiva Developer Documentation
Build with Wishiva APIs, connect autonomous AI agents via Model Context Protocol (MCP), and query structured Markdown via acceptmarkdown.com standards.
Machine-Readable Endpoints & Standards
Standardized endpoints allowing crawlers, indexers, and LLMs to autonomously understand Wishiva.
LLMs.txt & Full Context
Structured Markdown documents designed for LLM ingestion, summarizing architecture, reveal styles, and endpoint URLs.
OpenAPI 3.1.0 Specification
Full REST specification describing parameters, responses, and schemas for public Wishiva endpoints.
Model Context Protocol (MCP)
Standard tool calling manifest for Claude, OpenAI, and Gemini agents to search templates and query documentation.
Markdown Content Negotiation (acceptmarkdown.com)
Wishiva responds natively in Markdown when agents request Accept: text/markdown.
When an AI agent or crawler connects to Wishiva, it does not need to parse messy DOM elements or execute heavy client-side JavaScript. Simply include the standard header:
Public REST API Reference
Available public endpoints for querying templates, system health, and submitting feedback.
/api/templatesPublicRetrieve the curated list of digital surprise templates, optionally filtered by occasion.
/api/healthPublicReturns the platform operational status, version number, Netlify deployment flag, and agent readiness metrics.
/api/feedbackPublicSubmit product feedback, automated test evidence, or bug reports.
Netlify Edge Deployment Architecture
Production deployment specifications and edge proxy behaviors.
Edge Middleware Execution
Wishiva runs Next.js Middleware on Netlify Edge Functions. Every incoming request is checked for authentication status, session validity, and Accept headers before reaching origin servers.
Security & Row-Level Security (RLS)
All persistent data is stored in Supabase with strict Postgres Row-Level Security policies. Protected creation dashboards require server-validated sessions, while public wish pages remain securely accessible to recipients.
