Enterprise API Gateway — Overview & module guide

Module: Enterprise API Gateway v1.4.0

Centralized enterprise API gateway for BIXCRM — API consumers, keys, route registry, request logging, and unified external access

Screen-by-screen guides (each tab explained)

Click a menu item below for step-by-step instructions on that Enterprise API Gateway screen:

How to use in BIXCRM (daily operations)

  1. Sign in to the admin area with a role that includes Enterprise API Gateway permissions.
  2. Open Enterprise Api Gateway (sidebar) or search for Enterprise API Gateway in the admin menu.
  3. Start on the Dashboard (if available) to see open tasks, pending approvals, and KPIs.
  4. Review Settings after upgrades — new options may need defaults for your company.
  5. Create or import master data first; most modules block transactions until masters exist.
  6. Run the main business flow (create → submit → approve → post/complete) using the screens listed in Admin menu below.
  7. Use Reports / Analytics screens to reconcile stock, finance, compliance, or SLA metrics.
  8. For integrations (API, EDI, gateways, tax), confirm credentials in Settings and monitor logs or webhook delivery screens.
  9. Train staff with role-based access — give approvers approve permissions only, operators create/edit on their area.
  10. If something fails overnight, check BIXCRM cron ran and open the module log / failed queue screen if present.

Admin menu — where to work

Open the Enterprise API Gateway section in the admin sidebar. Screens your staff may use (depending on role):

  • Analytics
  • API Consumers
  • API Gateway
  • API Keys
  • Bulk Import
  • Developer Portal
  • Gateway Dashboard
  • OAuth Clients
  • Reports
  • Request Logs
  • Routes
  • Security
  • Settings
  • Webhooks

Detailed guide — features, workflows, API & FAQ

Features Overview

PhaseFeatures
-----------------
1Consumers, API keys, routes, request logs, gateway REST, dashboard
2Rate limiting, IP blocklist, HMAC, key rotation, JSON schema validation
3Webhooks, retry queue, dead letter, circuit breaker, CRM events
4OAuth2/JWT, v1/v2 versioning, OpenAPI, Swagger UI, sandbox mocks
5Developer portal, analytics, SLA monitoring, bulk import, CSV reports

Phase 5 — Analytics & Enterprise

FeatureDescription
----------------------
Developer PortalClient-area self-service at /clients/eag
AnalyticsRequests/day, latency percentiles, error rate charts
SLA MonitoringAutomated uptime/P95/error checks with email alerts
Bulk ImportCSV upload for consumers and routes
ReportsExport request logs and consumer usage CSV
Multi-tenantOptional company_id isolation on consumers

Developer Portal Setup

  1. Enable in Settings → Developer Portal
  2. Link consumer to CRM client (client_id)
  3. Enable Portal self-service on the consumer
  4. Client logs in → Developer Portal menu appears

Bulk Import CSV Headers

Consumers: consumer_code,consumer_name,environment,client_id,email,rate_limit_per_minute,status,company_id,is_sandbox,portal_self_service

Routes: route_code,route_name,module_name,http_method,gateway_path,target_path,required_scope,version,is_public,is_active

Permissions

FeatureCapabilities
----------------------
eag_analyticsview, edit
eag_importview, create
eag_reportsview
eag_oauth_clientsview, create, edit, delete
eag_webhooksview, create, edit, delete

See [docs/ROADMAP.md](docs/ROADMAP.md) for full phase history.

Features

Centralized enterprise API gateway for BIXCRM — API consumers, keys, route registry, request logging, and unified external access

See README.md in the module folder for the complete feature list.

Permissions

Granular staff capabilities are registered on activation. Assign them under Setup → Staff → Roles for the Enterprise API Gateway capability group.

Typical capabilities include view, create, edit, delete, plus module-specific actions (approve, export, settings, API access).

Cron Jobs

Background tasks (if enabled) run through BIXCRM's main cron. Example crontab (every 5 minutes):

* * * * * php /path/to/bixcrm/index.php cron/index > /dev/null 2>&1

Check module settings for scheduled jobs (alerts, sync, reports, retention).

After activation — configuration checklist

  1. Go to Setup → Modules and activate Enterprise API Gateway.
  2. If prompted, click Upgrade Database or reload admin — migrations run automatically.
  3. Assign permissions under Setup → Staff → Roles.
  4. Open the module menu and configure settings.
  5. BIXCRM 3.0+
  6. PHP 7.4+ (8.1+ recommended)
  7. MySQL 5.7+ / MariaDB 10.3+ (InnoDB)
  8. PHP extensions: mysqli, json, mbstring, curl, fileinfo

Staff permissions (from module)

Assign under Setup → Staff → Roles. Each feature can expose different actions:

FeatureActions
Gateway Dashboard
eag_dashboard
view
API Consumers
eag_consumers
view, create, edit, delete
API Keys
eag_api_keys
view, create, edit, delete
Routes
eag_routes
view, create, edit, delete
Request Logs
eag_request_logs
view, delete
Webhooks
eag_webhooks
view, create, edit, delete
OAuth Clients
eag_oauth_clients
view, create, edit, delete
Analytics
eag_analytics
view, edit
Bulk Import
eag_import
view, create
Reports
eag_reports
view
Settings
eag_settings
view, edit

One-time setup (first time only)

  1. Setup → Modules → activate Enterprise API Gateway.
  2. Setup → Staff → Roles → assign Enterprise API Gateway permissions (view, create, edit, delete, approve, export, settings as needed).
  3. Open Enterprise API Gateway → Settings and complete company defaults, prefixes, integrations, and notification options.
  4. Create master data (warehouses, products, templates, accounts, routes, etc.) before processing live transactions.
  5. Enable BIXCRM cron (php /path/to/bixcrm/index.php cron/index) for sync, retries, alerts, and scheduled jobs.
  6. Optionally enable REST API / webhooks in module settings if you integrate external systems.

BIXCRM Knowledge Base — usage guide generated from module README and documentation.

Did you find this article useful?