Documentation
Everything you need to connect your app
Start with the quick start, then dip into the guide for whatever your app needs next.
Quick start
Your first entity, API key and request in a few minutes.
Read guideFiltering & sorting
Filter, sort, paginate, pick fields and load relations.
Read guideUser accounts
Sign-up, login, tokens, profiles and password resets.
Read guideAccess rules & ownership
Who may read and change what, down to single records.
Read guideCustom endpoints
Steps, formulas, HTTP requests and secrets.
Read guideBuild with AI tools
Copy for AI, llms.txt, the MCP server and a typed client.
Read guideWebhooks
Get a signed request on your server when records change.
Read guideErrors
Every error code, what it means and what to do.
Read guideYour API reference
Every project has interactive docs of its own endpoints at your-project.codefreeapi.com/docs, generated from your data and always up to date.
The basics
- Your API's address is
https://your-project.codefreeapi.com/api/v1, followed by the entity name, like/tasks. - Every request sends your API key in the
X-API-Keyheader. - Requests by signed-in users also send
Authorization: Bearer ACCESS_TOKEN. - Bodies and answers are JSON. Errors look like
{ "error": "…" }.
Building with an AI tool? Make your project's API docs public in the project settings and give the link to Lovable, v0, Bolt or Cursor, together with these basics. It can then write the requests for you.
const res = await fetch("https://your-project.codefreeapi.com/api/v1/tasks?done=false", {
headers: { "X-API-Key": "cfa_your_key" },
});
const { data, pagination } = await res.json();Ready to build?
Create a free account and follow the quick start. Your API is live in a few minutes.