AgentPings.com

API Documentation

/api/ping Endpoint

This API endpoint determines whether a call should be initiated based on the given callerId.

Endpoint:

URL: https://agentpings.com/api/ping

Supported Methods: GET, POST

Request:

Parameters:

  • callerId (required): A 10 or 11-digit phone number. If it's 11 digits, it should start with '1'.

Successful Response:

200 OK

  {
      "downline": 1
  }

OR

  {
      "downline": 0
  }

downline: This can be either 1 or 0. A value of 1 means "send a call", while a value of 0 means "don't send a call".