Skip to content

Ring2All Ecosystem - Postman API Collections & REST Reference

8 min readUpdated: Nov 29, 2026
View as Markdown

Official Postman v2.1 collections and unified environment suite for integrating, automating, and testing external REST APIs across the Ring2All Platform.

Run In Postman Click to open the official Ring2All Public Postman Workspace in Postman Desktop or Web.

You can browse and test endpoints directly in the Interactive REST API Explorer or import the official Postman v2.1 JSON bundles hosted in the documentation portal (https://docs.ring2all.com/assets/postman/):

Platform Component Artifact Type Direct Download (.json) Postman Cloud
Ring2All PBX (Cloud PBX & AI Agents) Postman Collection v2.1 Download PBX Collection Open Workspace
Ring2All BSS (Convergent Billing & OCS) Postman Collection v2.1 Download BSS Collection Open Workspace
Ring2All SBC (Session Border Controller) Postman Collection v2.1 Download SBC Collection Open Workspace
Ring2All Ecosystem Unified Postman Environment Download Unified Environment Open Workspace

[!TIP] Client Compatibility: All exported collections follow the standard Postman v2.1 schema and work seamlessly with Postman Desktop v10+, Postman Web, Insomnia, and Newman CLI pipelines.


  1. Open Postman and click Import (Ctrl+O / Cmd+O).
  2. Import Ring2All_Unified_Ecosystem.postman_environment.json along with the platform collections you wish to test.
  3. Select the active environment β€œRing2All Ecosystem β€” Production / Staging Env” in the top-right environment selector.

Populate the environment variables with your deployment’s hostnames, API keys, and immutable numeric tenant/domain identifiers:

Environment Variable Description Example Value
pbx_base_url Ring2All PBX base API endpoint https://pbx.example.com/api
bss_base_url Ring2All BSS base API endpoint https://bss.example.com/api
sbc_base_url Ring2All SBC base API endpoint https://sbc.example.com/api
pbx_api_key Ring2All PBX enterprise API key ak_live_...
bss_api_key Ring2All BSS enterprise API key b2a_live_...
sbc_api_key Ring2All SBC perimeter API key sbc_live_...
tenant_id Immutable numeric Tenant ID 1
customer_id Immutable numeric BSS Customer ID 1
domain_id Immutable numeric SIP Domain ID 1

Each collection includes built-in post-response test scripts (pm.test) that execute automatically on every successful response:

  • Automatic JWT Capture: Calling POST /auth/login (across PBX, BSS, or SBC) automatically stores the bearer token into {{jwt_token}}. Calling Customer Portal login (POST /client/auth/login) stores {{customer_jwt_token}}.
  • Dynamic Resource ID Capture: Creating any resource (POST /customers, POST /telephony/ai-agents, POST /rates, POST /dispatcher, POST /outbound-routes, etc.) captures the newly assigned id or uuid into its matching environment variable (customer_id, agent_id, rate_card_id, dispatcher_id, outbound_route_id, carrier_id, sip_account_id) so subsequent GET, PUT, and DELETE requests work immediately without manual copy-paste.

All Ring2All platforms enforce stateless authentication via either Machine-to-Machine (M2M) X-API-Key headers or user-scoped JWT Bearer tokens.

Section titled β€œ1. M2M Authentication via API Key (Recommended for Integrations)”

When integrating external CRMs, ERPs, ticketing tools, or automation workflows, pass your SHA-256 hashed API key in the X-API-Key header:

GET /api/extensions HTTP/1.1
Host: pbx.example.com
X-API-Key: ak_xxxxxxxxxxxxxxxxxxxx
Content-Type: application/json
  • Ring2All PBX: Key prefix ak_... (validated via SHA-256 hash lookup in the PBX administrative vault).
  • Ring2All BSS: Key prefix b2a_... (validated via SHA-256 hash lookup in the BSS administrative vault).
  • Ring2All SBC: Key prefix sbc_... (validated via SHA-256 hash lookup in the SBC administrative vault).

For interactive web sessions, desktop/mobile apps, or customer self-care integrations, send the JWT issued by the login endpoint:

Authorization: Bearer eyJhbGciOi...

All Ring2All Fastify APIs support OPTIONS preflight requests with the following allowed headers:

  • Content-Type
  • Authorization
  • X-API-Key / x-api-key
  • X-Customer-ID
  • X-Correlation-ID

Cloud Class 5 PBX, multi-tenant voice routing, OpenAI Realtime voice agents, and Ring2All NCX Contact Center APIs.

  • Included Module Groups (36 modules):
    1. πŸ” Authentication & Profile: Login with automatic JWT capture, refresh token, /auth/me, and API Key management.
    2. πŸ“ž Extensions & Devices: SIP extension CRUD, multi-device bindings, and WebRTC softphone provisioning.
    3. 🎧 Call Center & Queues: ACD queues, agent login/logout, VIP lists, and skill priorities.
    4. πŸ“± Call Applications: Ring Groups, multi-level IVRs, conferences, call parking, and paging.
    5. πŸ›€οΈ Trunks & PBX Routing: SIP gateways, inbound routes, outbound routes, and time conditions.
    6. πŸ›‘οΈ Incoming Security & Tools: Blacklists, Caller ID modifiers, PIN lists, and DISA.
    7. πŸ“Š CDRs, Recordings & Realtime Calls: Call detail records, recording playback/download, and active channels.
    8. πŸ€– AI Voice Agents & RAG Hub: OpenAI Realtime voice agents, pgvector RAG knowledge bases, and LLM profiles.
    9. 🌐 SBC Connectors & Topology: Trunk monitoring and automated synchronization with Ring2All SBC.
    10. πŸ“± Push Notifications & Mobile Devices: APNs/FCM push token registration for mobile softphones.
    11. ⚑ Realtime Call Control & Channels: Click-to-Call (/telephony/originate), monitor/whisper (/telephony/spy), and hangup (/telephony/hangup).
    12. πŸ’¬ SMS & Messaging: SMS providers, DID messaging enablement, and two-way/bulk SMS dispatch.
    13. πŸ“  Fax Server: T.38 / PDF virtual fax transmission and inbox retrieval.
    14. 🏒 Multi-Tenant & Domains: Tenant administration, SIP domains, and strict numeric isolation.
    15. βš™οΈ Settings, Provisioning & System: IP phone auto-provisioning templates, SIP profiles, and system health probes.

Business Support System, real-time OCS rating engine, convergent invoicing, prepaid wallets, and customer self-care.

  • Included Module Groups (14 modules):
    1. πŸ” Authentication & API Keys: Admin login with automatic JWT capture and b2a_... API Key provisioning.
    2. πŸ‘₯ Customers Management: Corporate customer accounts, postpaid credit limits, and status controls.
    3. πŸ‘€ Customer Self-Care Portal: Customer login (customer_jwt_token), profile retrieval, wallet balance, Stripe/PayPal top-ups, and invoices.
    4. πŸ’³ Prepaid Wallets & Payments: Real-time wallet balance lookups, card/PayPal top-ups, and manual adjustments.
    5. πŸ“„ Invoices & Automated Billing: Recurring invoice generation, PDF downloads, and online invoice settlement.
    6. πŸ“¦ Plans, Bundles & Catalog: Subscription plans, voice/SMS/AI allowances, and public storefront catalog.
    7. πŸ“ˆ Tariffs & Destination Rates: LCR rate decks, prefix pricing lookups, and rate simulation.
    8. πŸ”’ DID Phone Numbers & Inventory: DID acquisition, inventory mapping, and PBX domain assignment.
    9. βš™οΈ OCS Rating Engine & Balance Control: Pre-call authorization, interim reservations, CDR rating, and low-balance call teardown.
    10. πŸ“Š CDRs, MDRs & Realtime Reports: Rated CDR/MDR/AIDR queries and live OCS monitor telemetry.
    11. 🌐 Telecom Nodes Interconnect: Registration, health checks, and multi-SBC provisioning sync.
    12. πŸ›‘οΈ Fraud Prevention & Credit Limits: Fraud velocity rules, risk thresholds, and automated account suspension.
    13. πŸ”Œ Accounting & Webhook Endpoints: Bidirectional ERP connectors (QuickBooks, Xero, NetSuite, SAP, Odoo) and HMAC-SHA256 webhooks.
    14. πŸ€– AI Assistant & Providers: Analytical billing AI assistant tools and AI provider/profile management.

3. πŸ›‘οΈ Ring2All SBC (Ring2All_SBC_External_API)

Section titled β€œ3. πŸ›‘οΈ Ring2All SBC (Ring2All_SBC_External_API)”

Perimeter Session Border Controller powered by Kamailio 6.1+, RTPEngine 12.5+, dispatcher load balancing, and Class 4 LCR.

  • Included Module Groups (11 modules):
    1. πŸ” Authentication & Carrier Keys: Operator login, JWT issuance, and high-concurrency carrier API keys.
    2. βš–οΈ Dispatcher & Load Balancing: PBX cluster dispatcher sets, destination weights, and live OPTIONS probing (AP/IP/DX).
    3. πŸ›€οΈ Outbound Routing & LCR: Least-cost routing rules, carrier failover groups, and PBX endpoints.
    4. 🏒 SIP Accounts & Domains: Registrable SIP trunk accounts, suspension/reactivation, credential rotation, domains, and DID routing.
    5. πŸ” SIP Tracing & Visual Ladders: On-demand packet capture, Call-ID session grouping, ladder diagrams, and AI diagnostics.
    6. πŸŽ™οΈ RTPEngine Media Relay & QoS: Media proxy monitoring, NG socket pings, MOS/jitter/packet-loss telemetry, and alerting.
    7. πŸ›‘οΈ Anti-Flood Pike & IP Firewall: Pike anti-DoS throttling, dynamic IP bans, Fail2ban sync, firewall rules, and GeoIP blocking.
    8. πŸ€– AI Perimeter Guard: Autonomous perimeter telemetry, forensic IP analysis, and dynamic mitigation rules.
    9. πŸ”’ STIR/SHAKEN Compliance: X.509 STI-AS/VS certificates, verification logs, and Kamailio signing configuration.
    10. 🌐 WebRTC Gateway & Topology: WSS listener settings, STUN/TURN configuration, and live topology visualization.
    11. πŸ› οΈ Kamailio RPC & System Maintenance: Controlled kamcmd / binrpc execution, daemon metrics, and service health diagnostics.

All Ring2All REST APIs return a consistent JSON structure:

{
"success": true,
"data": {
"id": 101,
"name": "Acme Support Extension",
"is_active": true
},
"meta": {
"page": 1,
"limit": 25,
"total": 1
}
}

Validation or Authorization Error (HTTP 400 / 401 / 403 / 404 / 500)

Section titled β€œValidation or Authorization Error (HTTP 400 / 401 / 403 / 404 / 500)”
{
"success": false,
"error": "Unauthorized: Invalid, expired, or unauthorized API Key",
"statusCode": 401
}

Ring2All Platform β€” High-Performance Carrier-Grade Class 4/5 Telephony & Convergent BSS