Upload signature document
Changed onUploads a PDF to sign, inline (filename ending in .pdf, base64 content, at most 25 MB and 500 pages, not password-protected) or from the media library (file). The response lists each page's size in points and the text anchors ({{signature:client}}) found in it, which fields can be placed by. Answers 422 invalid_document for a PDF that can't be read.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
A PDF inline (filename and base64 content) or from the media library (file).
Ends in .pdf
A PDF in the media library (file_...)
Response
Document uploaded
Bytes
Each page's size in PDF points (1/72 inch), as displayed: crop box and rotation applied
Text anchors such as {{signature:client}} found in the PDF, which fields can be placed by
Changes
- info
endpoint added
- info