Skip to main content

Enable All Webhooks

POST 

/api/temu/:integration_instance/webhooks/configurations/enable-all

Dispatch CreateTemuWebhooksJob via the Tracked Job pattern — subscribes the integration instance to every event code in TemuEventCodeEnum in one shot. The HTTP call returns immediately; the worker performs each TMC bg.tmc.message.update call in the background.

The job uses ShouldBeUnique keyed on the integration instance id, so concurrent enable-all clicks coalesce into a single run.

Response:

  • data.tracked_job_log_id — ID of the TrackedJobLog record. The frontend subscribes to this via the global Job Progress Tray (useJobProgressTray) to surface live progress and completion.
  • message"Webhook subscription job dispatched".

Status code is 200.

Request

Responses

Successful response