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}Access
The endpoint checks the integration secret and limits requests to 120 per minute.
Request
| Path | Route details |
|---|---|
path · id | required · {"type":"string"} |
Request body in the handler contract: none.
Synthetic curl example
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.jsonResponse
The handler returns JSON. Response fields are defined in the linked route source.
200
The linked source file contains the authoritative field validation and response structure.
Error codes
The OpenAPI inventory lists no route-specific error status for this method.
Code evidence
app/api/integrations/webhook/[id]/route