Create a webhook (closed)
/webhooksRegistration through this endpoint is closed and returns 410. Use POST /v4/webhooks to create new subscriptions. Existing webhooks keep working and can still be listed, updated, and deleted here. Re-posting the URL of a webhook that already exists still returns 200 with that webhook, so idempotent provisioning scripts continue to work unchanged.
Headers
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Body parameters
JSONwebhook_urlRequiredstringURL of an existing webhook, for the idempotent 200 response. A URL that does not already exist returns 410.
valid_untiloptionalintegerIgnored. Retained so existing request bodies stay valid.
Returns
webhook_idoptionalstringwebhook_urloptionalstringscopeoptionalstring"api_key""organization"messageoptionalstringResponse codes
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v2/api/webhooks \{ "webhook_id": "wh_a1b2c3d4", "webhook_url": "https://example.com", "scope": "api_key", "message": "Hello from Blooio!"}