Create a webhook.
Provisions an inbound webhook in Fruxon and, where the provider supports it, registers the corresponding listener on the external system. The created webhook exposes a URL of the form `{webhookProvider}/{webhookId}` that the external system POSTs to — wire this into the provider's UI or hand it to a connector. Attach subscribers (agents, assets, connectors) with `POST WebhookSubscriptions` so inbound events route somewhere.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The tenant identifier
Provider-specific context for registration. Jira: the instance base URL. GitHub: the repository in 'owner/repo' format.
Provider-specific filter (e.g. JQL for Jira).
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/webhooks" \ -H "Content-Type: application/json" \ -d '{ "provider": "string" }'{
"id": "string",
"provider": "string",
"authMode": "API_KEY",
"status": "ACTIVE",
"expiresAt": 0,
"createdAt": 0,
"modifiedAt": 0,
"webhookUrl": "string",
"signingSecret": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Delete a webhook and deregister it from the external system if applicable.
Removes the webhook and cascades the delete to all subscriptions attached to it; any agent triggers wired through those subscriptions stop firing immediately. When the provider supports remote registration the external listener is also torn down — if that call fails the local delete is still attempted. After this, the inbound URL returns 404.
Receive a Stripe billing webhook event.
Stripe POSTs platform-billing lifecycle events here (`checkout.session.completed`, `customer.subscription.*`, `invoice.paid`). The endpoint is anonymous — authentication is the HMAC `Stripe-Signature` header verified against the platform billing signing secret, so a bad or stale signature returns 401. On a valid signature the event provisions the tenant's license (resolving the tenant from event metadata) and returns 204. This is the platform billing webhook, distinct from the agent-facing per-tenant Stripe integration webhook.