Postman Collection & Public Workspace
Explore and run all PingoLine REST API endpoints with our official, pre-configured Postman Collection v2.1 and Public Postman Workspace.
🌐 Public Postman Workspace
PingoLine maintains an official Public Workspace on the Postman API Network:
👉 postman.com/istiaksakif-1911219/workspace/pingoline
🚀 One-Click "Run in Postman"
Click the Run in Postman button above to automatically fork the complete collection into your personal or team Postman workspace. Any updates or new API endpoints published by PingoLine can be pulled directly into your fork.
Alternatively, you can manually import the collection:
- Open Postman (Desktop or web.postman.co).
- Click Import in the upper left corner.
- Paste the URL:text
https://docs.pingoline.com/pingoline-postman-collection.json - Click Import.
⚙️ Setting Up Environment Variables
The collection comes with two built-in variables:
| Variable | Default Value | Description |
|---|---|---|
baseUrl | https://pingoline.com/api/v1 | PingoLine API production base endpoint |
PINGOLINE_API_KEY | YOUR_API_TOKEN_HERE | Your token from PingoLine Portal -> Developers |
To set your API key:
- Click the collection name "PingoLine REST API".
- Go to the Variables tab.
- In
PINGOLINE_API_KEY, replaceYOUR_API_TOKEN_HEREin the Current Value column with your actual key. - Click Save (
Ctrl+SorCmd+S).
All requests in the collection automatically inherit this authentication!
📋 Included Requests
1. System & Diagnostics
GET /ping— Health check & token validationGET /balance— Account voice balance and allocated IP numbers
2. Automated Order Calls
POST /order-calls— Trigger an automated IVR verification callGET /order-calls/{id}— Query status and customer response (pressed 1 or 2)GET /order-calls— List order calls with pagination and filters
3. SMS Gateway
POST /sms/send— Send single or OTP SMSPOST /sms/bulk— Broadcast SMS to array of phone numbersGET /sms/balance— SMS wallet balanceGET /sms/logs— Query delivery logs
4. PBX & Telephony
POST /calls/originate— Two-legged Click-to-Call (bridge extension to mobile)GET /calls— Call detail records (CDR)
