| Key | Type | Description |
|---|---|---|
| document.title | string | |
| document.description | string | |
| document.message_channel | enum: ['sms', 'email', 'push'] | The channel for sending a notification and reminders |
| document.recipients | integer[] | IDs of members that should receive the document - max. 1000 |
| document.confirmable | boolean | Is document meant to be confirmed by recipients? Default: false |
| document.public_access | boolean | Does document have public access Default: false Incompatible with confirmed document & recipient list |
| Key | Type | Description |
|---|---|---|
| document.deadline_at | datetime | Date until the document should be confirmed |
| document.first_reminder.days_before_deadline | integer | Number of days before the deadline the first reminder should be sent |
| document.second_reminder.days_before_deadline | integer | Number of days before the deadline the second reminder should be sent |
| Key | Type | Description |
|---|---|---|
| document | Document | See: Document model |
| Status | Description |
|---|---|
422 | Invalid parameters - see Invalid parameters errors model |
| Key | Error |
|---|---|
document.second_reminder | cannot_be_present_without_first_reminder |
document.second_reminder.days_before_deadline | cannot_be_before_first_reminder |
{
"document": {} // Document - see: 'Document model'
}