Developer Docs

Developer Documentation

Integrate Robo Call Pakistan APIs in minutes with clear endpoints, webhooks, SDK examples, and sample requests.

API Ready Automated Calls Built for Pakistan
Developer Documentation

Corporate Account API Overview

Robo Call Pakistan APIs use HTTPS GET endpoints with an api_key query parameter. This matches the website demo form and the project API settings, where calls are sent through https://portal.robocall.pk/api/calls unless a corporate account endpoint is configured.

Base URLhttps://corporate.robocall.pk

Authentication

All public examples authenticate with an api_key query parameter. Keep the key private, store it server-side, and never expose it in public frontend JavaScript.

Auth Style?api_key=[VOICE API KEY]
MethodGET
ProtocolHTTPS
Response FormatJSON

GET Endpoint

Verify API Key

URLhttps://corporate.robocall.pk/api/verify-key
ParameterTypeStatusDescriptionExample
api_keystringRequiredAPI key provided by Robo Call Pakistan[VOICE API KEY]

Sample Request URL

https://corporate.robocall.pk/api/verify-key?api_key=[VOICE API KEY]

Sample Response

{
  "status": 200,
  "valid": true,
  "message": "API key is valid"
}

GET Endpoint

Check Balance

Fetch account balance, username, and per-call pulse rate for the supplied API key.

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

Sample Request URL

https://corporate.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 amount, voice ID, keys, and text values. The demo request form in this theme uses the same endpoint and query format.

URLhttps://corporate.robocall.pk/api/calls
ParameterDescriptionRequiredExample
api_keyAPI key provided by Robo Call PakistanYes[VOICE API KEY]
caller_idCustomer phone number with country code, no plus signYes923001234567
amountOrder/payment amount or campaign valueOptional1500
voice_idVoice ID configured for the accountYes102
key1, key2Custom keys or workflow markersOptional0
text1Store, company, vehicle, or campaign textOptionalMy Store
text2Order ID, reference, location, or campaign detailOptionalORD12345
text3 - text5Additional optional text fieldsOptional0

Sample Request URL

https://corporate.robocall.pk/api/calls?api_key=[VOICE API KEY]&caller_id=923001234567&amount=1500&voice_id=102&key1=0&key2=0&text1=My%20Store&text2=ORD12345&text3=0&text4=0&text5=0

Sample Response

{
  "status": 200,
  "message": "Call Data inserted successfully",
  "data": {
    "call_id": "dynamicgenerated_number",
    "call_to": "923001234567",
    "amount": 1500,
    "voice_id": 102
  },
  "api_response": "Ok 200"
}

GET Endpoint

Get Call Status

Fetch final or in-progress status of a call using the call ID returned by the send call endpoint.

URLhttps://corporate.robocall.pk/api/get_call
ParameterDescriptionRequiredExample
api_keyAPI key provided by Robo Call PakistanYes[VOICE API KEY]
call_idUnique call ID returned by /api/callsYes20076

Sample Request URL

https://corporate.robocall.pk/api/get_call?api_key=[VOICE API KEY]&call_id=20076

Sample Response

{
  "data": {
    "call_id": 20076,
    "call_to": "923001234567",
    "call_status": 2,
    "dtmf": 1,
    "retry": 1,
    "amount": 1500,
    "voice_id": 102,
    "text1": "My Store",
    "text2": "ORD12345",
    "call_charges": "6.90"
  },
  "code": 200,
  "response": "Code Executed Successfully"
}

Call Status Definitions

StatusMeaningDescription
1InitiatedCall has been initiated and is awaiting pickup.
2AnsweredCustomer picked up. DTMF may be 1 confirm, 2 cancel, 3 callback, or empty.
3CongestionNo answer due to network congestion.
4BusyCustomer line was busy.
5No AnswerCall rang but was not answered.
6HangupCall disconnected before completion.
8Pushed to SIPCall 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