Salesforce Decode
Salesforcedecode
Back to questions
Headless 360Beginnerwebhooksevents

What is a webhook in headless integrations?

Real World Scenario

Payment provider notifies your site when charge succeeds. You explain webhooks simply.

Expected Answer

• A webhook is an HTTP callback—external system POSTs to your URL when an event occurs • Used for payment confirmation, shipment updates, and inventory changes • Your middleware endpoint validates signature, processes payload, updates Salesforce • Must handle retries and duplicate deliveries safely • Expose HTTPS endpoints with authentication—not open anonymous URLs

Follow-Up Questions & Answers

Click to expand — each follow-up includes a direct, interview-ready answer

Use provider signing secrets—HMAC headers or shared tokens—and reject unsigned requests.

Architect Perspective

Webhook answers need security + idempotency—same as order sync.