Skip to main content

Webhooks

Webhooks push Dealops events to your systems as they happen, so you don't have to poll for changes. When a quote is signed, an approval is decided, or an opportunity syncs from your CRM, Dealops sends a signed HTTPS POST to an endpoint you register.

How it works​

Something happens in Dealops
└─► matching endpoints selected
└─► signed HTTPS POST to your URL
└─► your 2xx ──► done
non-2xx ──► retried with backoff

Each endpoint has its own URL, its own set of subscribed event types, and its own signing secret. You can register several — for example one for billing events and one for a data warehouse — and each is delivered to independently.

Registering an endpoint​

Endpoints can be managed from Dealops settings, or through the API:

curl -X POST https://api.dealops.com/external/v1/webhook-configs \
-H "x-api-key: $DEALOPS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Billing sync",
"url": "https://hooks.example.com/dealops",
"eventTypes": ["quote.signed", "quote.crm_submitted"]
}'

The response includes a signingSecret — the only time it is ever returned. Store it before you close the connection; if you lose it, rotate to get a new one. Use it to verify every delivery.

Your URL must be HTTPS, and must resolve to a public address — private, loopback, and link-local ranges are rejected, both when you register and again at delivery time. A localhost tunnel from a development machine works only if it has a real public hostname.

See the API reference for the full set of endpoint-management routes: list, update, delete, rotate the secret, and inspect recent deliveries.

Events you can subscribe to​

Event typeFires when
quote.createdA new pricing quote was created.
quote.updatedA pricing quote was updated.
quote.exportedA quote document was exported (e.g. PDF, Slides).
quote.approval_submittedA quote was submitted for approval.
quote.approval_decidedAn approver approved or rejected a quote.
quote.approval_recalledThe submitter recalled an in-flight approval.
quote.crm_submittedA quote was written back to the CRM.
quote.deletedA pricing quote was deleted.
quote.signature_requestedA signature envelope was sent for a quote.
quote.signedAll signers completed the envelope.
quote.signature_declinedA signer declined the envelope.
quote.signature_voidedA signature envelope was voided before completion.
quote.primary_setThe primary quote on an opportunity changed.
quote.primary_clearedAn opportunity was left with no primary quote.
quote.catalog_frozenA quote's catalog version was permanently pinned (its opportunity closed).
quote.crm_submit_failedA write-back of a quote to the CRM failed.
quote.share_createdA public share link was created for one or more quotes.
opportunity.createdA new opportunity was created in Dealops.
opportunity.updatedAn opportunity was updated.
opportunity.deletedAn opportunity was deleted.
opportunity.refreshedAn opportunity was refreshed from the CRM.
opportunity.crm_pushedDealops pushed opportunity updates back to the CRM.
opportunity.stage_changedAn opportunity's CRM stage moved (including to a closed stage).
quote_proposal.createdA quote proposal was created.
quote_proposal.quotes_changedThe quote membership on a proposal changed.
quote_proposal.archivedA quote proposal was archived.
quote_proposal.unarchivedA quote proposal was un-archived.
quote_proposal.deletedA quote proposal was permanently deleted.
quote.checkout_publishedA checkout link for a quote was published or refreshed.
quote.checkout_openedA buyer opened a quote checkout link.
quote.checkout_company_savedA buyer saved company and billing details on a checkout.
checkout.activitySomething happened on a checkout, such as an order form being generated, viewed or downloaded.
deal_group.createdA contract (deal group) was created.
deal_group.updatedA contract (deal group) was updated.
deal_group.deletedA contract (deal group) was deleted.
deal_group.opportunity_addedAn opportunity was added to a contract (deal group).
deal_group.opportunity_removedAn opportunity was removed from a contract (deal group).
deal_group.cancelledA contract was terminated early or archived.
deal_group.movedA contract was moved to a different engagement.
account.createdA customer account was created.
account.updatedA customer account was updated.
account.deletedA customer account was deleted.
engagement.createdAn engagement was created under an account.
engagement.updatedAn engagement was updated.
engagement.deletedAn engagement was deleted.
renewal.scaffoldedA renewal opportunity was created, or refreshed, from a closing contract.
renewal.reseededA renewal quote was rebuilt because its prior contract changed.
renewal.initiatedA renewal quote was seeded from a prior CRM quote.

The contract (deal_group.*), account.*, engagement.* and renewal.* events fire only for organizations that manage contracts in Dealops. Buyer actions on a checkout link have no Dealops user, so their actor is system.

Subscribing to an event type that isn't on this list is rejected at registration. Subscribe only to what you act on — every extra type is traffic your endpoint has to absorb and acknowledge.

Next steps​

  • Verifying deliveries — the headers, the payload envelope, and the signature check you should run before trusting a request.
  • Delivery and retries — what happens when your endpoint is down, how to stay idempotent, and how endpoints get disabled.