Webhooks & audit
Webhooks et journaux d'audit — réagissez aux événements et suivez les modifications.
Webhook
Points de terminaison
| POST | /internal/signatures/send-email | Signature email relay |
| POST | /internal/signatures/webhook | Signature middleware webhook |
| GET | /webhooks | Récupère la collection de ressources Webhook. |
| POST | /webhooks | Crée une ressource Webhook. |
| GET | /webhooks/{id} | Récupère une ressource Webhook. |
| PATCH | /webhooks/{id} | Met à jour la ressource Webhook. |
| DELETE | /webhooks/{id} | Supprime la ressource Webhook. |
| POST | /webhooks/e_invoice/incoming_cost | Incoming cost invoice webhook |
| POST | /webhooks/e_invoice/status | Crée une ressource Webhook. |
| POST | /webhooks/stripe | Crée une ressource Webhook. |
Champs de schéma
| Champ | Type | Description |
|---|---|---|
| id | string | |
| url | string | |
| active | boolean | |
| events | array | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Journal d'audit
Points de terminaison
| GET | /audit-logs | Récupère la collection de ressources AuditLog. |
| GET | /audit-logs/{id} | Récupère une ressource AuditLog. |
Champs de schéma
| Champ | Type | Description |
|---|---|---|
| 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) |
Journal de webhook
Points de terminaison
| GET | /webhook-logs | Récupère la collection de ressources WebhookLog. |
| GET | /webhook-logs/{id} | Récupère une ressource WebhookLog. |
Champs de schéma
| Champ | Type | Description |
|---|---|---|
| id | string | |
| url | string | |
| event | string | |
| statusCode | integernull | |
| responseTime | integer | |
| response | string |