Skip to main content
GET
/
hooks
View list of hooks by type
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"
  }
}
Available in version 0.8.4 or later.
Send the master key (server.secret_key) in the X-Blnk-Key header. Regular API keys return 403 Forbidden.

Body

type
string
required
Type of the hook — PRE_TRANSACTION or POST_TRANSACTION
GET 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"
  }
}

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.