Webhooks
Fetch all webhooks details
client.RealtimeKit.Webhooks.GetWebhooks(ctx, appID, query) (*WebhookGetWebhooksResponse, error)
GET/accounts/{account_id}/realtime/kit/{app_id}/webhooks
Add a webhook
client.RealtimeKit.Webhooks.NewWebhook(ctx, appID, params) (*WebhookNewWebhookResponse, error)
POST/accounts/{account_id}/realtime/kit/{app_id}/webhooks
Fetch details of a webhook
client.RealtimeKit.Webhooks.GetWebhookByID(ctx, appID, webhookID, query) (*WebhookGetWebhookByIDResponse, error)
GET/accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}
Replace a webhook
client.RealtimeKit.Webhooks.ReplaceWebhook(ctx, appID, webhookID, params) (*WebhookReplaceWebhookResponse, error)
PUT/accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}
Edit a webhook
client.RealtimeKit.Webhooks.EditWebhook(ctx, appID, webhookID, params) (*WebhookEditWebhookResponse, error)
PATCH/accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}
Delete a webhook
client.RealtimeKit.Webhooks.DeleteWebhook(ctx, appID, webhookID, body) (*WebhookDeleteWebhookResponse, error)
DELETE/accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}