Name | Description | Required |
---|---|---|
Source PDF | Provide the URL of the PDF document, or leave blank to create a new PDF from scratch. | No |
Text Annotations | Specify each text annotation using the format x;y;page;text . | Fill at least one |
Image Embeds | Define each image using the format x;y;page;urltoimage;link;width;height . Use PDF.co PDF Inspector to find or measure PDF coordinates. | Fill at least one |
Fillable Form Fields | Specify each fillable field value in the format page;fieldName;value . Use the PDF.co Info Tool or the Get PDF Info PDF.co step for field names in PDF forms. | Fill at least one |
Output PDF Name | Name of the output PDF file. | No |
Allow Empty Text and Image Objects | Enable to process text objects and images even with empty URLs. | No |
Auto-trim Input Values | Automatically removes leading/trailing spaces and line breaks from input text values. | No |
Template Data | Input data in JSON format that can be used within annotations and fields. | No |
Custom Profiles | Define additional options for the conversion process in a JSON string format. See API Profiles for details. | No |
x;y;pages;text;fontSize;fontName;fontColor;link;transparent;width;height;alignment
www.pdf.co
, to the 20,20
coordinate of all pages in a document (by using: 0-
). The text annotation uses the Arial
font in red (by using FF0000
) with a font size of 24
. It has a transparent background, a defined 300
by 200
bounding box and with text aligned to the right
.24
is the font size. You can also add styles along with the font size using the following modifiers:+bold
+italic
+underline
+strikeout
bold
, italic
, underline
and strikeout
styles would be as follows:|
separator between objects.\n
or {{$$newLine}}
.x;y;pages;urlToImageOrPDF;linkToOpen;width;height
filetoken://
link to a file from PDF.co Built-In Files Storage.
page;fieldName;value
.
To define the font name
, size
and style
for the form input, use the following schema:
page;fieldName;Field Text;size+bold+italic+underline+strikeout;FontName
Name | Description |
---|---|
url | The temporary URL on the PDF.co file server. |
outputLinkValidTill | A timestamp which indicates how long the url will be available for. |
error | Details of any errors (if any). |
status | The response status code. If all good this will be 200 . |
name | The name of the file. |
jobId | The unique identifier for the job. |
credits | The credits spent on the process. |
remainingCredits | The credits left on your account. |
duration | The time it took for the process. |