Skip to main content

The result of a ping. Same shape as a submission response, without the lead object because a ping does not create a lead.

outcome
enum<string>
required

Whether the flow would accept the lead.

Available options:
success,
failure,
error
reason
string | null

Why the lead would not be accepted. Absent or null when the outcome is success.

Example:

"lead.phone must have valid format"

price
number

The price the flow would pay for the lead. 0 when it would not be accepted or the source has no pricing.

Example:

20