---
title: "Create a retention policy"
method: POST
path: "/v1/records/retention-policies"
tags: ["Records"]
---

# Create a retention policy

`POST /v1/records/retention-policies`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/records/retention-policies`
- Auth: HTTP bearer

Creates a retention policy. Expiry never destroys anything: a document whose retention
ends is queued for a disposition decision (see `GET /v1/records/dispositions`).

Scope: `governance:write`. The person behind the credential needs the `data` permission
(Admins by default).

## Request body

- object
  - `name` string, required
  - `description` string
  - `duration_days` integer: How long a record is kept after its trigger date.
  - `event_trigger` 'ingest_date' | 'document_date'
  - `grace_period_days` integer
  - `disposition_action` 'review_then_destroy' | 'retain_indefinitely'

## Response `201`

Create a retention policy: done.

- union
  - object
  - unknown[]
    - unknown

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/records/retention-policies/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
