Working with the Rendition API

Create PDF, JPEG, or PNG renditions from a specific InDesign document using the Rendition API.

Quickstart

Use the cURL command below to create a JPEG image from an InDesign document.

Be sure to update the {PRE-SIGNED_URL} with the pre-signed URL of the InDesign document.

curl --request POST \ 
  --url https://indesign.adobe.io/v3/create-rendition \ 
  --header 'Authorization: bearer {YOUR_OAUTH_TOKEN}' \ 
  --header 'x-api-key: {YOUR_API_KEY}' \ 
  --header 'Content-Type: application/json' \ 
  --data-raw '{ 
        "assets": [ 
            { 
              "source": { 
                    "url": "{PRE-SIGNED_URL}" 
              }, 
              "destination": "Short_Document.indd" 
            } 
        ], 
        "params": { 
            "outputMediaType": "image/jpeg", 
            "pageRange": "All", 
            "quality": "medium", 
            "resolution": 72, 
            "targetDocuments": [ 
                "Short_Document.indd" 
            ], 
            "outputFolderPath":"outputfolder" 
      } 
}

The raw data may include three parts:

Consult this skeleton cURL request for more details.