webhook_url when creating an enhancement to receive status events.
Webhooks are recommended for production catalog imports because they reduce polling and let you update each product as soon as its image is ready.
Webhook URLs must be public HTTPS URLs. Localhost, private networks, internal DNS, unsupported protocols, and redirects to private networks are rejected.
Configure a webhook
Delivery headers
Each webhook request includes:Verify signatures
Verification parameters:| Parameter | Value |
|---|---|
| Algorithm | HMAC SHA-256 |
| Signed payload | timestamp.event_id.raw_body |
| Signing secret | sha256(<your full API key>) |
- the signature is missing or invalid;
- the timestamp is outside your allowed clock skew window;
- the event id has already been processed.
Event types
Example item event
Retry schedule
AI Gen Studio retries failed webhook deliveries on this schedule:2xx response.
Any non-2xx response or timeout schedules another attempt until the retry limit is reached.
Receiver requirements
- Respond with
2xxonly after the event is safely accepted. - Process events idempotently by
X-Aigen-Event-Id. - Do not depend on event order.
- Poll the enhancement status endpoint if you need the final source of truth.
- Store
external_idso results can be mapped back to your products.
