---
title: "Generate Unsigned Subscription Terms"
method: POST
path: "/subscription-term/generate-unsigned"
tags: ["subscription-terms"]
---

# Generate Unsigned Subscription Terms

`POST /subscription-term/generate-unsigned`

## Request

- Base URL: `https://api.trytrata.com`
- URL: `https://api.trytrata.com/subscription-term/generate-unsigned`
- Auth: HTTP bearer

## Request body

- GenerateUnsignedSubscriptionTermsRequest
  - `subscription_term_id` string, uuid, required

## Response `200`

Successful Response

- GenerateUnsignedSubscriptionTermsResponse
  - `subscription_terms` SubscriptionTermsResponse, required
    - `subscription_term_id` string, uuid, required
    - `agreement_terms` AgreementTermDetails, required
      - `agreement_id` string, uuid, required
      - `agreement_slug` string, required
      - `documents` AgreementDocumentDetails[], required
        - `agreement_document_id` string, uuid, required
        - `full_text` string, required
        - `signatures` AgreementSignatureDetails[], nullable
          - `agreement_document_signature_id` string, uuid, required
          - `signed_at` string, date-time, required
      - `sign_completed` boolean, required
    - `pricing_summary` SubscriptionPricingSummary, required
      - `price_per_year_cents` integer, required
      - `trata_pays_total_cents` integer, required
      - `total_due_cents` integer, required
      - `credit_balance_cents` integer, required
    - `is_renewal` boolean
    - `effective_at` string, date-time, required
    - `is_open` boolean, required
  - `subscription_billing_details` SubscriptionBillingDetails, required
    - `name` string, required
    - `email` string, required

## Other responses

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

## Changes

- **2026-09-17** `5bfc21609fa6`: 1 breaking, 3 info
  - removed the required property `billing_details` from the response with the `200` status
  - added `#/components/schemas/SubscriptionTermsResponse` to the `subscription_terms` response property `anyOf` list for the response status `200`
  - removed `#/components/schemas/app__routers__models__subscriptions__SubscriptionTerms` from the `subscription_terms` response property `anyOf` list for the response status `200`
  - added the required property `subscription_billing_details` to the response with the `200` status

[Operation history](https://skmtc.dev/trytrata/apis/trytrata-api/changes/subscription-term/generate-unsigned/post.md)

---

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