---
updatedAt: 2025-06-16T23:09:17.000Z
agentTools:
  projectIndex: https://developers.directscale.com/llms.txt
---

# Using Hook APIs

The Client Library makes calling the [Hook APIs](https://developers.directscale.com/reference/about-the-extension-hook-apis) easy by allowing clients to use the IHookCallback interface in controllers or by allowing clients to write their own concrete implementation of a generic class. Learn more about how to use the library to call the Hook APIs in the [Examples](#examples) below.

> 📘 The IHookCallback interface is located in the `DirectScale.Disco.Extension.Middleware` namespace.

<br />

# Examples

***

<TutorialTile title="Coding the CreateAutoship Process Hook" emoji="🦉" backgroundColor="#018FF4" slug="coding-the-createautoship-process-hook" id="623e08defba484006cd9277d" link="https://developers.directscale.com/v2.0/recipes/coding-the-createautoship-process-hook" />

<TutorialTile title="Coding the GetAutoships Process Hook" emoji="🦉" backgroundColor="#018FF4" slug="coding-the-getautoships-process-hook" id="623e083d7f0c940065e09baa" link="https://developers.directscale.com/v2.0/recipes/coding-the-getautoships-process-hook" />

<TutorialTile title="Coding the SubmitOrder Process Hook with a Directscale Service Call" emoji="🦉" backgroundColor="#018FF4" slug="coding-the-submitorder-process-hook-with-a-directscale-service-call" id="623e099b59f2c4001fdbf4da" link="https://developers.directscale.com/v2.0/recipes/coding-the-submitorder-process-hook-with-a-directscale-service-call" />