Webhooks i audyt
Webhooks i logi audytu — reaguj na zdarzenia i śledź zmiany.
Ta dokumentacja jest generowana ze schematu API. Opisy pól oraz wszelkie teksty, które nie zostały jeszcze przetłumaczone, są wyświetlane po angielsku.
Webhook
Endpoints
| Metoda | Ścieżka | Opis |
|---|---|---|
| POST | /internal/signatures/send-email | Signature email relay |
| POST | /internal/signatures/webhook | Signature middleware webhook |
| GET | /webhooks | Pobiera kolekcję zasobów Webhook. |
| POST | /webhooks | Tworzy zasób Webhook. |
| GET | /webhooks/{id} | Pobiera zasób Webhook. |
| PATCH | /webhooks/{id} | Aktualizuje zasób Webhook. |
| DELETE | /webhooks/{id} | Usuwa zasób Webhook. |
| POST | /webhooks/e_invoice/incoming_cost | Incoming cost invoice webhook |
| POST | /webhooks/e_invoice/status | Tworzy zasób Webhook. |
| POST | /webhooks/stripe | Tworzy zasób Webhook. |
Pola schematu
| Pole | Typ | Opis |
|---|---|---|
| id | string | |
| url | string | |
| active | boolean | |
| events | array | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Log audytu
Endpoints
| Metoda | Ścieżka | Opis |
|---|---|---|
| GET | /audit-logs | Pobiera kolekcję zasobów AuditLog. |
| GET | /audit-logs/{id} | Pobiera zasób AuditLog. |
Pola schematu
| Pole | Typ | Opis |
|---|---|---|
| id | string | |
| action | string | |
| executorEmployee | mixed | |
| relatedEmployee | mixed | |
| relationId | string | |
| relationName | string | |
| metadata | array | |
| details | stringnull | |
| createdAt | string (date-time) |
Log webhooka
Endpoints
| Metoda | Ścieżka | Opis |
|---|---|---|
| GET | /webhook-logs | Pobiera kolekcję zasobów WebhookLog. |
| GET | /webhook-logs/{id} | Pobiera zasób WebhookLog. |
Pola schematu
| Pole | Typ | Opis |
|---|---|---|
| id | string | |
| url | string | |
| event | string | |
| statusCode | integernull | |
| responseTime | integer | |
| response | string |