External API Integration Guide
This guide provides technical reference and documentation for integrating external platforms (like CRMs, ERPs, billing systems, and custom tools) with the Ring2All Platform API.
Ring2All exposes a secure REST API allowing you to manage extensions, hot desking, conferences, queues, agents, trunks, monitor active calls, download Call Detail Records (CDRs), and send SMS messages.
🔐 Authentication
All API requests must be sent over HTTPS. The Ring2All API supports two authentication mechanisms:
1. API Key (Recommended for Machine-to-Machine integrations)
For backend integrations, authentication via the X-API-Key header is the preferred method as keys do not expire unless manually revoked.
Include the API Key in the headers of every request:
Note: The API key automatically scopes the request to the correct tenant context.2. JWT Bearer (For session/user-specific calls)
To authenticate on behalf of a specific user:
- Call the login endpoint to fetch a token:
POST /api/auth/login
- Include the token in the
Authorizationheader:
📈 Base URL and Response Format
All requests target the following base structure:
https:///api
Success Response Format
Error Response Format
📁 Creation & Provisioning Endpoints Reference
Below are the HTTP specifications for creating items across the main Ring2All modules. Each creation endpoint has corresponding GET (list/retrieve), PUT (update), and DELETE routes.
1. PBX Extensions
POST /telephony/extensions
Provision a new SIP or virtual extension.
- Request Body Schema:
2. Hot Desking
POST /telephony/hot-desking
Register a MAC address to enable dynamic hot-desking provisioning on an IP phone.
- Request Body Schema:
3. Call Center (Queues & Agents)
POST /telephony/queues
Create an inbound call distribution queue.
- Request Body Schema:
ring-all, longest-idle-agent, round-robin, top-down, random.
POST /telephony/agents
Register an extension as a call center queue agent.
- Request Body Schema:
4. PBX Applications
POST /telephony/ring-groups
Create a ring group to ring multiple extensions simultaneously or in sequence.
- Request Body Schema:
POST /telephony/ivrs
Provision an Interactive Voice Response (IVR) Auto-Attendant menu.
- Request Body Schema:
POST /telephony/conferences
Create an audio conference bridge.
- Request Body Schema:
POST /telephony/announcements
Create a system announcement/greeting playing pre-recorded audio or Text-to-Speech.
- Request Body Schema:
5. Calls Routing & Trunks
POST /telephony/gateways
Provision an external SIP gateway/trunk connecting to a carrier.
- Request Body Schema:
POST /telephony/inbound-routes
Map an incoming DID number from a gateway to a local PBX destination.
- Request Body Schema:
POST /telephony/outbound-routes
Define pattern-matching rules for outbound calls routing to SIP carriers.
- Request Body Schema:
6. SMS Messaging
POST /sms/messages/send
Send an outbound SMS message through a carrier.
- Request Body Schema:
7. AI Agents
POST /telephony/ai-agents
Configure an AI agent to handle voice interactions or text chatbots dynamically.
- Request Body Schema:
8. Users & Role Profiles
POST /api/users
Create a new administrator or portal user account.
- Request Body Schema:
POST /api/role-profiles
Define a role-based access control profile.
- Request Body Schema:
🚀 Postman Resources
To help you get started quickly, download the preconfigured Postman collection and environment matching this External API integration guide.
- 📥 Download Ring2All External API Postman Collection
- 📥 Download Ring2All External API Postman Environment
To use these files in Postman:
- Download both JSON files to your local machine.
- Open Postman and click on the Import button in the top-left corner.
- Select the downloaded JSON files to import them.
- Set the active environment to Ring2All External API Environment and update the
base_urlandapi_keyvariables with your credentials.