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

Photo Mockup → Get Job

AI-generated

Summary

Retrieve the current status and details of an asynchronous job by its job ID, optionally polling until the job completes or fails within a specified timeout.

Inputs

  • Job ID (required) — The job_id returned by an async render, upload, video, or photo mockup request.
  • Wait for Completion — Whether to poll the job until it reaches a terminal status (succeeded, failed, or cancelled) instead of returning the current state once.
  • Poll Timeout (Seconds) — Maximum time in seconds to wait for the job to finish when polling for completion. Minimum is 5 seconds; defaults to 300 seconds (5 minutes).

Output shape

a single record

Returns the job object with its current status and details. If the job kind is 'upload' and includes a mockup UUID, it returns that UUID as 'resultMockupUuid'. If the job has a result URL (e.g., for render or video jobs), it is returned as 'resultUrl'. When polling for completion, the operation throws if the timeout is exceeded before a terminal status is reached.

Links

Discussion