Quickstart
Get up and running in 5 minutes
1. Create your account
Head to app.knitt.co and sign up for a free account. No credit card required.
2. Create a tenant
Once signed in, create your first tenant. Give it a name and Knitt will provision your API endpoint and hosting automatically.
Your tenant will be assigned a unique tenant ID used in all API calls.
3. Get your API key
Navigate to Settings → API Keys in your tenant dashboard. Create a new API key with read/write permissions.
Keep your API key secret
Never expose your API key in client-side code or commit it to version control. Use environment variables instead.
4. Define a content type
Content types define the structure of your content. You can create them via the dashboard or the API. Here's an example for a blog:
curl -X POST "https://api.knitt.co/v1/content/{tenant_id}/types" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Blog Posts",
"fields": [
{ "name": "title", "type": "text", "required": true },
{ "name": "body", "type": "rich_text", "required": true },
{ "name": "author", "type": "text", "required": false }
]
}'5. Create an entry
Now add some content to your new content type:
curl -X POST "https://api.knitt.co/v1/content/{tenant_id}/types/ct_abc123/entries" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"fields": {
"title": "Hello World",
"body": "<p>Welcome to my first post.</p>",
"author": "Jane Smith"
},
"status": "published"
}'6. Fetch your content
Query your entries from any frontend, mobile app, or server:
curl "https://api.knitt.co/v1/content/{tenant_id}/types/ct_abc123/entries" \
-H "Authorization: Bearer YOUR_API_KEY"Next steps
- Authentication — Learn about API key management and security
- Content Types — Explore field types and content modelling
- API Reference: Content — Full endpoint reference with code examples
Last updated: February 7, 2026