Skip to main content
POST
/
templates
/
upload-html
Upload an HTML template
curl --request POST \
  --url https://pdfs.platform.arb.inc/templates/upload-html \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "documentID": "employmentAgreement",
  "html": "<string>",
  "css": "body { font-family: 'Times New Roman'; font-size: 12pt; }"
}
EOF
"successfully uploaded HTML template"

Authorizations

Authorization
string
header
required

access token

Body

application/json
documentID
string
required

The ID of the template.

Example:

"employmentAgreement"

html
string
required
css
string

Optional CSS styles for the template.

Example:

"body { font-family: 'Times New Roman'; font-size: 12pt; }"

Response

HTML template successfully uploaded.

The response is of type string.

Example:

"successfully uploaded HTML template"