Create a document

POST/signing/{connection_id}/document

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection

Payload

idstring
Unique identifier for this signing document
created_atdate
The date that this signing document was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this signing document was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
Document/envelope title
descriptionstring
Message to signers
status enum
Valid values:
"DRAFT"
"SENT"
"DELIVERED"
"IN_PROGRESS"
"COMPLETED"
Current status of the signing document
sent_atdate
When sent for signature (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
completed_atdate
When all signatures were collected (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
expires_atdate
Signing deadline (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
template_idstring
If created from a template; points to SigningTemplate
download_urlstring
URL to download the signed document
creator_idstring
User who created the signing document

Returns

idstring
Unique identifier for this signing document
created_atdate
The date that this signing document was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this signing document was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
Document/envelope title
descriptionstring
Message to signers
status enum
Valid values:
"DRAFT"
"SENT"
"DELIVERED"
"IN_PROGRESS"
"COMPLETED"
Current status of the signing document
sent_atdate
When sent for signature (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
completed_atdate
When all signatures were collected (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
expires_atdate
Signing deadline (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
template_idstring
If created from a template; points to SigningTemplate
download_urlstring
URL to download the signed document
creator_idstring
User who created the signing document
const options = {
  method: 'POST',
  url: 'https://api.unified.to/signing/5de520f96e439b002043d8dc/document',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?