Skip to main content

Document Package

For each document package state, a request is generated with the following body, varying in the description of the status.


Notified States

NameDescription
CREATEThis state is notified when a document package is created.
SIGNED_PACKAGEThis state is notified when all parties have signed the document package.
DOCUMENT_REJECTThis 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

NameTypeDescription
packageStringDocument code.
nameStringDocument name.
statusStringCurrent status of the signing process (e.g., SIGNED, REJECTED, BLOCKED, etc.)
documentsStringList of documents that are part of the package.
documents.urlStringDocument URL.
documents.codeStringDocument code
documents.nameArrayDocument name.

Process Creation

{
"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

{
"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"
}
]
}