Estimate approved subscribe example:
curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "estimate/approved",
"target_url": "URL"
}'
Estimate approved payload example:
{
"entity_name": "estimate",
"event_type": "approved",
"data": {
"business_id": "s5ek7tfgp068i2st",
"conversation_id": "l5718cwza39px7vj",
"estimate_id": "50ic6dbp2wkntppt",
"estimate_number": 1,
"amount": "16.8",
"currency": "ILS",
"state": "approved",
"due_date": "2019-11-29",
"client_id": "54gjvtadfbxiom7y",
"created_at": "2019-10-29T09:48:11.000+02:00"
}
}