Ir al contenido

WebhooksLista los endpoints de webhook

Lista los endpoints de webhook

Ver como Markdown
GET
/api/v1/webhooks
curl --request GET \
--url https://gateway.novafe.com.do/api/v1/webhooks \
--header 'X-API-Key: <X-API-Key>'

Devuelve los endpoints registrados por el contribuyente, sin sus secretos.

Autenticación: requiere una API key (header X-API-Key) con rol admin_tenant.

OK

Tipo de contenidoapplication/json
Array<object>

Vista de un endpoint de webhook. Nunca incluye el secret. environment es all (recibe los eventos de todos los ambientes) o el nombre de uno (Test, Cert, Production).

object
id
obligatorio
string format: uuid
tenantId
obligatorio
string format: uuid
url
obligatorio
string
description
obligatorio
null | string
events
obligatorio
Array<string>
environment
obligatorio
string
enabled
obligatorio
boolean
consecutiveFailures
obligatorio
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
disabledReason
obligatorio
null | string
disabledAt
obligatorio
null | string format: date-time
createdAt
obligatorio
string format: date-time
updatedAt
obligatorio
null | string format: date-time
Ejemplogenerado
[
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"tenantId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"url": "example",
"description": "example",
"events": [
"example"
],
"environment": "example",
"enabled": true,
"consecutiveFailures": 1,
"disabledReason": "example",
"disabledAt": "2026-04-15T12:00:00Z",
"createdAt": "2026-04-15T12:00:00Z",
"updatedAt": "2026-04-15T12:00:00Z"
}
]

Falta la API key o no es válida: no existe, fue revocada o venció (Auth.MissingApiKey, Auth.InvalidApiKey).

Tipo de contenidoapplication/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
code

Identificador estable del error, con la forma Grupo.Nombre. Es el que debes comparar en tu código.

string
traceId

Identificador de la petición. Inclúyelo al escribir a soporte.

string
Ejemplo
{
"code": "Ecf.IdempotencyKeyRequired"
}

La API key no tiene el rol que pide la operación (Auth.Forbidden).

Tipo de contenidoapplication/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
code

Identificador estable del error, con la forma Grupo.Nombre. Es el que debes comparar en tu código.

string
traceId

Identificador de la petición. Inclúyelo al escribir a soporte.

string
Ejemplo
{
"code": "Ecf.IdempotencyKeyRequired"
}

Superaste el máximo de peticiones por minuto de tu organización (RateLimit.Exceeded). Espera los segundos del header Retry-After.

Tipo de contenidoapplication/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
code

Identificador estable del error, con la forma Grupo.Nombre. Es el que debes comparar en tu código.

string
traceId

Identificador de la petición. Inclúyelo al escribir a soporte.

string
Ejemplo
{
"code": "Ecf.IdempotencyKeyRequired"
}
Retry-After
integer

Segundos que debes esperar antes de repetir la petición.