Axuz Developers

GET /webhooks/event-types

— Fase 183a.

  • Access: Public
  • Service: https://api.axuz.net

Accepted authentication

No authentication (public route, or protected by link/signature).

— Fase 183a. Devolve o catálogo público de tipos de evento. Motivo: apps de terceiros precisam saber pra que evento inscrever antes de criar webhook. Saída: {items: EventDescriptor[]} com type/description/ payload_schema/since_version. Sem auth nem team scope — mesmo pra todo workspace. Fluxo: GET /webhooks/event-types.

Parameters

No parameters.

Responses

200

TBD

429

Limite de requisições excedido.

NameTypeRequiredDescription
errorstringyes

500

Erro interno. Tente de novo com backoff; reporte o X-Request-Id.

NameTypeRequiredDescription
errorstringyes

Examples

"Try it" is turned off in this reference. Use the examples with your test credential.

curl

curl -sS -X GET 'https://api.axuz.net/webhooks/event-types'

Node.js

const res = await fetch("https://api.axuz.net/webhooks/event-types", {
  method: 'GET',
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());

Python

import os
import requests

res = requests.request(
    "GET",
    "https://api.axuz.net/webhooks/event-types",
    timeout=30,
)
res.raise_for_status()
print(res.json())