Webhooks
List Webhook Event Types
GET
header
x-api-key<token>Workspace API key, sent in the x-api-key header. Keys start with op_ and are created in the dashboard.
Event catalog
application/json- response
events*array<string>groups*array<unknown>Example Request
import { Configuration, WebhooksApi } from "@onepostly/sdk";const webhooksApi = new WebhooksApi( new Configuration({ apiKey: process.env.ONEPOSTLY_API_KEY }));const response = await webhooksApi.listWebhookEventTypes();console.log(response);Example Response
{ "events": [ "string" ], "groups": [ null ]}