Developer Tools
Replicate Webhooks
Run AI models in the cloud. Receive a webhook when a prediction or training starts, produces output or logs, and completes (succeeded, failed or canceled), with the full prediction object as the body.
Connecting Replicate to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into Replicate. Then:
- 1Replicate has no webhook dashboard: pass "webhook": "<your Hookbase ingest URL>" when you create a prediction or training
- 2Optionally pass webhook_events_filter (start, output, logs, completed); "completed" alone sends one webhook per prediction
- 3Fetch your signing key once with GET /v1/webhooks/default/secret and paste it into this Hookbase source
- 4Only the final (completed) webhook is retried, and API prediction inputs and outputs are deleted after an hour, so route the completed event somewhere durable
Signature verification
Set the source's provider to standard-webhooks and paste the signing secret. Every request is checked before the event is stored, and anything that fails is rejected rather than quietly recorded.
- Algorithm
- HMAC-SHA256 (Standard Webhooks spec: sign "{webhook-id}.{webhook-timestamp}.{body}", base64-encoded)
- Header
- webhook-signature
- Where to find the secret
- API only: GET https://api.replicate.com/v1/webhooks/default/secret returns {"key": "whsec_..."}, one key for your user or organization.
Replicate event types
6 of the events people route most often. Hookbase accepts every event Replicate sends, whether or not it is listed here.
starting
The prediction started (webhook_events_filter: start)
processing
The prediction produced output or logs (filters: output, logs)
succeeded
The prediction completed successfully (filter: completed)
failed
The prediction failed; see error (filter: completed)
canceled
The prediction was canceled (filter: completed)
aborted
The prediction's deadline passed before it started
What a Replicate webhook looks like
A succeeded payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"id": "gm3qorzdhgbfurvjtvhg6dckhu",
"model": "replicate/hello-world",
"version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
"input": {
"text": "Alice"
},
"logs": "",
"output": "hello Alice",
"data_removed": false,
"error": null,
"status": "succeeded",
"source": "api",
"created_at": "2026-11-30T16:19:34.765994Z",
"started_at": "2026-11-30T16:19:34.779176Z",
"completed_at": "2026-11-30T16:19:34.791859Z",
"metrics": {
"predict_time": 0.012683,
"total_time": 0.025865
},
"urls": {
"web": "https://replicate.com/p/gm3qorzdhgbfurvjtvhg6dckhu",
"get": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu",
"cancel": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel"
}
}Start receiving Replicate webhooks
Create a source, paste the URL into Replicate, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free