Setup Webhook

Webhooks allow your system to notify QuoteLogic when data changes. This enables automatic syncing of your pricing data without manual imports.

Overview

When your system updates pricing or product data, it sends a request to a QuoteLogic webhook endpoint. QuoteLogic then retrieves the latest data from your API and updates your environment.

Endpoint

Your webhook endpoint will be provided by QuoteLogic. Example: https://api.quotelogic.pro/webhooks/pricelist.

Request

Send a POST request to the webhook endpoint when your data changes.

Headers (Example)

Content-Type: application/json
Authorization: Bearer <your-webhook-secret>

Body (Example)

{
	"event": "pricelist.updated",
	"timestamp": "2026-05-04T12:00:00Z"
}

The webhook acts as a trigger. QuoteLogic will fetch the latest data from your system after receiving the request.

Security

To ensure requests are trusted:

  • Use a webhook secret provided by QuoteLogic
  • Send the secret in the Authorization header
  • Only allow requests from trusted systems

Requests without valid authentication are rejected.

Data Fetching

After receiving a webhook:

  1. QuoteLogic validates the request
  2. QuoteLogic calls your API endpoint
  3. The latest data is retrieved
  4. The data replaces the existing dataset

Your API must be accessible to QuoteLogic and return the expected data format.

Retry Behavior

If a webhook fails:

  • Your system should retry sending the request
  • Ensure idempotency (safe to send the same event multiple times)

Best Practices

  • Trigger webhooks only when data changes
  • Keep payloads minimal (event-based, not data-heavy)
  • Ensure your API is reliable and responsive
  • Log webhook events for troubleshooting

When to Use Webhooks

Use webhooks when:

  • Your pricing is managed externally
  • You need near real-time updates
  • Multiple systems rely on the same data

If your data changes infrequently, importing files manually may be simpler.