API Overview
What is the clarife API?
The clarife API gives developers, AI agents, and automation tools access to the clarife platform. You can create and update documents, upload media, manage shares, and react to events via webhooks - all with a simple REST interface.
- REST API - Standard HTTP endpoints with JSON payloads. Works with any language or tool.
- MCP Server - Model Context Protocol endpoint for Claude Desktop, Cursor, and other AI assistants.
- Webhooks - Real-time event notifications delivered to your server when things change.
- Automation - First-class support for n8n, Make, and Zapier via HTTP modules.
Who is it for?
- Developers building custom integrations or internal tools
- AI agents that create and manage documentation autonomously
- Automation platforms (n8n, Make, Zapier) connecting clarife to your workflow
- Teams that need programmatic control over their documentation pipeline
Plan Requirements
⚠️ Warning: The API is available on Pro and Business plans only. Free plan users cannot create API keys.
| Feature | Pro | Business |
|---|---|---|
| Rate limit | 100 req/min | 500 req/min |
| API keys | 5 | 20 |
| Webhook subscriptions | 3 | 20 |
| MCP access | Yes | Yes |
Base URL
All API requests use the following base URL:
https://my.clarife.app/api/v1Quick Start
Step 1 - Create an API key
Go to Settings > API in your clarife dashboard. Click Create API key, name it, and select the scopes you need.
Step 2 - Copy the key
Your key starts with clrf_. Copy it immediately - it is only shown once.
Step 3 - Make your first request
curl https://my.clarife.app/api/v1/documents \
-H "Authorization: Bearer clrf_your_key_here"Step 4 - Check the response
{
"data": [
{
"id": "d1a2b3c4-...",
"title": "Getting Started Guide",
"created_at": "2026-03-15T10:30:00Z"
}
],
"total": 1,
"limit": 50,
"offset": 0
}Response Format
All endpoints return JSON. Single resources are wrapped in data:
{ "data": { "id": "...", "title": "..." } }Lists include pagination metadata:
{ "data": [...], "total": 42, "limit": 50, "offset": 0 }Errors return an error message and machine-readable code:
{ "error": "Document not found", "code": "NOT_FOUND" }What's Next?
- Authentication - creating and managing API keys
- Documents - CRUD operations on documents
- Webhooks - real-time event notifications
- MCP Server - connect AI assistants to clarife
- Knowledge Base - publish tutorials to your help center