Skip to content

What is ping/post?

Ping/post is a way of selling a lead to a buyer in two steps. Direct post is the single-step alternative. Pingdex supports both.

A ping is a preliminary request that asks a buyer whether they want a lead and, usually, how much they will pay. It is a request for a quote. The buyer replies with an eligibility decision and a bid. The lead is not committed to the buyer at this stage.

A post is the request that commits the lead to a buyer. The buyer takes delivery of the lead and may respond with a commercial outcome such as accepted or rejected, a transaction identifier or a sale amount.

Ping/post Direct post
Requests per buyer Ping, then post to the winner One post
Buyers contacted Every eligible buyer receives the ping One buyer receives the post
Selection By bid By campaign priority order
With ping/post, only the buyer that wins the ping receives the post. Buyers that lose receive no post.

Buyer contracts differ. One buyer wants to price each lead before agreeing to take it. Another has a fixed arrangement and only needs the lead delivered. Each buyer also has its own endpoint, field names, authentication and response format.

Pingdex lets you describe each buyer’s endpoint once, as a provider, and then route leads to those providers from a campaign. The campaign decides how buyers are chosen. The provider decides how each buyer is contacted.

In Pingdex, a provider’s integration is an ordered list of legs. Each leg has a role. The two roles correspond to the two steps above.

Product term Leg role in the API Purpose
Ping quote Obtain a bid and establish that the provider is eligible for the lead
Post commit Submit the lead for commercial acceptance

An integration takes one of two forms:

  • Quote then commit. A quote leg followed by a commit leg. This is ping/post.
  • Commit only. A single commit leg. This is direct post.

Every integration must contain exactly one commit leg, and it must be last. An integration can contain at most one quote leg.

{
"legs": [
{ "name": "ping", "role": "quote", "request": { "...": "..." } },
{ "name": "post", "role": "commit", "request": { "...": "..." } }
]
}

The leg name is yours to choose. Names such as ping and post are conventions, not requirements.

The campaign’s routing strategy determines which integrations it accepts.

Routing strategy Providers required Behaviour
highest_bid Quote then commit Quotes every eligible provider, then commits to the highest valid bid
priority Commit only Commits to the first eligible provider in assignment order

Pingdex sends a lead’s commit request at most once. If the outcome of a commit is unknown, Pingdex does not send it again or offer the lead to another buyer, because that could sell the same lead twice. See Lifecycle and statuses for the resulting statuses.