Every Zo account comes with zo.space — a personal website with full React pages and API routes. The API routes are Hono endpoints that go live the moment your Zo creates them. No hosting, no deploy step, no server configuration. You describe what you want the endpoint to do, and it's running at a public URL within minutes.
This makes Zo one of the fastest ways to go from "I need an API" to "here's the URL." No Vercel setup, no AWS Lambda cold starts, no Docker containers. Just a conversation.
Your first endpoint
Create an API endpoint at /api/hello that returns a JSON greeting with the current time
Your Zo writes the route, deploys it, and gives you the URL:
https://yourhandle.zo.space/api/helloTest it:
curl https://yourhandle.zo.space/api/helloYou get back something like:
{ "message": "Hello!", "time": "2026-03-09T14:30:00Z" }That's a live API endpoint. It's public, it's fast, and it's yours.
Webhook receivers
One of the most practical uses for zo.space API routes is receiving webhooks from external services. Webhooks are how services like Stripe, GitHub, Shopify, and Slack notify you when something happens. They send a POST request to a URL you provide — and that URL needs to be publicly accessible, always on, and ready to handle the payload.
Your Zo handles all of that.
Stripe webhook handler:
Create an API endpoint at /api/stripe-webhook that receives POST requests from Stripe. Verify the webhook signature using a STRIPE_WEBHOOK_SECRET environment variable. For successful payment events, log the amount, customer email, and timestamp to /home/workspace/Data/payments.jsonl. Return a 200 for all other event types.
Your Zo creates the endpoint, sets up signature verification, and handles the payload parsing. Save your Stripe webhook secret in Settings > Advanced, then register the URL in your Stripe dashboard.
GitHub webhook handler:
Create an API endpoint at /api/github-webhook that receives GitHub webhook events. Verify the signature using GITHUB_WEBHOOK_SECRET. For "issues" events with action "opened", save the issue title, number, labels, and body to /home/workspace/Data/github-issues/. For "push" events to the main branch, log the commit messages.
This pairs well with scheduled agents. Set up a webhook that saves incoming data, then an agent that processes it periodically:
Create a daily agent at 9am. Check /home/workspace/Data/github-issues/ for new issues from the last 24 hours. Classify each one (bug, feature, question) and email me a triage summary.
Data APIs
Build endpoints that serve data from your workspace files, databases, or external sources.
Status API — share your availability:
Create an API endpoint at /api/status that checks my Google Calendar and returns JSON with my current status ("in a meeting", "free", "focused") and when I'm next available. Cache the result for 5 minutes.
Other tools and services can hit this endpoint to check your availability programmatically. Your portfolio page can read from it to show a live "available / busy" indicator.
Data endpoint from workspace files:
Create an API endpoint at /api/quotes that reads from /home/workspace/Data/quotes.json and returns a random quote as JSON. Add a category query parameter to filter by topic.
Aggregated data endpoint:
Create an API endpoint at /api/project-stats that reads my Linear issues, counts them by status (open, in progress, done), and returns the counts as JSON. Cache for 15 minutes.
Authentication
Public endpoints are fine for webhooks and read-only data. For anything sensitive, add authentication:
Bearer token auth:
Add bearer token authentication to my /api/project-stats endpoint. Use an API_SECRET environment variable. Return 401 for missing or invalid tokens.
Save the secret in Settings > Advanced. Now requests need an Authorization: Bearer <token> header.
API key in query parameter:
Add API key authentication to /api/quotes using a query parameter. Check against MY_API_KEY from environment variables. Return a 403 with an error message for invalid keys.
For more complex auth (OAuth, JWT), describe what you need and your Zo implements the pattern. It has access to the full Node.js ecosystem on your server.
Rate limiting
If your endpoint is public, protect it from abuse:
Add rate limiting to my /api/quotes endpoint. Allow 60 requests per minute per IP address. Return a 429 with a "retry-after" header when the limit is exceeded.
Connecting endpoints to your Zo's tools
Your API routes run on the same machine as your Zo. They can read workspace files, access environment variables, and call external services. This means your endpoints aren't limited to static responses — they can do real work.
Form handler that sends you a notification:
Create an API endpoint at /api/contact that accepts POST requests with name, email, and message fields. Validate the inputs, save the submission to /home/workspace/Data/contact-submissions.jsonl, and send me an SMS notification with the sender's name and message.
Put this behind a contact form on your portfolio page and every form submission triggers a text to your phone.
Endpoint that triggers an automation:
Create an API endpoint at /api/trigger-report that accepts POST requests with a bearer token. When called, read the latest data from /home/workspace/Data/metrics.jsonl, generate a summary, and email it to me.
Now you can trigger your weekly report from a button, a cron job on another service, or a Slack slash command.
Iterating on your APIs
Your Zo can modify endpoints after they're deployed. Changes go live immediately:
"Add a category parameter to my /api/quotes endpoint""Change the rate limit to 100 requests per minute""Add CORS headers so my frontend can call this endpoint""Log all requests to /home/workspace/Data/api-access.log""Add error handling — return a 500 with a message if the data file is missing"
Each change updates the live endpoint. No redeploy, no downtime.
When to use zo.space APIs vs self-hosted tools
zo.space API routes are best for:
- Personal endpoints and side projects
- Webhook receivers for services you use
- Quick prototypes that need a public URL
- Backends for your zo.space pages
For more complex automation workflows with visual editors and hundreds of pre-built integrations, consider self-hosting n8n on your Zo. n8n is better suited for multi-step workflows that chain several services together. zo.space API routes are better for custom endpoints that need specific logic.
Getting started
Build something you'll actually use:
Create an API endpoint at /api/health that returns my server uptime and the current timestamp as JSON
Then try a webhook receiver, a data endpoint, or a form handler. Every endpoint you build is one less external service you depend on.
More from the blog
How to Connect Telegram to Zo
Chat with your Zo on Telegram. Same AI, same tools, same memory. Ask questions, run tasks, get agent updates, and manage your digital life from any device.
How to Automate Anything with Zo Agents
Set up AI agents on Zo that run on a schedule. Morning briefings, inbox summaries, price monitors, competitor tracking, and weekly reports, all on autopilot.
How to Text Your AI
Text your Zo like a friend. Check your calendar, send emails, search the web, and run tasks, all from a text message. No app required.
How to Build a Portfolio Website with AI
Build a portfolio website on Zo in 5 minutes. No templates, no drag-and-drop. Describe what you want and it's live at yourname.zo.space.
Build Your Personal Corner of the Internet
Build and deploy a personal website on Zo Computer in minutes. No hosting, no deploys, no config. Just describe what you want and it's live.
How to Automate Social Media Posting
Let Zo draft, schedule, and post content across your social platforms automatically.
Create a Persona in Zo
Make Zo talk and think the way you want — create custom personas for any use case.
How to Make a Daily News Digest Automation
Wake up to a personalized news briefing delivered to your inbox, texts, or Telegram every morning.
How to Use Gmail Integration with Zo
Search, read, organize, and respond to your emails without ever leaving Zo.
How to Use Google Calendar with Zo
View, create, and manage your calendar events by just talking to Zo.
How to Use Google Drive with Zo
Search, read, and manage your Google Drive files directly from Zo.
How to Use Linear with Zo
Manage your tasks, issues, and projects in Linear directly from Zo.
How to Make Rules
Teach Zo your preferences so it behaves the way you want — every time.
How to Use Notion with Zo
Search, read, and manage your Notion workspace through natural conversation.
Organize Your Zo Workspace
Keep your Zo workspace clean and organized — just ask Zo to do it for you.
How to Send Emails with Zo
Compose, review, and send emails directly from your Zo workspace.
How to Use Spotify with Zo
Control your music, discover new tracks, and manage playlists through Zo.
How to Use LinkedIn with Zo
Search profiles, check messages, and manage your LinkedIn activity through Zo.
How to Run Claude Code on Zo
Run Claude Code on Zo Computer. It's already installed. Connect your API key, SSH in from your IDE, and start coding on a cloud machine with AI built in.
How to Run Hermes Agent on Zo
Run Hermes Agent on Zo Computer. Install the self-improving AI agent framework, connect it to Telegram or Discord, and bridge Zo's 50+ tools into Hermes.
How Zo Runs AI Coding Agents for You
Zo can launch and orchestrate Claude Code, Codex CLI, and Gemini CLI in headless mode. Your Zo handles the git, the scheduling, and the delivery. The coding agent handles the code.
Best ChatGPT Alternatives in 2026: AI Tools That Go Beyond Chat
A practical evaluation of the best ChatGPT alternatives in 2026, comparing Claude, Gemini, Copilot, DeepSeek, Perplexity, and Zo Computer across automation, persistence, data ownership, and deployment flexibility.
Personal AI Agents: What They Are, How They Work, and Why 2026 Is the Year They Get Real
A technical breakdown of personal AI agent architecture in 2026: the observe-plan-act loop, persistent memory, tool integration via MCP, and why infrastructure, not intelligence, is the bottleneck.
Which Zo Plan Is Right for You?
Compare Zo's Free, Basic, Pro, and Ultra plans. Find the right fit for your personal cloud computer based on AI usage, hosting needs, and compute requirements.
How to Run OpenClaw on Zo
Run OpenClaw on Zo Computer. Install, configure Tailscale access, connect 50+ tools, and get your AI agent live on Telegram, Discord, or WhatsApp.
How to Turn Any Music Article into a Spotify Playlist
Read a blog post, extract the songs, create a Spotify playlist—all with one AI command. Works with Pitchfork, NME, or any music article.
How to Self-Host n8n
Self-host n8n free on Zo Computer—no Docker required. n8n Cloud costs $24/mo, self-hosting costs $0. Get a public URL and webhooks working in 5 minutes.
How to Set Up a Plain-Text Flashcard System
Set up hashcards, a plain-text spaced repetition system, on your own cloud server. Learn faster with flashcards stored as simple markdown files.
How to Run VS Code in Your Browser
Set up VS Code Server on your own cloud server and access your development environment from any browser. A self-hosted alternative to GitHub Codespaces and Gitpod.
How to Connect Your IDE to a Remote Server
Set up SSH access to your Zo Computer and connect VS Code, Cursor, or any IDE for remote development. Code on a powerful server from anywhere.
How to Save a Webpage as PDF
Save any webpage as a clean PDF with Zo Computer. One command to read, convert, and save — no browser extensions needed.