Update an existing hook
How to update an existing hook in Blnk.
Authorization
If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>
.
Replace <api-key>
with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Secure your Blnk server
Body
Name of the hook. Ensure it is as descriptive as possible for easy reference.
Endpoint URL where the hook will send requests.
Type of the hook — PRE_TRANSACTION
or POST_TRANSACTION
.
Indicates whether the hook is enabled or disabled.
Maximum time (in seconds) allowed for the hook to execute.
Maximum number of retry attempts if the hook fails.
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.