Skip to main content
POST
Create Webhook
Registre un nuevo endpoint de Webhook para recibir notificaciones de eventos en tiempo real a través de HTTP POST.

Cuerpo de la solicitud

string
requerido
La URL HTTPS que recibirá los eventos del Webhook.
string[]
requerido
Lista de tipos de eventos a los que suscribirse. Consulte Webhooks para los tipos de eventos disponibles.
string
requerido
Secreto de firma utilizado para verificar las cargas del Webhook. Debe comenzar con whsec_.

Ejemplo

Response

Autorizaciones

X-API-Key
string
header
requerido

API key authentication. Keys are prefixed with awx_.

Cuerpo

application/json
url
string<uri>
requerido

The HTTPS URL that will receive webhook events.

events
string[]
requerido

List of event types to subscribe to (e.g., payment.completed, payment.failed, policy.violated).

secret
string
requerido

Signing secret used to verify webhook payloads. Must start with whsec_.

Respuesta

Webhook created successfully.

A registered webhook endpoint for receiving real-time event notifications.

id
string

Unique webhook identifier (e.g., whk_abc123).

url
string<uri>

HTTPS URL that receives webhook events.

events
string[]

List of subscribed event types.

status
enum<string>

Webhook status.

Opciones disponibles:
active,
inactive
created_at
string<date-time>

ISO 8601 creation timestamp.