---
title: "View contract template and status"
method: GET
path: "/api/v1/rentals/{rentalId}/contract"
tags: ["Contracts"]
---

# View contract template and status

`GET /api/v1/rentals/{rentalId}/contract`

## Request

- Base URL: `http://localhost:3002`
- URL: `http://localhost:3002/api/v1/rentals/{rentalId}/contract`
- Auth: HTTP bearer

Returns the contract template content and current signing status for the rental. Requires authentication; accessible only to the rental's operator (its owning captain or boat owner).

## Path parameters

- `rentalId` string, required

## Response `200`

Contract template and status

- object
  - `data` object
    - `template` ContractTemplate
      - `id` string, required
      - `boatOwnerId` string, required
      - `name` string, required
      - `content` string, required
      - `version` integer, required
      - `isActive` boolean, required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
    - `signed` boolean
    - `signedAt` string, date-time, nullable

## Other responses

- `401`: Authentication required
- `404`: Rental or contract not found

---

[API](https://skmtc.dev/chartercaptain/apis/charter-captain-api.md) · [All operations](https://skmtc.dev/chartercaptain/apis/charter-captain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chartercaptain/apis/charter-captain-api/revisions/1ffea1113adb?raw)
