Signature Templates

Create request from template

Changed on

Makes a signature request from a ready template, with exactly one signer per role, and sends it unless send is false. merge_fields fills the template's merge_key text fields, shown to signers read-only. The request keeps its own copy of the fields. Answers 422 template_incomplete, invalid_signers (a role with no signer or two) or invalid_fields (an unknown merge field). Send an Idempotency-Key to retry safely.

post/sign/templates/{id}/requests

Request

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

Path parameters

id, string required

The resource's ID, as returned in its id field

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

SignatureTemplateRequestsRequest required
title, string

Default: the template's title, else its name

message, string nullable

Default: the template's

signing_order, 'parallel' | 'sequential'

Default: the template's

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

signers, object[] required

Exactly one per role. Fields come from the template.

merge_fields, object

Values for the template's merge_key text fields

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