Portal API Docs

Portal API Documentation

Use portal.robocall.pk endpoints for standard Robo Call Pakistan portal accounts, call placement, statuses, balance checks, and key verification.

API Ready Automated Calls Built for Pakistan
Portal API Documentation

Portal API Overview

Robo Call Pakistan APIs help developers integrate automated voice calls into applications, websites, e-commerce stores, CRMs, ERPs, and custom dashboards. Common workflows include order verification, customer notifications, reminders, public announcements, IVR response capture, DTMF response capture, and call status tracking.

Base URLhttps://portal.robocall.pk

Authentication

All requests require an api_key. Send it as a query parameter or as a request header where supported. Keep API keys private and never expose them in public frontend code.

Queryapi_key=YOUR_KEY
Headerapi_key: YOUR_KEY
ProtocolHTTPS
FormatJSON

GET Endpoint

Verify API Key

URLhttps://portal.robocall.pk/api/user_verify
Parameter Type Status Description Example
api_key string Required API key to verify [VOICE API KEY]

Sample Request URL

portal.robocall.pk/api/user_verify?api_key=[VOICE API KEY]

Sample Response

{ "status": 200, "response": "API matched" }

GET Endpoint

Check Balance

This endpoint returns current account balance details for the API key. Portal accounts may also return username and per-call pulse rate.

URLhttps://portal.robocall.pk/api/check_balance

Sample Request URL

portal.robocall.pk/api/check_balance?api_key=[VOICE API KEY]

Sample Response

{ "status": 200, "data": { "balance": "2682.00", "username": "demo", "call_rate": "5.50" } }

Call rate is shown in per-call pulse units, for example per 30 seconds.

GET Endpoint

Send Robo Call

Initiates a robo call to a specified customer with provided order, amount, voice, and custom text data.

URLhttps://portal.robocall.pk/api/calls
Parameter Description Required Example
api_key Your unique API key Yes abc123xyz
caller_id Customer phone number with country code Yes 923001234567
amount Order amount Optional 1500
voice_id Voice ID configured for the call Yes 102
text1 Store name or company name Optional My Store
text2 Order ID or reference Optional ORD12345
key1 – key5 Optional placeholders for additional values Optional 0

Sample Request

portal.robocall.pk/api/calls?api_key=abc123xyz&caller_id=923001234567&amount=1500&voice_id=102&key1=0&key2=0&text1=My%20Store&text2=ORD12345&text3=0&text4=0&text5=0

GET Endpoint

Get Call Status

Fetches the status of a previously initiated robo call using its unique Call ID.

URLhttps://portal.robocall.pk/api/get_call

Sample Request

portal.robocall.pk/api/get_call?api_key=abc123xyz&call_id=20076

Call Status Definitions

Status Meaning Description
1 Initiated Call has been initiated and is awaiting pickup.
2 Answered Customer picked up. DTMF may be 1 confirm, 2 cancel, 3 callback, or empty.
3 Congestion No answer due to network congestion.
4 Busy Customer line was busy.
5 No Answer Call rang but was not answered.
6 Hangup Call disconnected before completion.
8 Pushed to SIP Call job was pushed to SIP provider but not yet initiated.

Retry Logic

  • Unanswered calls can be retried automatically based on account settings.
  • Retry statuses include initiated, congestion, busy, no answer, hangup, and pushed-to-SIP calls that do not convert within timeout.
  • Retry delays can be configured from the Call Settings panel.
  • Keep checking the get_call endpoint until a final status is available.

E-Commerce Integrations

Robo Call Pakistan provides ready-to-use integrations for Shopify, WooCommerce, Google Sheets, and custom systems through API.

ShopifyAutomate order placed, fulfilled, cancelled, feedback, and confirmation calls.
WooCommerceTrigger calls directly from WordPress and WooCommerce order workflows.
Google SheetsLaunch bulk voice campaigns without custom code.

Support

For API key setup, voice IDs, endpoint access, integrations, or troubleshooting, contact Robo Call Pakistan support.

Phone / WhatsApp+92 334 111 7626
Websitehttps://robocall.pk