1. Help guide
  2. Integrations
  3. Developer tools and API
Developer tools and API

Set up webhooks

Send events to your systems when records change in Freshline.

Browse the help guide

A webhook endpoint is a URL on your server. Freshline sends it a signed JSON request each time something it subscribes to happens.

Add an endpoint

  1. 1Go to Settings → Developer and click Manage webhooks.
  2. 2Click New endpoint.
  3. 3Enter the Endpoint URL. It has to be an HTTPS URL that accepts POST requests.
  4. 4Add a Description, such as the system receiving these events.
  5. 5Under Events, pick the events to send, such as order.confirmed.
  6. 6If your endpoint needs it, click Add header under Custom headers, for example an Authorization header.
  7. 7Click Save endpoint.

Verify requests

Each endpoint has a Signing secret. Use it to check the x-freshline-signature header on each request. Click Browse events for every event, example payloads and how to verify signatures.

Tip: Click Send test event to try your endpoint before real events arrive.

Note: Respond with any 2xx status within 10 seconds. Failed deliveries are retried for about 10 hours. If they keep failing, the endpoint is disabled.

Still need help?

Our team usually replies within one business day.

Email [email protected]