Hooks
View hook details
View the details of a hook with the TypeScript SDK.
GET
View hook details
Use
blnk.Hooks.get to fetch a single webhook by its ID.
blnk.Hooks.get
| Field | Description |
|---|---|
id | ID of the hook to retrieve. |
Response shape
200 OK
| Field | Description |
|---|---|
id | Unique ID for the hook. |
type | PRE_TRANSACTION or POST_TRANSACTION. |
active | Whether the hook is enabled. |
last_run | Date and time the hook last executed. |
last_success | Whether the most recent execution succeeded. |
Related docs
How webhooks work
Hook types, payloads, and execution.
View hook details
HTTP request and response schema.