How to Build an API with Zo
Build backend API routes on zo.space using natural language. Your endpoints go live instantly — no hosting, no deploy steps, no server configuration.
Quick Start
Create an API endpoint at /api/hello that returns a JSON greeting with the current time
Steps
Step 1: Describe your API
Tell Zo what you want the endpoint to do:
Create an API route at /api/quotes that returns a random motivational quote as JSON
Step 2: Zo writes and deploys the code
Zo creates the route on your zo.space and it's live immediately. You'll get a URL like:
https://yourhandle.zo.space/api/quotes
Step 3: Test it
Click the link or use curl to test:
curl https://yourhandle.zo.space/api/quotesStep 4: Iterate
Ask Zo to make changes:
Add a category parameter so I can filter quotes by topic
Add rate limiting to this endpoint
Make it return 5 quotes instead of 1
Step 5: Secure it (optional)
If your API handles sensitive data, add bearer token auth:
Add authentication to my /api/quotes endpoint using a bearer token
Zo will set up the auth pattern and guide you through saving your secret in Settings > Advanced.
Use Cases
- Personal API endpoints for side projects
- Webhook receivers for Stripe, GitHub, or other services
- Data APIs that read from your workspace files
- Backend for your zo.space pages
- Quick prototyping without infrastructure setup
More tutorials
How to Automate Social Media Posting
Let Zo draft, schedule, and post content across your social platforms automatically.
How to Connect Telegram to Zo
Chat with Zo on Telegram — get updates, send commands, and receive agent outputs on the go.
Create a Persona in Zo
Make Zo talk and think the way you want — create custom personas for any use case.
Create Your First Agent Automation
Set up a scheduled AI agent that runs tasks for you on autopilot — just by chatting with Zo.
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 Text Zo
Text Zo from your phone like a friend — get answers, run tasks, and manage your life over SMS.
How to Use Linear with Zo
Manage your tasks, issues, and projects in Linear directly from Zo.
How to Make a Portfolio
Build and publish a personal portfolio site on zo.space — live in minutes, no hosting setup needed.
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.
Build Your Personal Corner of the Internet
Learn how to use your Zo Space to create your own personal webpages and APIs.
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.
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.