← Referência da API

Webhooks & auditoria

Webhooks e logs de auditoria — reaja a eventos e rastreie mudanças.

Webhook

Endpoints

POST /internal/signatures/send-email
POST /internal/signatures/webhook
GET /webhooks
POST /webhooks
GET /webhooks/{id}
PATCH /webhooks/{id}
DELETE /webhooks/{id}
POST /webhooks/e_invoice/incoming_cost
POST /webhooks/e_invoice/status
POST /webhooks/stripe

Campos de schema

CampoTipo
id string
url string
active boolean
events array
createdAt string (date-time)
updatedAt string (date-time)

Log de Auditoria

Endpoints

GET /audit-logs
GET /audit-logs/{id}

Campos de schema

CampoTipo
id string
action string
executorEmployee mixed
relatedEmployee mixed
relationId string
relationName string
metadata array
createdAt string (date-time)