Skip to content

List supported webhook event types

PubNio API webhooks.eventTypes: list supported webhook event types. Request fields, examples in five clients, errors, and idempotency.

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: WebhookEventTypes with eventTypes.

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-types
async () => {
  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

Type to search…

↑↓ navigate↵ selectEsc close