Skip to content

Does AISwapLab send a completion webhook, or should I poll?

The current AISwapLab developer contract exposes job polling, not a customer completion-webhook parameter. Persist the returned job ID and poll_url, then use bounded backend polling. Other providers document webhooks, but that does not make their callback fields valid on AISwapLab. Do not send an undocumented webhook_url and assume it will be honored.

RECOVER AND DELIVER API JOBSAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Use the documented status route; Notify from your application; Keep a reconciliation path.
Workflow diagram: Use the documented status route → Notify from your application → Keep a reconciliation path. Read the article for evidence and limits.

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

  1. 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.

  2. 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.

  3. 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.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation