HTTP API Overview
Because sometimes you just want to REST ๐๏ธ
Welcome to the Memof.ai HTTP API! Whether you're a Go guru, a Python purist, or that one person still writing PHP in 2025, we've got you covered. Our RESTful API speaks your languageโliterally any language that can make HTTP requests.
Why HTTP API?
- ๐ Universal - Works with ANY programming language
- ๐ฏ Direct - No SDK overhead, pure HTTP
- ๐ง Flexible - Perfect for custom integrations
- ๐ Standard - REST conventions you already know
Quick Links
Choose your adventure:
Base URLs
Pick your poison:
Production: https://api.memof.ai โ You probably want this one
Beta: https://beta-api.memof.ai โ For the adventurous
Sandbox: https://sandbox-api.memof.ai โ Break things here first
Alpha: https://alpha-api.memof.ai โ Living dangerously?
Development: http://127.0.0.1:8000 โ Localhost hero
30-Second Quick Start
Too impatient to read? We feel you. ๐
# 1. Get your workspace (replace moa_your_token)
curl -H "Authorization: Bearer moa_your_token" \
https://api.memof.ai/api/workspaces/workspaces
# 2. Create a bot
curl -X POST https://api.memof.ai/api/bots/bot/create \
-H "Authorization: Bearer moa_your_token" \
-H "Content-Type: application/json" \
-d '{"name": "My First Bot", "workspace_id": "ws_123"}'
# 3. Store a memory
curl -X POST https://api.memof.ai/api/integrations/memory/store \
-H "Authorization: Bearer moa_your_token" \
-H "Content-Type: application/json" \
-d '{"bot_id": "bot_456", "content": "Hello, Memory!"}'
What's Next?
- Get Authenticated - Grab your API token (takes 30 seconds)
- Create a Workspace - Your AI playground awaits
- Build Your First Bot - Give it life!
- Store Memories - Make it remember things
Need Help?
- ๐ Detailed docs in each section
- ๐ฌ Questions? support@memof.ai
- ๐ Found a bug? We'll buy you coffee โ
- ๐ก Feature idea? We're all ears! ๐
Now go build something awesome! ๐