Skip to main content
POST
Registrar endpoint de webhook firmado (HMAC-SHA256)

Authorizations

Authorization
string
header
required

Llave de API por empresa emitida desde IA ERP (rol owner). Prefijo sk_live_ emite al SII; sk_test_ ejecuta en sandbox.

Body

application/json
url
string
required

URL HTTPS pública donde recibirás los eventos POST JSON.

Required string length: 12 - 512
descripcion
string

Etiqueta opcional para identificar el destino.

Maximum string length: 120
eventos
string[] | null

Eventos suscritos: dte.emitido, dte.estado_actualizado (por defecto ambos).

Maximum array length: 10

Response

Created

creado_en
string<date-time>
required
eventos
string[] | null
required
id
string
required
modo
string
required
secret
string
required

Secreto HMAC-SHA256 (whsec_...). Guárdalo ahora: se muestra una única vez.

url
string
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://dte.ia-erp.cl/schemas/CrearWebhookOutputBody.json"

descripcion
string