List supported webhook event types with GET /api/v1/webhooks/event-types. Requires an API key with the read scope or a signed-in user.
Request
Returns every workspace event type a webhook endpoint can subscribe to.
Response
- HTTP 200:
WebhookEventTypeswitheventTypes.
The OpenAPI document has each field’s type.
Examples
The TypeScript SDK has no method for this operation yet; send it over HTTP as the cURL tab shows.
result = client.webhooks.event_types()curl "https://pubnio.com/api/v1/webhooks/event-types" \
-H "Authorization: Bearer $PUBNIO_API_KEY"pnio webhooks event-typesasync () => {
const response = await codemode.request({
method: "GET",
path: "/api/v1/webhooks/event-types",
});
return response.data;
};Errors
It declares no problem of its own.
It declares the problems most operations declare.
Idempotency
None needed: a read is safe to retry.
Limits
- Field lengths and ranges are in the OpenAPI document.