Skip to main content

Reactivate Process

PUT /document/reactivate

This service allows you to reactivate a signing process that has been rejected or has expired. Upon reactivation, the system notifies pending signers and those who previously rejected, allowing them to continue with the process. If the process had an expired date, it is automatically recalculated based on the company configuration.

info

This service applies to processes that are in rejected or expired status. If the process was expired, the expiration date is automatically recalculated based on the company configuration.


Authentication

Include your private key in the Authorization header.

Authorization: prk_xxx...

Creation Parameters

NameTypeRequiredDescription
codestringConditionalCode of the document to reactivate. Required if package is not provided.
packagestringConditionalCode of the package to reactivate. Required if code is not provided.
emailstringRequiredEmail of the user performing the reactivation. Saved as a record of the action.
note

The code and package fields are mutually exclusive: you must send one and only one of the two.


🧪 Usage Examples

Reactivate a document

curl --location --request PUT 'https://dev.auco.ai/v1.5/ext/document/reactivate' \
--header 'Authorization: prk_private_key_company' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "DOCUMENTCODE",
"email": "manager@auco.ai"
}'

Reactivate a package

curl --location --request PUT 'https://dev.auco.ai/v1.5/ext/document/reactivate' \
--header 'Authorization: prk_private_key_company' \
--header 'Content-Type: application/json' \
--data-raw '{
"package": "PACKAGECODE",
"email": "manager@auco.ai"
}'

Response Examples

Successful response

{
"notifications": 2,
"users": ["Juan Pérez", "María García"]
}
FieldTypeDescription
notificationsnumberNumber of notifications sent to signers
usersArrayNames of the signers who received a notification

⚠️ Error Responses

CodeDescription
400Missing parameters, or some validations do not meet applicability conditions
401Invalid or missing authentication
404PROCESS_NOT_FOUND — Process not found