Document Package
For each document package state, a request is generated with the following body, varying in the description of the status.
Notified States
| Name | Description |
|---|---|
| CREATE | This state is notified when a document package is created. |
| SIGNED_PACKAGE | This state is notified when all parties have signed the document package. |
| DOCUMENT_REJECT | This state is notified when one of the documents in the package has been rejected. |
🧪 Notification Examples
tip
You can copy any of the examples according to your preferred language.
Notification Parameters
| Name | Type | Description |
|---|---|---|
package | String | Document code. |
name | String | Document name. |
status | String | Current status of the signing process (e.g., SIGNED, REJECTED, BLOCKED, etc.) |
documents | String | List of documents that are part of the package. |
documents.url | String | Document URL. |
documents.code | String | Document code |
documents.name | Array | Document name. |
Process Creation
- JSON
{
"package": "idPAckage", //Identificador del paquete
"name": "Documentos de prueba del API", //Nombre del paquete de documentos
"status": "CREATE", //Estado del paquete de documentos
"documents": [
{
"code": "DOCUMENTCODE",
"name": "Documento de prueba 1",
"url": "https://test.auco.ai/contrato-de-prueba1.pdf"
},
{
"code": "DOCUMENTCODE",
"name": "Documento de prueba 2",
"url": "https://test.auco.ai/contrato-de-prueba2.pdf"
}
]
}
Process Completion
- JSON
{
"package": "idPAckage",
"name": "Documentos de prueba del API",
"status": "FINISH",
"documents": [
{
"code": "DOCUMENTCODE",
"name": "Documento de prueba 1",
"url": "https://test.auco.ai/contrato-de-prueba1.pdf"
},
{
"code": "DOCUMENTCODE",
"name": "Documento de prueba 2",
"url": "https://test.auco.ai/contrato-de-prueba2.pdf"
}
]
}