Hooks API
Hello1
Ensures your web server is properly set up to handle Bubblehouse hooks, and specifies which hooks your code is interested in.
Method | POST |
---|---|
Kind | Mutation Hook |
URL | The webhook URL you specify, with :name replaced by Hello1 |
Authentication | JWT HS256 Bearer token |
Bubblehouse will invoke this hook before any other hooks, and may invoke it periodically afterwards. If a call to this hook fails and does not recover in time, Bubblehouse may stop processing other hooks.
Input
magic
stringrequiredJust a random string that needs to be returned on output.
Output
magic
stringrequiredSimply return the same string from the input data.
hooks
array of stringrequiredA list of other hooks your code is interested in.
Specific Errors
Status | Error | Reason & Examples |
---|---|---|
None. |
API-wide Errors
Status | Error | Reason & Examples |
---|---|---|
None. |
Global Errors
Status | Error | Reason & Examples |
---|---|---|
None. |