All endpoints
PDF Signature Stamp
POST
/api/v1/pdf/stamp-imageDraw 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-imageParameters
pdfBase64stringrequiredBase64-encoded PDF file.
imageBase64stringrequiredBase64-encoded signature/stamp image.
imageTypestringoptionalImage format. Default png.
pngjpgpagesstringoptionalPages to stamp, e.g. "1" or "1-2,4". Default "1".
xMmnumberrequiredX position of the image's top-left corner, mm from the page's top-left.
yMmnumberrequiredY position of the image's top-left corner, mm from the page's top-left.
widthMmnumberoptionalStamp width in millimetres. Default 40.
heightMmnumberoptionalStamp 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
