Developer Tools
OpenAI Webhooks
OpenAI API webhooks. Get notified when background responses, Batch jobs, fine-tuning jobs, evals and video jobs finish, when a Realtime SIP call comes in, and for agent sessions and safety alerts.
Connecting OpenAI to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into OpenAI. Then:
- 1In the OpenAI platform, open Settings → Project → Webhooks and click Create
- 2Enter a name, paste your Hookbase ingest URL and choose the event types to send
- 3Copy the signing secret (whsec_...) shown after creation (OpenAI shows it only once) and paste it into this Hookbase source
- 4Payloads are thin (data.id only): fetch the response, batch or job from the API by that id. response.* events only fire for background responses
- 5Use "Send test event" on the webhook settings page to check delivery. Safety events (safety.warning_issued etc.) need a separate organization-level endpoint
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
- Shown once when you create the endpoint on the project's webhook settings page (platform.openai.com/settings/project/webhooks), formatted whsec_... Rotate it there to get a new one.
OpenAI event types
20 of the events people route most often. Hookbase accepts every event OpenAI sends, whether or not it is listed here.
response.completed
A background response finished
response.failed
A background response failed
response.cancelled
A background response was cancelled
response.incomplete
A background response was interrupted
batch.completed
A Batch API job completed
batch.failed
A Batch API job failed
batch.expired
A Batch API job expired before finishing
batch.cancelled
A Batch API job was cancelled
fine_tuning.job.succeeded
A fine-tuning job succeeded
fine_tuning.job.failed
A fine-tuning job failed
fine_tuning.job.cancelled
A fine-tuning job was cancelled
eval.run.succeeded
An eval run succeeded
eval.run.failed
An eval run failed
eval.run.canceled
An eval run was canceled
realtime.call.incoming
An incoming SIP call is waiting to be accepted by the Realtime API
video.completed
A video generation job completed
video.failed
A video generation job failed
agent.session.action_required
An agent session needs input or approval
agent.session.idle
An agent session went idle
agent.session.failed
An agent session failed
What a OpenAI webhook looks like
A response.completed payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"id": "evt_685343a1381c819085d44c354e1b330e",
"object": "event",
"type": "response.completed",
"created_at": 1750287018,
"data": {
"id": "resp_abc123"
}
}Start receiving OpenAI webhooks
Create a source, paste the URL into OpenAI, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free