Template

CRM API

Companies, contacts and deals linked together, for signed-in team members only. A good base for an internal tool built with Retool, a low-code builder or an AI app builder.

  • Internal tools and admin panels
  • Sales pipelines for small teams
  • Dashboards built with AI app builders

What's inside

Only signed-in users of your app can read or change anything.

Companies

/companies

Organisations you work with

namestringrequired
websiteurl
industrystring

Read: Signed-in users · Write: Signed-in users

Contacts

/contacts

People at those companies

namestringrequired
emailemail
phonestring
company→ companies
notestext

Read: Signed-in users · Write: Signed-in users

Deals

/deals

Opportunities in your pipeline

titlestringrequired
valuenumber
stagestring
company→ companies
contact→ contacts
close_datedate

Read: Signed-in users · Write: Signed-in users

Call it from your app

Every entity is a REST endpoint with filtering, sorting and paging. Sample data is included so the first request returns something.

GET /contacts
curl "https://YOUR_PROJECT.codefreeapi.com/api/v1/contacts?sort=-createdAt&limit=20" \
  -H "X-API-Key: YOUR_API_KEY"
POST /contacts
curl -X POST "https://YOUR_PROJECT.codefreeapi.com/api/v1/contacts" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Nancy Davolio" }'
Response (one record)
{
  "id": "b3f1…",
  "name": "Nancy Davolio",
  "email": "[email protected]",
  "company": "companies-record-id",
  "createdAt": "2026-10-26T09:00:00.000Z"
}

Start your crm backend now

Free plan, no credit card. One click copies this template into your account.