{
"reason": "lead.phone must have valid format",
"lead": {
"id": "5fd4371e940df5a34a3888b2"
},
"price": 20
}Flows
Submission response
The result of submitting a lead to a flow source or to a router. Returned as JSON
by default, or as XML or form encoding when requested via the Accept header.
The response is produced by the source's inbound integration; this is the shape
produced by the standard integrations.
Whether the flow accepted the lead. Check this field rather than the status
code: a lead rejected by the flow's acceptance criteria or by a cap is still
reported with 201.
Available options:
success, failure, error Why the lead was not accepted. Absent or null when the outcome is success.
Example:
"lead.phone must have valid format"
The lead that was created.
Show child attributes
Show child attributes
The price of the lead. 0 when the lead was not accepted or the source has no pricing.
Example:
20