Webhooks
Webhooks allow you to receive real-time HTTP callbacks when events occur in your Featurebase organization. Configure webhook endpoints to subscribe to specific event types.
List webhooks
client.webhooks.list(WebhookListParams { cursor, limit, status, featurebaseVersion } params?, RequestOptionsoptions?): CursorPage<Webhook { id, createdAt, description, 11 more } >
GET/v2/webhooks
Create a webhook
client.webhooks.create(WebhookCreateParams { name, topics, url, 3 more } params, RequestOptionsoptions?): Webhook { id, createdAt, description, 11 more }
POST/v2/webhooks
Get webhook by ID
client.webhooks.retrieve(stringid, WebhookRetrieveParams { featurebaseVersion } params?, RequestOptionsoptions?): Webhook { id, createdAt, description, 11 more }
GET/v2/webhooks/{id}
Update a webhook
client.webhooks.update(stringid, WebhookUpdateParams { description, name, requestConfig, 4 more } params, RequestOptionsoptions?): Webhook { id, createdAt, description, 11 more }
PATCH/v2/webhooks/{id}
Delete a webhook
client.webhooks.delete(stringid, WebhookDeleteParams { featurebaseVersion } params?, RequestOptionsoptions?): WebhookDeleteResponse { id, deleted, object }
DELETE/v2/webhooks/{id}
Refresh webhook signing secret
client.webhooks.refreshSecret(stringid, WebhookRefreshSecretParams { featurebaseVersion } params?, RequestOptionsoptions?): Webhook { id, createdAt, description, 11 more }
POST/v2/webhooks/{id}/secret