Borrow the architecture, not unsupported parameters
A webhook system and a polling system both need durable task records, duplicate-safe delivery and reconciliation. AISwapLab users can build their own backend notifier after observing completed status. That notifier belongs to the user's application and is not a provider-signed AISwapLab completion callback or an included email service.
What to do next
- 01
Use the documented status route
Track the existing job with authenticated GET requests. Coordinate pollers so multiple browsers or workers do not consume the same key's request allowance redundantly.
- 02
Notify from your application
After a confirmed state change, update your own database and tell the authorized frontend. Make notifications idempotent so repeated status observations do not trigger repeated customer messages.
- 03
Keep a reconciliation path
If your notifier fails, recover from the saved job record and current status. Notification delivery and generation completion should remain separate milestones in your app.
A concrete example
Illustrative implementation: a backend poller records completed once and sends an internal event to the user's dashboard. Reopening that dashboard reads the stored state rather than requiring a new generation or a fabricated webhook subscription.
Before you call it ready
- Only documented creation fields are sent.
- Polling is bounded and coordinated.
- Application notifications are labeled as your own integration.
When to stop or choose another method
If a third-party automation requires webhooks exclusively, add a supported polling adapter or choose a service with the required callback contract. Do not imply native support that is absent.
