Skip to content

Reimply API

Images to PDF API

POST/v1/images-to-pdf

Turn a set of photos or scans into one PDF, one page per image, on A4 or at each image's own size.

Example

Endpoint POST /v1/images-to-pdf. Options used here: page_size.

Request
curl https://reimply.com/v1/images-to-pdf \
  -H "Authorization: Bearer $REIMPLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":["https://example.com/files/page1.jpg","https://example.com/files/page2.png"],"options":{"page_size":"a4"}}'

Inputs are processed in the order given. You can also send files as multipart or as presigned uploads.

Request body

inputsarray, required
The files, in order. A URL, {"upload_id": "upl_..."} from a presigned upload, or a multipart files field.
options.page_sizeoptional
Used in this example: "a4". See endpoints for every option.
webhook_urlstring, optional
Run the job in the background and send a signed event to this URL when it finishes. See webhooks.
asyncboolean, optional
Answer 202 straight away and run the job in the background.

Use cases

  • Photo scans into one document
  • Delivery notes and receipts
  • Printable photo sets

Pricing

This job uses 1 conversion. Free accounts get 250 conversions a month, and paid plans start at £12 a month for 3,000. Pricing.

Questions

How many conversions does a Images to PDF job use?

One conversion per file, whatever the size. Video and audio jobs use 3. Failed jobs are free.

Can I try it for free?

Yes. Every account gets 250 free conversions a month, no card needed. Create a key in your account and run the sample above.

What happens to my files?

Files are processed on Reimply servers and deleted automatically 60 minutes after the job, along with the results.

Just need to do this once? Use the free Images to PDF tool on reimply.com.