Skip to content

Cancel Ingestion

POST {{base_url}}/v1/documents/envelopes/{{ingest_token}}/cancel

Cancels and marks as cancelled a batch ingestion process that is still in progress (ingesting or assembling). If the envelope has already reached a terminal state, the operation will be rejected.


ParameterTypeDescriptionLimits
Authorization*stringBearer authentication token.Required (Bearer <token>)

ParameterTypeDescriptionLimits
ingest_token*string (UUID)The identifier token of the ingestion batch to cancel.Required

The request was processed successfully and the batch status has changed to cancelled immediately. It returns no response body (empty body).


Código Estado Descripción
401 Unauthorized The authentication token is invalid, expired, or was not sent.
404 Not Found The provided ingest_token does not exist or does not belong to the active organization.
409 Conflict The ingestion batch is already in a terminal state (ready, failed, or cancelled) and cannot be aborted.