Add Document Certification
POST/documents/:documentId/certifications
Applies one or more certifications (digital signatures) to a document using one or more certificates. Target determines whether a presigned download is returned, a new version is created, or a new document is created. ; available as an Add-On Module
Request
Path Parameters
Document Identifier
Query Parameters
Site Identifier
- application/json
Body
required
Array [
]
Target for Document Certification
Possible values: [DOWNLOAD]
certificates
object[]
required
One or more certificates used to certify/sign the document (in order).
Possible values: >= 1
Certificate alias.
Document Certification Source Type
Possible values: [AWS_SECRETS_MANAGER]
awsSecretsManager
object
AWS Secrets Manager - Certificate ARN
AWS Secrets Manager - Certificate password ARN
Responses
- 201
- 400
201 CREATED
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Document identifier (NEW_VERSION / NEW_DOCUMENT).
Presigned download URL (DOWNLOAD).
{
"documentId": "string",
"url": "string"
}
400 BAD REQUEST
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
List of errors
Error Key
Error Message
{
"errors": [
{
"key": "string",
"error": "string"
}
]
}