Webhooks & Audit
Webhooks und Audit-Protokolle — reagieren Sie auf Ereignisse und verfolgen Sie Änderungen.
Webhook
Endpoints
| POST | /internal/signatures/send-email | Signature email relay |
| POST | /internal/signatures/webhook | Signature middleware webhook |
| GET | /webhooks | Ruft die Sammlung der Webhook-Ressourcen ab. |
| POST | /webhooks | Erstellt eine Webhook-Ressource. |
| GET | /webhooks/{id} | Ruft eine Webhook-Ressource ab. |
| PATCH | /webhooks/{id} | Aktualisiert die Webhook-Ressource. |
| DELETE | /webhooks/{id} | Entfernt die Webhook-Ressource. |
| POST | /webhooks/e_invoice/incoming_cost | Incoming cost invoice webhook |
| POST | /webhooks/e_invoice/status | Erstellt eine Webhook-Ressource. |
| POST | /webhooks/stripe | Erstellt eine Webhook-Ressource. |
Schemafelder
| Feld | Typ | Beschreibung |
|---|---|---|
| id | string | |
| url | string | |
| active | boolean | |
| events | array | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Audit-Protokoll
Endpoints
| GET | /audit-logs | Ruft die Sammlung der AuditLog-Ressourcen ab. |
| GET | /audit-logs/{id} | Ruft eine AuditLog-Ressource ab. |
Schemafelder
| Feld | Typ | Beschreibung |
|---|---|---|
| id | string | |
| action | string | |
| executorEmployee | mixed | |
| relatedEmployee | mixed | |
| relationId | string | |
| relationName | string | |
| metadata | array | |
| details | stringnull | A free-text note attached to the action — e.g. the optional reason a `resourcing-allocation-declined` entry carries, written by {@see \App\Api\State\Resourcing\DeclineRequestProcessor}. Nullable: most actions (create/confirm/delete/…) carry no note and leave this null, and a decline with no reason given leaves it null too — the reason is optional, not the column. |
| createdAt | string (date-time) |
Webhook-Protokoll
Endpoints
| GET | /webhook-logs | Ruft die Sammlung der WebhookLog-Ressourcen ab. |
| GET | /webhook-logs/{id} | Ruft eine WebhookLog-Ressource ab. |
Schemafelder
| Feld | Typ | Beschreibung |
|---|---|---|
| id | string | |
| url | string | |
| event | string | |
| statusCode | integernull | |
| responseTime | integer | |
| response | string |