Skip to main content
POST

Authorizations

x-api-key
string
header
required

API key issued from your Blink PDF account, prefixed bp_. Send it in the x-api-key header on every request. The documentation and health endpoints are exempt.

Body

values
object
required

Fill-by-name map. Keys are inspect names. Tx and Ch are strings, checkbox is boolean, radio is string or null. Omitted names stay unchanged. false is a value.

pdf
string<byte>

AcroForm PDF bytes, Base64-encoded. Does not store the PDF. XOR with templateId.

templateId
string

Stored template id from POST /v1/templates. XOR with pdf. Same store as GET /v1/templates/:id. Unknown, deleted, or foreign is 404.

Response

The fill body is acceptable. written is the field count that would be written. Empty required names are listed in missingRequired as warnings. Fill still writes the PDF. No PDF bytes are returned

written
integer
required

Field count that would be written. Omitted names are not counted.

Required range: x >= 0
missingRequired
string[]
required

Inspect names with /Ff Required that stay empty. Warnings. Fill still writes.