Signature Requests

Create signature request

Changed on

Asks one or more signers to sign one or more PDFs, and sends it at once unless send is false. Give each document by id (document_id, from POST /sign/documents), inline (filename and base64 content), or from the media library (file). Place each signer's fields by position (page from 1, x, y, width, height in PDF points from the page's top-left corner, as displayed) or by text anchor such as {{signature:client}}, which covers every occurrence. Every signer needs a signature field. Email signers get their link when it is their turn (signing_order); embedded signers sign in your app through POST /sign/requests/{id}/signers/{signer_id}/sessions. Answers 422 with invalid_fields (a field off its page, an unknown anchor), invalid_signers (an email listed twice), invalid_expiry, invalid_document or not_found (a document_id not in this account). Send an Idempotency-Key to retry safely.

post/sign/requests

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Headers

Idempotency-Key, string

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

SignatureRequestCreateRequest required
title, string

Shown to signers. Defaults to the first document's filename

message, string nullable

A note shown in the email and on the signing page

signing_order, 'parallel' | 'sequential'
expires_at, string date-time nullable

When unsigned requests expire, at most 365 days ahead

metadata, object

Your own strings, echoed on the request and its webhooks

reminder_interval_days, integer nullable

Email signers whose turn it is every this many days, up to 3 times. Default: the signature settings' value; null turns reminders off

contact, string nullable

Contact ID (con_...) the request is with

deal, string nullable

Deal ID (deal_...) the request belongs to

documents, object[] required

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.

signers, object[] required

Who signs, each with their own fields. Every signer needs at least one signature field.

send, boolean

false keeps it a draft to send later

Response

Signature request created

SignatureRequest required
id, string required
object, string required
status, 'draft' | 'sent' | 'completed' | 'declined' | 'canceled' | 'expired' required
title, string required
message, string nullable required
signing_order, 'parallel' | 'sequential' required
source, 'dashboard' | 'api' | 'template' | 'template_link' | 'agent' required
reminder_interval_days, integer nullable required
expires_at, string date-time nullable required
expired_at, string date-time nullable required
sent_at, string date-time nullable required
completed_at, string date-time nullable required
canceled_at, string date-time nullable required
declined_at, string date-time nullable required
created_at, string date-time required
documents, object[] required
signers, Signer[] required
fields, SignatureField[] required

Where each signer fills in or signs. Filled values are never returned; they are only in the sealed PDF

metadata, object required
signed_document, object nullable required

Null until the sealed PDF is ready, shortly after completed_at. Download it from GET /signature_requests/{id}/signed_document

template, union

ID by default, full object when expanded

contact, union

ID by default, full object when expanded

deal, union

ID by default, full object when expanded

Changes