POST webhooks/subscribe
Creates a subscription for a webhook.
Creates a subscription for a webhook.
Resource URL
https://<NODE>:5444/webhooks/subscribe
The API key must have restricted level security or higher.
Parameters
url |
A URL to an application that accepts JSON messages from this cluster. |
Example request
POST |
https://<NODE>:5444//webhooks/subscribe?url=http%3A%2F%2F example.com %2F getwebhook.php |
Response:
The response is not JSON encoded. The only text response is the ID of the webhook subscription. Additionally, an HTTP 200/OK header indicates success.
79c1c8a18be02804b3d2f48ea6462909