Smartify ERP API

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.

Get started in three steps

  1. Sign in with 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).
  2. Send this token in the Authorization: Bearer <token> header of every request. Renew it with POST /api/refresh before it expires.
  3. Call the resources of the workspace you need: /api/{slug}/…, where slug comes from data.workspaces or GET /api/workspaces.

Example

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…"

Available resources

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

Security and permissions

  • A token only gives access to the workspaces the user belongs to.
  • All traffic is HTTPS only. Create a dedicated user for each integration, with a role limited to what it needs.
  • The modules you call must be active in your plan.

Need the full reference?

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