latestOpenAPI 3.1.02026-08-19125152233.3 KB

8c15cc93d210

System: Provider Webhooks

Handle Provider Webhook

Receive an incoming webhook event from a provider.

Body bytes are pre-read by the async _read_body dependency so that signature verification has access to the exact bytes signed by the provider. The route itself is a plain def so FastAPI runs it in a threadpool, keeping synchronous DB work off the event loop.

Returns whatever dict the provider's dispatch() method returns.

post/api/v1/providers/{provider}/webhooks

Path parameters

providerstring required

Response

Successful Response

object required