---
title: "Set Custom Agreement Templates"
method: PUT
path: "/admin/subscriptions/terms/{subscription_term_id}/custom-templates"
tags: ["admin", "subscriptions"]
---

# Set Custom Agreement Templates

`PUT /admin/subscriptions/terms/{subscription_term_id}/custom-templates`

## Path parameters

- `subscription_term_id` string, uuid, required

## Request body

- SetCustomAgreementTemplatesRequest
  - `subscription_agreement_pdf_bytes` string, binary, nullable
  - `r_and_d_pdf_bytes` string, binary, nullable
  - `clear_subscription_template` boolean
  - `clear_r_and_d_template` boolean

## Response `200`

Successful Response

- CustomAgreementTemplatesResponse
  - `custom_subscription_template_s3_key` string, nullable, required
  - `custom_r_and_d_template_s3_key` string, nullable, required

## Other responses

- `404` — Not found
- `422` — Validation Error

---

[API](https://skmtc.dev/trytrata/apis/fastapi.md) · [All operations](https://skmtc.dev/trytrata/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trytrata/fastapi/revisions/a8ae8846c411/schema)
