curl --request POST \
--url https://{domain}/wp-json/sagescreen/v1/deal/approve \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"deal_uuid": "3d55ae7a-af8b-46c1-ae1c-09afa207ac7f",
"approved": true,
"external_quote_id": "QU-00412"
}
'{
"success": true,
"data": {
"deal_id": 1042,
"status": "ss_approved"
}
}Deal REST
Deal approval callback (Zapier)
Called by Zapier after a CFO approves or rejects a pending deal.
When approved is true the deal transitions to ss_approved; when false
it reverts to draft and an intake item is created for follow-up.
Requires the X-API-Key header (Zapier API key from plugin settings).
POST
/
deal
/
approve
curl --request POST \
--url https://{domain}/wp-json/sagescreen/v1/deal/approve \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"deal_uuid": "3d55ae7a-af8b-46c1-ae1c-09afa207ac7f",
"approved": true,
"external_quote_id": "QU-00412"
}
'{
"success": true,
"data": {
"deal_id": 1042,
"status": "ss_approved"
}
}Authorizations
SageScreen API key stored in ss_zapier_api_key option
Body
application/json
UUID of the deal to approve/reject
Example:
"3d55ae7a-af8b-46c1-ae1c-09afa207ac7f"
true to approve, false to reject
Example:
true
Quote reference (stored as meta)
Example:
"QU-00412"
CFO rejection note (only used when approved=false)
Example:
"Pricing too aggressive for this tier."