Document Tools
Marcacao de Comentarios PDF
Desenha caixas laterais, setas e realces estilo revisao
file· Resultado de arquivoAbrir ferramenta
Início rápido
Chame esta ferramenta a partir do seu código em três idiomas.
cURL
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/pdf-comment-markup' \
-H 'Content-Type: application/json' \
-d '{"filename":"inputPdf.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/pt/api/tools/pdf-comment-markup' \
-F 'inputPdf=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'markupsJson=[{"page":1,"kind":"highlight","x":14,"y":20,"w":45,"h":8,"text":"Need stronger source"},{"page":1,"kind":"comment","x":20,"y":38,"w":34,"h":9,"text":"Clarify this claim with data.","side":"right"}]' \
-F 'highlightOpacity=0.26' \
-F 'noteOpacity=0.95' \
-F 'noteWidthRatio=0.22'