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
/companiesOrganisations you work with
| name | string | required |
| website | url | |
| industry | string |
Read: Signed-in users · Write: Signed-in users
Contacts
/contactsPeople at those companies
| name | string | required |
| phone | string | |
| company | → companies | |
| notes | text |
Read: Signed-in users · Write: Signed-in users
Deals
/dealsOpportunities in your pipeline
| title | string | required |
| value | number | |
| stage | string | |
| company | → companies | |
| contact | → contacts | |
| close_date | date |
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.