Create signature template
Changed onCreates a template: documents with fields for roles (client, company) instead of named signers. Only name is required, so it can start empty and be built later, also in the embedded builder (POST /sign/templates/{id}/builder_sessions). Fields go by position or anchor, resolved now. It is ready once it has documents and a signature field for every role.
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
documents, roles and fields each replace the whole list. Requests already made from the template keep their own copy.
Shown to signers. Default: the name
The PDFs, in order. Each is an uploaded document (document_id), a PDF inline (filename and base64 content, at most 25 MB and 500 pages), or a PDF in the media library (file). Inline and media-library PDFs become documents you can reuse.
Response
Template created
Has documents and a signature field for every role, so requests can be made from it
The public page where anyone can sign their own copy. Null while the link is off
Changes
- info
endpoint added
- info