Ring2All Ecosystem - Postman API Collections & REST Reference
Official Postman v2.1 collections and unified environment suite for integrating, automating, and testing external REST APIs across the Ring2All Platform.
π¦ Official Collections & Interactive Explorer
Section titled βπ¦ Official Collections & Interactive Explorerβ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.
π Quick Start (3 Minutes)
Section titled βπ Quick Start (3 Minutes)β1. Import into Postman
Section titled β1. Import into Postmanβ- Open Postman and click Import (
Ctrl+O/Cmd+O). - Import
Ring2All_Unified_Ecosystem.postman_environment.jsonalong with the platform collections you wish to test. - Select the active environment βRing2All Ecosystem β Production / Staging Envβ in the top-right environment selector.
2. Configure Environment Variables
Section titled β2. Configure Environment Variablesβ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 |
3. Automated Request Chaining (Zero-Touch Testing)
Section titled β3. Automated Request Chaining (Zero-Touch Testing)β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 assignedidoruuidinto its matching environment variable (customer_id,agent_id,rate_card_id,dispatcher_id,outbound_route_id,carrier_id,sip_account_id) so subsequentGET,PUT, andDELETErequests work immediately without manual copy-paste.
π Authentication & Security Standards
Section titled βπ Authentication & Security StandardsβAll Ring2All platforms enforce stateless authentication via either Machine-to-Machine (M2M) X-API-Key headers or user-scoped JWT Bearer tokens.
1. M2M Authentication via API Key (Recommended for Integrations)
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.1Host: pbx.example.comX-API-Key: ak_xxxxxxxxxxxxxxxxxxxxContent-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).
2. JWT Bearer Authentication
Section titled β2. JWT Bearer AuthenticationβFor interactive web sessions, desktop/mobile apps, or customer self-care integrations, send the JWT issued by the login endpoint:
Authorization: Bearer eyJhbGciOi...3. Universal CORS Support
Section titled β3. Universal CORS SupportβAll Ring2All Fastify APIs support OPTIONS preflight requests with the following allowed headers:
Content-TypeAuthorizationX-API-Key/x-api-keyX-Customer-IDX-Correlation-ID
π Collection Breakdown by Subsystem
Section titled βπ Collection Breakdown by Subsystemβ1. π Ring2All PBX (Ring2All_PBX_External_API)
Section titled β1. π Ring2All PBX (Ring2All_PBX_External_API)βCloud Class 5 PBX, multi-tenant voice routing, OpenAI Realtime voice agents, and Ring2All NCX Contact Center APIs.
- Included Module Groups (36 modules):
π Authentication & Profile: Login with automatic JWT capture, refresh token,/auth/me, and API Key management.π Extensions & Devices: SIP extension CRUD, multi-device bindings, and WebRTC softphone provisioning.π§ Call Center & Queues: ACD queues, agent login/logout, VIP lists, and skill priorities.π± Call Applications: Ring Groups, multi-level IVRs, conferences, call parking, and paging.π€οΈ Trunks & PBX Routing: SIP gateways, inbound routes, outbound routes, and time conditions.π‘οΈ Incoming Security & Tools: Blacklists, Caller ID modifiers, PIN lists, and DISA.π CDRs, Recordings & Realtime Calls: Call detail records, recording playback/download, and active channels.π€ AI Voice Agents & RAG Hub: OpenAI Realtime voice agents, pgvector RAG knowledge bases, and LLM profiles.π SBC Connectors & Topology: Trunk monitoring and automated synchronization with Ring2All SBC.π± Push Notifications & Mobile Devices: APNs/FCM push token registration for mobile softphones.β‘ Realtime Call Control & Channels: Click-to-Call (/telephony/originate), monitor/whisper (/telephony/spy), and hangup (/telephony/hangup).π¬ SMS & Messaging: SMS providers, DID messaging enablement, and two-way/bulk SMS dispatch.π Fax Server: T.38 / PDF virtual fax transmission and inbox retrieval.π’ Multi-Tenant & Domains: Tenant administration, SIP domains, and strict numeric isolation.βοΈ Settings, Provisioning & System: IP phone auto-provisioning templates, SIP profiles, and system health probes.
2. π³ Ring2All BSS (Ring2All_BSS_External_API)
Section titled β2. π³ Ring2All BSS (Ring2All_BSS_External_API)βBusiness Support System, real-time OCS rating engine, convergent invoicing, prepaid wallets, and customer self-care.
- Included Module Groups (14 modules):
π Authentication & API Keys: Admin login with automatic JWT capture andb2a_...API Key provisioning.π₯ Customers Management: Corporate customer accounts, postpaid credit limits, and status controls.π€ Customer Self-Care Portal: Customer login (customer_jwt_token), profile retrieval, wallet balance, Stripe/PayPal top-ups, and invoices.π³ Prepaid Wallets & Payments: Real-time wallet balance lookups, card/PayPal top-ups, and manual adjustments.π Invoices & Automated Billing: Recurring invoice generation, PDF downloads, and online invoice settlement.π¦ Plans, Bundles & Catalog: Subscription plans, voice/SMS/AI allowances, and public storefront catalog.π Tariffs & Destination Rates: LCR rate decks, prefix pricing lookups, and rate simulation.π’ DID Phone Numbers & Inventory: DID acquisition, inventory mapping, and PBX domain assignment.βοΈ OCS Rating Engine & Balance Control: Pre-call authorization, interim reservations, CDR rating, and low-balance call teardown.π CDRs, MDRs & Realtime Reports: Rated CDR/MDR/AIDR queries and live OCS monitor telemetry.π Telecom Nodes Interconnect: Registration, health checks, and multi-SBC provisioning sync.π‘οΈ Fraud Prevention & Credit Limits: Fraud velocity rules, risk thresholds, and automated account suspension.π Accounting & Webhook Endpoints: Bidirectional ERP connectors (QuickBooks, Xero, NetSuite, SAP, Odoo) and HMAC-SHA256 webhooks.π€ 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):
π Authentication & Carrier Keys: Operator login, JWT issuance, and high-concurrency carrier API keys.βοΈ Dispatcher & Load Balancing: PBX cluster dispatcher sets, destination weights, and liveOPTIONSprobing (AP/IP/DX).π€οΈ Outbound Routing & LCR: Least-cost routing rules, carrier failover groups, and PBX endpoints.π’ SIP Accounts & Domains: Registrable SIP trunk accounts, suspension/reactivation, credential rotation, domains, and DID routing.π SIP Tracing & Visual Ladders: On-demand packet capture, Call-ID session grouping, ladder diagrams, and AI diagnostics.ποΈ RTPEngine Media Relay & QoS: Media proxy monitoring, NG socket pings, MOS/jitter/packet-loss telemetry, and alerting.π‘οΈ Anti-Flood Pike & IP Firewall: Pike anti-DoS throttling, dynamic IP bans, Fail2ban sync, firewall rules, and GeoIP blocking.π€ AI Perimeter Guard: Autonomous perimeter telemetry, forensic IP analysis, and dynamic mitigation rules.π STIR/SHAKEN Compliance: X.509 STI-AS/VS certificates, verification logs, and Kamailio signing configuration.π WebRTC Gateway & Topology: WSS listener settings, STUN/TURN configuration, and live topology visualization.π οΈ Kamailio RPC & System Maintenance: Controlledkamcmd/ binrpc execution, daemon metrics, and service health diagnostics.
π‘ Standard JSON Response Envelope
Section titled βπ‘ Standard JSON Response EnvelopeβAll Ring2All REST APIs return a consistent JSON structure:
Successful Response (HTTP 200 / 201)
Section titled βSuccessful Response (HTTP 200 / 201)β{ "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

