Skip to content

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:

  1. Open Postman (Desktop or web.postman.co).
  2. Click Import in the upper left corner.
  3. Paste the URL:
    text
    https://docs.pingoline.com/pingoline-postman-collection.json
  4. Click Import.

⚙️ Setting Up Environment Variables ​

The collection comes with two built-in variables:

VariableDefault ValueDescription
baseUrlhttps://pingoline.com/api/v1PingoLine API production base endpoint
PINGOLINE_API_KEYYOUR_API_TOKEN_HEREYour token from PingoLine Portal -> Developers

To set your API key:

  1. Click the collection name "PingoLine REST API".
  2. Go to the Variables tab.
  3. In PINGOLINE_API_KEY, replace YOUR_API_TOKEN_HERE in the Current Value column with your actual key.
  4. Click Save (Ctrl+S or Cmd+S).

All requests in the collection automatically inherit this authentication!

📋 Included Requests ​

1. System & Diagnostics ​

  • GET /ping — Health check & token validation
  • GET /balance — Account voice balance and allocated IP numbers

2. Automated Order Calls ​

  • POST /order-calls — Trigger an automated IVR verification call
  • GET /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 SMS
  • POST /sms/bulk — Broadcast SMS to array of phone numbers
  • GET /sms/balance — SMS wallet balance
  • GET /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)

Released under the MIT License.