capabilities.work

Create Document with Action JSON

A 2-step recipe with Adobe Photoshop. We can help you get access.

Recipe · 2 steps

Create Document with Action JSON

Create a new document using only Action JSON descriptors.

  1. Submit an action descriptor sequence that makes a new document at the requested size. No inputs array is sent, since this endpoint creates the document rather than operating on an existing one.
  2. Poll the PSD service status endpoint until the creation job completes. The submit call returns the absolute status URL in _links.self.href; the jobId this operation requires is the final path segment of that URL, so a runner takes that segm
What you'll need to have ready
  • width: Width in pixels of the document the action sequence creates.
  • height: Height in pixels of the document the action sequence creates.
  • resolution: Resolution in PPI of the created document.
  • outputUrl: Pre-signed PUT URL where the created document is written.
  • outputType: Output format for the created document.
For your developer

Arazzo workflow adobe-photoshop:action-json-document-create, 2 operations: createWithActionJSON → getPsdJobStatus. Specs on APIs.io.