Skip to main content
POST
/
templates
/
fill
Fill a PDF from a template
curl --request POST \
  --url https://pdfs.platform.arb.inc/templates/fill \
  --header 'Content-Type: application/json' \
  --data '
{
  "documentID": "statementOfClaim",
  "placeholders": {
    "attempts_at_resolution": "Attempt i made",
    "claim_details": "My claim details"
  }
}
'
"<string>"

Body

application/json
documentID
string

Identifier of the document to fill.

Example:

"statementOfClaim"

placeholders
object

Map of template placeholder names to their replacement values.

Example:
{
"attempts_at_resolution": "Attempt i made",
"claim_details": "My claim details"
}

Response

PDF successfully filled.

The response is of type file.