Transaction hooks
View list of hooks by type
How to view hooks by type in Blnk.
GET
View list of hooks by type
Available in version 0.8.4 or later.
Body
Type of the hook —
PRE_TRANSACTION or POST_TRANSACTIONDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to view hooks by type in Blnk.
curl --request GET \
--url http://localhost:5001/hooks \
--header 'X-blnk-key: <api-key>'{
"error": "hook management requires master key",
"error_detail": {
"code": "AUTH_MASTER_KEY_REQUIRED",
"message": "hook management requires master key"
}
}
server.secret_key) in the X-Blnk-Key header. Regular API keys return 403 Forbidden.PRE_TRANSACTION or POST_TRANSACTIONGET http://YOUR_BLNK_INSTANCE_URL/hooks?type=PRE_TRANSACTION
{
"error": "hook management requires master key",
"error_detail": {
"code": "AUTH_MASTER_KEY_REQUIRED",
"message": "hook management requires master key"
}
}
Was this page helpful?
curl --request GET \
--url http://localhost:5001/hooks \
--header 'X-blnk-key: <api-key>'{
"error": "hook management requires master key",
"error_detail": {
"code": "AUTH_MASTER_KEY_REQUIRED",
"message": "hook management requires master key"
}
}