ERPnBox REST API

A complete, metadata-driven REST API for building integrations on top of your ERPnBox instance. Read and write any module, search across your data, run aggregate queries, and subscribe to real-time webhooks — all secured with scoped API keys and isolated per tenant.

Base URL

https://api.erpnbox.com/api/v1

All endpoints are versioned under /api/v1. Every request is authenticated with an API key and scoped automatically to the tenant that owns the key — you never pass a tenant ID.

What you can build

CapabilityUse case
Two-way data syncMirror Leads, Deals, Contacts or any custom module into another system
Lead capturePush form, ad, or website submissions straight into a CRM module
Reporting & BIPull aggregates into Power BI, Looker, Metabase, or a data warehouse
Real-time automationTrigger external workflows the moment a record is created or updated
Migrations & backfillsBulk-load or export records during onboarding

Design principles

  • Metadata-driven. There are no hardcoded objects. Every module (Leads, Deals, custom entities) and every field is discoverable at runtime via the Modules API — your integration adapts automatically as the admin adds fields.
  • Consistent envelopes. Every response is { success, data } or { success, error }. List endpoints add a meta block with pagination.
  • Tenant-isolated by construction. Keys carry their tenant; cross-tenant access is impossible.
  • Least-privilege. Scopes restrict each key to exactly the operations it needs.

Interactive reference

An auto-generated OpenAPI 3.0 specification and a live “try it” console are served directly from your instance:

ResourceURL
Swagger UIhttps://api.erpnbox.com/api-docs
OpenAPI JSONhttps://api.erpnbox.com/api-docs.json

Endpoint map

GET/modulesList all modules
GET/modules/:apiNameModule details + fields
GET/modules/:apiName/fieldsField metadata only
GET/records/:moduleList / filter records
GET/records/:module/:idGet a single record
POST/records/:moduleCreate a record
PUT/records/:module/:idUpdate a record
DELETE/records/:module/:idDelete a record
GET/searchSearch within a module
POST/analytics/aggregateRun an aggregate query
GET/usersList users
GET/users/:idGet a user
GET/webhooksList webhooks
POST/webhooksCreate a webhook
PUT/webhooks/:idUpdate a webhook
DELETE/webhooks/:idDelete a webhook
GET/webhooks/:id/deliveriesView delivery logs

ERPnBox API v1 — Need help? Contact support@erpnbox.com