Hooks
View list of hooks by type
List hooks by type with the TypeScript SDK.
GET
View list of hooks by type
Use
blnk.Hooks.list to fetch registered webhooks, optionally filtered by type.
blnk.Hooks.list
| Field | Description |
|---|---|
options.type | Optional filter — PRE_TRANSACTION or POST_TRANSACTION. Omit to list all hooks. |
Response shape
200 OK
| Field | Description |
|---|---|
response.data | Array of hook objects returned by Core. |
response.data[].id | Unique hook ID. |
response.data[].type | Hook timing, such as PRE_TRANSACTION or POST_TRANSACTION. |
response.data[].active | Whether the hook is enabled. |
Related docs
How webhooks work
Hook types, payloads, and execution.
View list of hooks by type
HTTP request and response schema.