Get document creation payload
Returns an editable body for POST /templates/{templateId}/documents with saved recipient IDs, example contacts, and sender-prefill fields/defaults. Replace example contacts and fill required values before submitting. Workflow is inherited unless overridden. Read-only; archived/incomplete templates may be inspected. Requires templates:read and workspace templates.use.
Returns an editable body for POST /templates/{templateId}/documents with saved recipient IDs, example contacts, and sender-prefill fields/defaults. Replace example contacts and fill required values before submitting. Workflow is inherited unless overridden. Read-only; archived/incomplete templates may be inspected. Requires templates:read and workspace templates.use.
Authorization
bearerAuth API key as Bearer token. Format: signsecure_xxxxxxxx...
In: header
Path Parameters
The template ID
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/templates/string/document-payload"{
"title": "string",
"recipientMapping": [
{
"templateRecipientId": "string",
"name": "string",
"email": "",
"phone": "+0000000000"
}
],
"workflow": {
"mode": "sequential",
"verificationMethod": "link_only",
"message": "string",
"redirectUrl": "https://app.example.com/signing-complete",
"emailNotifications": "all",
"whatsappNotifications": "all",
"estampConfig": {
"state": "CH",
"article": "string",
"amount": "string",
"considerationAmount": "string",
"payee": "first-party",
"hardcopy": "y",
"firstParty": {
"name": "string",
"email": "user@example.com",
"mobile": "string",
"address": "string"
},
"secondParty": {
"name": "string",
"email": "user@example.com",
"mobile": "string",
"address": "string"
},
"shipping": {
"name": "string",
"address": "string",
"city": "string",
"state": "string",
"pincode": "string",
"mobile": "string"
}
},
"estampEnabled": true
},
"prefillValues": [
{
"fieldId": "string",
"fieldKey": "string",
"value": "string"
}
]
}{
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key",
"requestId": "req_abc123",
"timestamp": "2026-03-11T10:30:00.000Z"
}{
"code": "FORBIDDEN",
"message": "API key is disabled",
"requestId": "req_abc123",
"timestamp": "2026-03-11T10:30:00.000Z"
}{
"code": "NOT_FOUND",
"message": "Template not found",
"requestId": "req_abc123",
"timestamp": "2026-03-11T10:30:00.000Z"
}