DocuSign icon

DocuSign

Interact with the DocuSign eSignature REST API v2.1 — complete enterprise coverage

Actions341

Template Lock → Create

AI-generated

Summary

Create a lock on a specified DocuSign template to prevent concurrent edits by other applications.

Inputs

  • Authentication (required) — Choose the authentication method: OAuth2 or JWT (Service Integration).
  • Category (required) — Select the API category to work with, defaulting to 'envelopes'.
  • Account ID (required) — The DocuSign Account ID (GUID) found in DocuSign Admin under API and Keys.
  • Template ID (required) — The ID (GUID) of the template on which to create a lock.
  • Lock Duration (Seconds) — Duration in seconds to hold the lock, from 1 to 86400 seconds (default 300 seconds).
  • Lock Type (required) — Type of lock to apply; currently only 'edit' is available.
  • Locked By App (required) — Identifier string for the application that holds the lock, default 'n8n'.
  • Use Scratch Pad — Indicate whether to use a scratch pad for editing; 'true' or 'false'.
  • Template Password — Password for the template if it is password-protected.

Output shape

a single record containing the created template lock details as returned by the DocuSign API.

The API returns details of the lock created, including lock type, duration, and application identifier. Errors are thrown for invalid inputs or authentication failure.

Links

Discussion