Webhooksv2
Create a webhook
POST
/webhooksCreate a new webhook subscription.
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.
Bearer
Body parameters
JSONwebhook_urlRequiredstringURL to receive webhook events
webhook_typeoptionalstringType of events to receive
"message""status""all"valid_untiloptionalintegerExpiration timestamp (-1 for no expiration)
Returns
webhook_idoptionalstringwebhook_urloptionalstringscopeoptionalstring"api_key""organization"messageoptionalstringResponse codes
200Webhook already exists (idempotent)
201Webhook created. The signing_secret is shown only once - store it securely.
400Invalid request parameters
401Authentication required or invalid
409Webhook limit reached (max 64 per organization)
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 \ -H "Authorization: Bearer bl_live_..." \ -H "Content-Type: application/json" \ -d '{ "webhook_url": "https://example.com/webhook", "webhook_type": "message", "valid_until": -1 }'{ "webhook_id": "wh_a1b2c3d4", "webhook_url": "https://example.com", "scope": "api_key", "message": "Hello from Blooio!"}