POST /api/integrations/webhook/{id}
Route source: app/api/integrations/webhook/[id]/route.ts. Access: Integration-specific bearer secret. Status codes are read from the route implementation.
POST
/api/integrations/webhook/{id}Zugang
Der Eingang prüft den Integrationsschlüssel und begrenzt Anfragen auf 120 pro Minute.
Anfrage
| Pfad | Route-Details |
|---|---|
path · id | required · {"type":"string"} |
Anfrage-Body laut Handler: keiner.
Synthetisches curl-Beispiel
curl -i -X POST 'https://portal.rfi-irfos.com/api/integrations/webhook/00000000-0000-4000-8000-000000000001' \
-H "Authorization: Bearer $SYNTHETIC_WEBHOOK_TOKEN" \
-H 'Content-Type: application/json' \
--data-binary @request.jsonAntwort
Der Handler liefert JSON. Die Antwortfelder sind im verlinkten Routencode definiert.
200
Die referenzierte Quelldatei enthält die maßgebliche Feldvalidierung und Antwortstruktur.
Fehlercodes
Für diese Methode führt das OpenAPI-Inventar keinen eigenen Fehlerstatus auf.
Beleg im Code
app/api/integrations/webhook/[id]/route