Skip to main content
More in Learn

Webhooks and Events in Crystallize

Within Crystallize, actions like creating an order and updating a product fire off events. You can subscribe to these events using the Webhook mechanism. Webhooks provide a way to call external functions based on event triggers.

Creating a Webhook

In the Crystallize App, click the Settings button, then click on the Webhooks label. You can also bring up the command palette with CTRL+K or ⌘+K and type “Webhooks” or “Create Webhook.”

On the Webhooks screen, any existing webhooks will be listed within the left-hand panel. From here, you can click the plus sign button (+) at the top of the screen or the +Add webhook button in the center of the screen to begin defining a new webhook.

You can then specify what type of REST call you would like to make to a specific URL. You’re also able to specify any custom headers you may need for this request.

Select your Data

You can optionally define specific pieces of data you want Crystallize to send as the body of the webhook request. This can be useful if you want to share data within Crystallize across other services without having to make a separate request to retrieve that data.

Check Out Our Webhooks Livestream

People showing thumbs up

Need further assistance?

Ask the Crystallize team or other enthusiasts in our slack community.

Join our slack community