---
title: "Create a document"
method: POST
path: "/signing/{connection_id}/document"
tags: ["signing", "document"]
---

# Create a document

`POST /signing/{connection_id}/document`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/signing/{connection_id}/document`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- SigningDocument
  - `id` string: Unique identifier for this signing document
  - `created_at` string, date-time: The date that this signing document was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: The last date that this signing document was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string: Document/envelope title
  - `description` string: Message to signers
  - `status` 'DRAFT' | 'SENT' | 'DELIVERED' | 'IN_PROGRESS' | 'COMPLETED' | 'DECLINED' | 'VOIDED' | 'EXPIRED': Current status of the signing document
  - `sent_at` string, date-time: When sent for signature (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `completed_at` string, date-time: When all signatures were collected (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `expires_at` string, date-time: Signing deadline (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `template_id` string: If created from a template; points to SigningTemplate
  - `download_url` string: URL to download the signed document
  - `creator_id` string: User who created the signing document
  - `raw` unknown
  - `metadata` SigningMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown

## Response `200`

Successful

- SigningDocument
  - `id` string: Unique identifier for this signing document
  - `created_at` string, date-time: The date that this signing document was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: The last date that this signing document was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string: Document/envelope title
  - `description` string: Message to signers
  - `status` 'DRAFT' | 'SENT' | 'DELIVERED' | 'IN_PROGRESS' | 'COMPLETED' | 'DECLINED' | 'VOIDED' | 'EXPIRED': Current status of the signing document
  - `sent_at` string, date-time: When sent for signature (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `completed_at` string, date-time: When all signatures were collected (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `expires_at` string, date-time: Signing deadline (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `template_id` string: If created from a template; points to SigningTemplate
  - `download_url` string: URL to download the signed document
  - `creator_id` string: User who created the signing document
  - `raw` unknown
  - `metadata` SigningMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
