PushCall

Pushcall

How to Make Phone Calls via HTTP API Using PushCall.

Introduction

This guide provides a step-by-step process on how to initiate phone calls using the PushCall API. To access the PushCall API, you'll need to obtain an API key by signing in at pushcall.me. U se this key in all API requests to authenticate your calls.

Make a phone call

To initiate a phone call, use the following HTTP request.

GET https://pushcall.me/api/call?api_key=xxxxxxxxxx&from=1&to=12345000000

Parameters:

Response Example:

{
  "success": true,
  "requestId": "fe3f7115fcac435f9e7a73b2c4e74312",
  "message": "The call has been performed",
  "from": "1740000000",
  "to": "12345000000"
}

Retrieving Call Information

To check the status of a completed call, use the following request:

GET https://pushcall.me/api/calls/fe3f7115fcac435f9e7a73b2c4e74312

This will return details about the call. Call status is typically available 30 seconds after the request.

Response Example:

{
  "id": "f99d551f4a394148b426d768fcb5fa64",
  "teamId": "1NN6SMQA",
  "plan": "BASIC",
  "availableCalls": 414,
  "from": "1740000000",
  "to": "30000000000",
  "status": "ANSWERED",
  "isMissed": false,
  "createdAt": "2024-09-17T13:17:19.000+00:00",
  "endedAt": "2024-09-17T13:17:38.000+00:00"
}

Key Fields: