AgentPings.com
API Documentation
Detailed documentation for the `/api/agent-status-price` endpoint.
URL:https://agentpings.com/api/agent-status-price
Methods: GET
, POST
This endpoint checks if an agent is available for a given phone number's area code and vertical. It also returns the price associated with the vertical.
state
or zip
is already provided. phone
or state
is already provided. phone
or zip
is already provided. auto_insurance
, final_expense
, u65_health
, aca
, medicare
. Note: One of phone
, zip
, or state
is required for the request.
200 OK
{ "online": true, "price": 25 }
online: true
if the agent is available, false
otherwise.
price: Price associated with the provided vertical.
Request:
GET https://agentpings.com/api/agent-status-price?phone=1234567890&vertical=auto_insurance&affiliate_id=YOUR_AFFILIATE_ID&api_key=YOUR_API_KEY
Response:
{ "online": true, "price": 25 }