Skip to content
Utilerio
All endpoints

PDF Signature Stamp

POST/api/v1/pdf/stamp-image

Draw or upload a signature, place it on any page at any size, and download the signed PDF.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/pdf/stamp-image

Parameters

pdfBase64stringrequired

Base64-encoded PDF file.

imageBase64stringrequired

Base64-encoded signature/stamp image.

imageTypestringoptional

Image format. Default png.

pngjpg
pagesstringoptional

Pages to stamp, e.g. "1" or "1-2,4". Default "1".

xMmnumberrequired

X position of the image's top-left corner, mm from the page's top-left.

yMmnumberrequired

Y position of the image's top-left corner, mm from the page's top-left.

widthMmnumberoptional

Stamp width in millimetres. Default 40.

heightMmnumberoptional

Stamp height in millimetres. Default 20.

Request body

{
  "pdfBase64": "JVBERi0xLjQK...",
  "imageBase64": "iVBORw0KGgo...",
  "imageType": "png",
  "pages": "1",
  "xMm": 120,
  "yMm": 250,
  "widthMm": 40,
  "heightMm": 20
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/pdf/stamp-image \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pdfBase64":"JVBERi0xLjQK...","imageBase64":"iVBORw0KGgo...","imageType":"png","pages":"1","xMm":120,"yMm":250,"widthMm":40,"heightMm":20}'

Response

binary application/pdf