Skip to main content

Retention and Dispositions

Set how long documents are kept with retention policies, see which documents wait for a disposition decision, and approve their destruction with a certificate.

Retention policies decide how long a document is kept after its trigger date (ingest or document date). Expiry never destroys anything: a document whose retention ends waits in the dispositions list, which is the preview of what a policy would destroy.

A disposition is destroyed only when a person approves it with the typed confirmation DESTROY. Legal holds are checked again right before; the document keeps a tombstone and a certificate is issued.

GET/v1/records/retention-policies

cURL

curl -X GET https://api.talonic.com/v1/records/retention-policies \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/records/retention-policies

cURL

curl -X POST https://api.talonic.com/v1/records/retention-policies \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "\u2026"}'
PATCH/v1/records/retention-policies/{id}

cURL

curl -X PATCH https://api.talonic.com/v1/records/retention-policies/$ID \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
DELETE/v1/records/retention-policies/{id}

cURL

curl -X DELETE https://api.talonic.com/v1/records/retention-policies/$ID \
  -H "Authorization: Bearer $TALONIC_API_KEY"
GET/v1/records/retention-assignments

cURL

curl -X GET https://api.talonic.com/v1/records/retention-assignments \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/records/retention-assignments

cURL

curl -X POST https://api.talonic.com/v1/records/retention-assignments \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"policy_id": "\u2026", "scope_type": "source_connection", "scope_id": "\u2026"}'
DELETE/v1/records/retention-assignments/{id}

cURL

curl -X DELETE https://api.talonic.com/v1/records/retention-assignments/$ID \
  -H "Authorization: Bearer $TALONIC_API_KEY"
GET/v1/records/dispositions

cURL

curl -X GET https://api.talonic.com/v1/records/dispositions \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/records/dispositions/{documentId}/approve

cURL

curl -X POST https://api.talonic.com/v1/records/dispositions/$DOCUMENTID/approve \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "X-Step-Up-Code: 123456" \
  -H "Content-Type: application/json" \
  -d '{"confirm": "DESTROY"}'
GET/v1/records/disposition-certificates

cURL

curl -X GET https://api.talonic.com/v1/records/disposition-certificates \
  -H "Authorization: Bearer $TALONIC_API_KEY"
Errors: 401 missing or invalid credential; 403 with a reason (insufficient_scope, insufficient_role, person_inactive, not_member, no_person, workspace_read_only, or STEP_UP_REQUIRED); 404 unknown id in this workspace; 429 rate limited (see Retry-After).