POST request when selected AI Puffer events happen.
Use them when another system needs to receive form submissions, chatbot activity, generated content, image outputs, automation results, or knowledge base indexing results.
Setup
Enable webhooks, add endpoints, and choose events.
Events
See the event names and when they fire.
Payload
Read the request headers and JSON body format.
Signatures
Verify requests with the signing secret.
Delivery
Understand success responses, retries, and failed deliveries.
Troubleshooting
Fix missing requests, signature errors, and timeouts.
Setup
In WordPress admin, go to AI Puffer > Settings > Developers. To enable event webhooks:- Turn on Event Webhooks.
- Enter a Signing Secret if your receiver will verify requests.
- Click Add Endpoint.
- Enter a name and endpoint URL.
- Turn on the endpoint.
- Select the events this endpoint should receive.


The endpoint URL must be reachable from your WordPress server. For production, use an HTTPS URL.
Events
Endpoint subscriptions for chatbot feedback are normalized to
chatbot.fb_submitted.
Payload
AI Puffer sends JSON to each subscribed endpoint.Headers
Envelope
Every event uses the same outer envelope. Event-specific fields are insidedata.
resource and meta are included when the event provides them.
Event Data
Usetype or X-AIPKit-Event to decide which fields to read from data.
Chatbots
Chatbots
chatbot.session_started and chatbot.user_message_submitted include bot, conversation, actor, message, and AI model details.chatbot.response_generated includes data.response.text. chatbot.fb_submitted includes data.feedback.chatbot.form_submitted is sent when a visitor submits a form displayed by a chatbot rule’s Display form action.Content Writer
Content Writer
content.generated can come from Content Writer, streaming, or an automation task.Automations
Automations
task.item_completed is sent when an automation queue item completes.AI Forms
AI Forms
form.submitted is sent after an AI Form returns a response.Images
Images
image.generated is sent after image, image edit, or video generation returns output.Knowledge Base
Knowledge Base
kb.source_indexed is sent after a Knowledge Base source is indexed successfully.Signatures
If a signing secret is set, AI Puffer signs the raw JSON body. Signature base string:Delivery
Return any2xx status code to mark the delivery as successful.
2xx responses as failed deliveries. Retryable failures include network errors, 408, 409, 425, 429, and 5xx responses.
Default delivery behavior:
AI Puffer queues latency-sensitive frontend events so slow endpoints do not slow down the visitor request. This includes chatbot events,
form.submitted, content.generated, and image.generated when they are not manual or admin-originated.
Some admin and manual events can be delivered synchronously.
Delivery Issues
Failed queued webhook deliveries appear in AI Puffer > Settings > Developers. The panel shows the five most recent failed webhook jobs. Use Retry to run the delivery again, or Clear to remove it from the list.
Test an Endpoint
Use a temporary endpoint during setup.- Create a test URL in RequestBin, webhook.site, or a local tunnel.
- Add the URL as an AI Puffer webhook endpoint.
- Subscribe it to one event, such as
form.submitted. - Trigger that event in WordPress.
- Check the received headers and JSON body.
- Replace the test URL with your production URL.
Troubleshooting
No request arrives
No request arrives
Check these first:
- Event Webhooks is enabled.
- The endpoint is enabled.
- The endpoint URL is correct and reachable from the WordPress server.
- The endpoint is subscribed to the event you triggered.
- Your server or firewall is not blocking outbound HTTP requests.
Only some events arrive
Only some events arrive
Each endpoint has its own event subscriptions. Edit the endpoint and confirm every expected event is selected.
Signature does not match
Signature does not match
Verify against the raw request body and
X-AIPKit-Timestamp.Common causes:- The receiver parses and re-stringifies JSON before verification.
- The wrong signing secret is used.
- The receiver includes a different timestamp in the base string.
- The receiver strips or changes the raw body before verification.
Endpoint times out
Endpoint times out
Return a quick
2xx response first, then do longer work in your own queue. AI Puffer waits up to 5 seconds for the endpoint response by default.Duplicate processing
Duplicate processing
Retries can send the same event again. Deduplicate with
X-AIPKit-Idempotency-Key or X-AIPKit-Event-Id.Failed delivery stays visible
Failed delivery stays visible
Open AI Puffer > Settings > Developers. Use Retry if the endpoint is fixed. Use Clear if you no longer need that failed job.