Endpoints
Create
events is optional and defaults to ["*"]. Event patterns support *, category wildcards such as task:*, and exact names. Query the public GET https://api.polpo.sh/v1/events/catalog endpoint for the webhook event catalog.
The create response is 201 Created. Its secret is shown only once:
Event payload and signature
<timestamp>.<raw request body> with the secret and compare its hex digest to v1 using a timing-safe comparison. Reject stale timestamps. Store the one-time secret or rotate it with the rotate endpoint.
Delivery behavior
Polpo considers any2xx response successful and waits up to 10 seconds. Network errors, 408, 429, and 5xx responses are retried with exponential backoff and jitter, for up to five attempts; other 4xx responses are permanent failures. Delivery history can be paginated with limit and before, and a delivery can be redelivered manually.
If your SDK version does not expose webhook helpers, manage webhooks through these HTTP endpoints.