---
title: "Create waiver template"
method: POST
path: "/api/v1/waivers/templates"
tags: ["Waivers"]
---

# Create waiver template

`POST /api/v1/waivers/templates`

## Request

- Base URL: `http://localhost:3002`
- URL: `http://localhost:3002/api/v1/waivers/templates`
- Auth: HTTP bearer

Creates a new waiver template for the authenticated boat owner.

## Request body

- object
  - `name` string, required
  - `content` string, required

## Response `201`

Waiver template created

- object
  - `data` WaiverTemplate
    - `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

## Other responses

- `400`: Validation error
- `401`: Unauthorized

---

[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)
