Response 201
{
"document": {
"id": "7d2c1f8e-3b4a-4c6d-9e1f-2a3b4c5d6e7f",
"template_id": "4b3a2c1d-0e9f-4a8b-9c7d-6e5f4a3b2c1d",
"template_slug": "consulting-agreement-dk",
"template_version": 3,
"template_version_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"locale": "da",
"title": "Konsulentaftale: Nordlys ApS",
"data": {
"client_name": "Nordlys ApS",
"consultant_name": "Anna Hansen",
"start_date": "2026-12-01"
},
"status": "draft",
"signing_order": "sequential",
"delivery_mode": "email",
"redirect_url": null,
"environment": "test",
"external_id": "deal_4821",
"external_customer_id": "cust_1093",
"metadata": {
"crm_owner": "team-north"
},
"rendered_sha256": null,
"expires_at": null,
"sent_for_signing_at": null,
"completed_at": null,
"cancelled_at": null,
"personal_data_erased_at": null,
"created_at": "2026-11-15T10:00:00.000Z",
"updated_at": "2026-11-15T10:00:00.000Z"
},
"template": {
"id": "4b3a2c1d-0e9f-4a8b-9c7d-6e5f4a3b2c1d",
"slug": "consulting-agreement-dk",
"version": 3,
"name_da": "Konsulentaftale",
"name_en": "Consulting agreement",
"signing_enabled": true
},
"fields": [
{
"key": "client_name",
"type": "text",
"label_da": "Kundens navn",
"label_en": "Client name",
"options": null,
"default_value": null,
"required": true,
"depends_on": null,
"min_value": null,
"max_value": null,
"max_field": null
}
],
"signers": [
{
"id": "0f9e8d7c-6b5a-4d3c-8b2a-1f0e9d8c7b6a",
"name": "Anna Hansen",
"email": "anna@example.dk",
"role": "Konsulent",
"sort": 0,
"status": "pending",
"signed_at": null,
"declined_at": null,
"decline_reason": null,
"signature_method": null,
"signature_typed_name": null,
"reminders_sent": 0,
"last_reminder_at": null,
"invited_at": null
}
],
"data_collection": {
"id": "3c2b1a0f-9e8d-4c7b-8a6f-5e4d3c2b1a0f",
"status": "pending",
"url": "https://legaldock.dk/fill/Vb8x2kQ...",
"locked_fields": [
"client_name"
],
"expires_at": "2026-11-22T10:00:00.000Z",
"first_opened_at": null,
"submitted_at": null,
"revoked_at": null,
"created_at": "2026-11-15T10:00:00.000Z"
}
}