Connect Smartify ERP to your other tools: website, online store, line-of-business software or dashboard. The REST API exchanges JSON and gives access to accounting, CRM, sales, project and human resources data.
POST /api/login using a Smartify ERP user's credentials. The response contains a token (data.token) and the list of your workspaces (data.workspaces).Authorization: Bearer <token> header of every request. Renew it with POST /api/refresh before it expires./api/{slug}/…, where slug comes from data.workspaces or GET /api/workspaces.curl -X POST https://stats.smartifyerp.online/api/login \
-H "Accept: application/json" \
-d "[email protected]" -d "password=••••••••"
{
"status": 1,
"data": {
"token": "eyJ0eXAiOiJKV1Qi…",
"type": "bearer",
"workspaces": [{ "id": 12, "name": "My company", "slug": "my-company" }]
}
}
curl https://stats.smartifyerp.online/api/my-company/customers \
-H "Accept: application/json" \
-H "Authorization: Bearer eyJ0eXAiOiJKV1Qi…"
Each resource lives under /api/{slug}/. Lists are read with GET; depending on the resource, create, update and delete use POST, PUT and DELETE.
| Area | Resources |
|---|---|
| Accounting | customers, vendors, invoices, bills, revenues, payments, bank-accounts, bank-transfer, chart-of-accounts, tax, customer-credit-notes, debit-note |
| CRM | leads, deals, pipelines, lead/stages, deal/stages, labels, sources |
| Sales | sales-accounts, sales-contacts, sales/opportunities, sales/quotes, sales/cases, sales/documents |
| Projects | projects, bug-list, proposals |
| Human resources | employees, attendance, leaves, salary, holidays, events, branches, departments, designations |
| Products and point of sale | products, product/category, units, pos-orders |
| Workspace | users |
Customers get a detailed reference of every endpoint, with parameters and responses, inside the application. Contact us for trial access or to plan your integration.
Contact us