# Webhooks

Webhooks refers to an integration technique where you give Pakk the address of a third-party service/server that you'd like it to 'call into' whenever a certain type of event happens in Pakk.

Webhooks allow you to build trigger-based integrations into external systems - in that respect they can be seen as the flip side of the coin from the Pakk API.  The API needs to be 'called into' either by an external system or integration middleware, making it a 'pull'-based mechanism.  For example, if you wanted to add new Pakk orders to an external system and you could only use the Pakk API, you'd have to use a technique like polling via the API to regularly check for new orders in Pakk.

Webhooks essentially inverts that paradigm, allowing you to contact an external service immediately on record creation/update - making it a 'push'-based mechanism.

In this section we explain how to work with webhooks to integrate Pakk into external systems.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pakk.io/data-and-integrations/webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
