Webhooks
Fetch all webhooks details
client.realtimeKit.webhooks.getWebhooks(stringappID, WebhookGetWebhooksParams { account_id } params, RequestOptionsoptions?): WebhookGetWebhooksResponse { data, success }
GET/accounts/{account_id}/realtime/kit/{app_id}/webhooks
Add a webhook
client.realtimeKit.webhooks.createWebhook(stringappID, WebhookCreateWebhookParams { account_id, events, name, 2 more } params, RequestOptionsoptions?): WebhookCreateWebhookResponse { data, success }
POST/accounts/{account_id}/realtime/kit/{app_id}/webhooks
Fetch details of a webhook
client.realtimeKit.webhooks.getWebhookByID(stringwebhookID, WebhookGetWebhookByIDParams { account_id, app_id } params, RequestOptionsoptions?): WebhookGetWebhookByIDResponse { data, success }
GET/accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}
Replace a webhook
client.realtimeKit.webhooks.replaceWebhook(stringwebhookID, WebhookReplaceWebhookParams { account_id, app_id, events, 3 more } params, RequestOptionsoptions?): WebhookReplaceWebhookResponse { data, success }
PUT/accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}
Edit a webhook
client.realtimeKit.webhooks.editWebhook(stringwebhookID, WebhookEditWebhookParams { account_id, app_id, enabled, 3 more } params, RequestOptionsoptions?): WebhookEditWebhookResponse { data, success }
PATCH/accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}
Delete a webhook
client.realtimeKit.webhooks.deleteWebhook(stringwebhookID, WebhookDeleteWebhookParams { account_id, app_id } params, RequestOptionsoptions?): WebhookDeleteWebhookResponse { data, success }
DELETE/accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}