SudoMock icon

SudoMock

Generate PSD mockups, photo mockups and product videos for Print-on-Demand automation. Upload PSDs, turn product photos into mockups, render with your designs, render videos, run renders asynchronously, track jobs, and manage webhooks.

Actions229

Job → Get Job

AI-generated

Summary

Retrieve the status and result of an asynchronous job in SudoMock by its job ID, with an option to wait (poll) until the job completes or returns a terminal status (succeeded, failed, or cancelled).

Inputs

  • Job ID (required) — The job_id returned by a previous async operation like render, upload, or video creation.
  • Wait for Completion — If true, polls the job status until it reaches a terminal state instead of returning the current state immediately.
  • Poll Timeout (Seconds) — Maximum duration to wait (in seconds) when polling for job completion; applies only if 'Wait for Completion' is true.

Output shape

a single item containing the job object JSON with current or final status and any result URLs or mockup UUIDs (e.g., result_url for renders or mockup_uuid for uploads).

If 'Wait for Completion' is enabled, this operation will poll using exponential backoff up to the specified timeout. If not, it returns the current job state immediately. The output also surfaces convenience fields such as 'resultUrl' or 'resultMockupUuid' when available.

Links

Discussion